This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (target.state == 3 || target.state == 4 || target.state == 7){ | |
var opened = new GlideDateTime(target.opened_at); | |
var end = opened.addDaysUTC(5); | |
answer = DataGeneratorUtils.generateRandomDate( opened, end); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var RESTRequestHelper = Class.create(); | |
RESTRequestHelper.prototype = { | |
initialize: function() { | |
}, | |
type: 'RESTRequestHelper' | |
}; | |
RESTRequestHelper.getRequestStreamString = function(requestBody){ | |
var sb = ''+ GlideStringUtil.getStringFromStream(requestBody.dataStream); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
multicast-relay: | |
container_name: multicast-relay | |
image: kidhasmoxy/multicast-relay | |
hostname: mdnsrelay | |
networks: | |
iot_network: | |
# ipv4_address: 192.168.20.240 # Not needed if you use a tight ipam | |
lan_network: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Frigate Notification (0.10.0) with Actions | |
description: | | |
## Frigate Mobile App Notification | |
This blueprint will send a notification to your device when a Frigate event for the selected camera is fired. The notification will initially include the thumbnail of the detection, but include an actionable notification allowing you to view the clip and snapshot. | |
With this blueprint, you may send the notification to multiple devices by leaving "Device" blank and instead use a [notification group][1]. | |
### Software Version Requirements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Yet Another Motion Automation | |
description: > | |
# YAMA V10 | |
Turn on lights or scenes when motion is detected. | |
Four different scenes can be defined depending on time of day. | |