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
[ | |
{ | |
"id": "432f18bb.11b3f8", | |
"type": "tab", | |
"label": "Webcam Indicator", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "87efff23.5c6a38", | |
"type": "api-call-service", | |
"z": "432f18bb.11b3f8", | |
"name": "Tyrel Office Light On", | |
"server": "666f1a2d.fa87d4", | |
"version": 1, | |
"debugenabled": false, | |
"service_domain": "switch", | |
"service": "turn_on", | |
"entityId": "switch.tyrel_office_light", | |
"data": "", | |
"dataType": "jsonata", | |
"mergecontext": "", | |
"output_location": "", | |
"output_location_type": "none", | |
"mustacheAltTags": false, | |
"x": 680, | |
"y": 420, | |
"wires": [ | |
[ | |
"dceea6ad.5117d8" | |
] | |
] | |
}, | |
{ | |
"id": "ae2602d2.09cca8", | |
"type": "mqtt out", | |
"z": "432f18bb.11b3f8", | |
"name": "", | |
"topic": "pimoroni/blinkt", | |
"qos": "", | |
"retain": "", | |
"broker": "5fc3a291.ccd3d4", | |
"x": 1200, | |
"y": 520, | |
"wires": [] | |
}, | |
{ | |
"id": "bcd0626.733f82", | |
"type": "inject", | |
"z": "432f18bb.11b3f8", | |
"name": "Toggle", | |
"props": [ | |
{ | |
"p": "topic", | |
"vt": "str" | |
} | |
], | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "pimoroni/blinkt", | |
"x": 410, | |
"y": 560, | |
"wires": [ | |
[ | |
"6127f7fe.94a0b8" | |
] | |
] | |
}, | |
{ | |
"id": "dceea6ad.5117d8", | |
"type": "template", | |
"z": "432f18bb.11b3f8", | |
"name": "blinkt all Red", | |
"field": "payload", | |
"fieldType": "msg", | |
"format": "handlebars", | |
"syntax": "plain", | |
"template": "rgb,0,255,0,0\nrgb,1,255,0,0\nrgb,2,255,0,0\nrgb,3,255,0,0\nrgb,4,255,0,0\nrgb,5,255,0,0\nrgb,6,255,0,0\nrgb,7,255,0,0", | |
"output": "str", | |
"x": 930, | |
"y": 420, | |
"wires": [ | |
[ | |
"ddc6363d.f759d" | |
] | |
] | |
}, | |
{ | |
"id": "59e8dffe.5d1f9", | |
"type": "template", | |
"z": "432f18bb.11b3f8", | |
"name": "blinkt all Off", | |
"field": "payload", | |
"fieldType": "msg", | |
"format": "handlebars", | |
"syntax": "plain", | |
"template": "rgb,0,0,0,0\nrgb,1,0,0,0\nrgb,2,0,0,0\nrgb,3,0,0,0\nrgb,4,0,0,0\nrgb,5,0,0,0\nrgb,6,0,0,0\nrgb,7,0,0,0", | |
"output": "str", | |
"x": 930, | |
"y": 581, | |
"wires": [ | |
[ | |
"ddc6363d.f759d" | |
] | |
] | |
}, | |
{ | |
"id": "ddc6363d.f759d", | |
"type": "split", | |
"z": "432f18bb.11b3f8", | |
"name": "", | |
"splt": "\\n", | |
"spltType": "str", | |
"arraySplt": 1, | |
"arraySpltType": "len", | |
"stream": false, | |
"addname": "payload", | |
"x": 1170, | |
"y": 480, | |
"wires": [ | |
[ | |
"ae2602d2.09cca8" | |
] | |
] | |
}, | |
{ | |
"id": "2aa676fa.66a41a", | |
"type": "inject", | |
"z": "432f18bb.11b3f8", | |
"name": "Toggle", | |
"props": [ | |
{ | |
"p": "topic", | |
"vt": "str" | |
} | |
], | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "pimoroni/blinkt", | |
"x": 670, | |
"y": 360, | |
"wires": [ | |
[ | |
"dceea6ad.5117d8" | |
] | |
] | |
}, | |
{ | |
"id": "b6fe6856.cbb588", | |
"type": "template", | |
"z": "432f18bb.11b3f8", | |
"name": "blinkt all Green", | |
"field": "payload", | |
"fieldType": "msg", | |
"format": "handlebars", | |
"syntax": "plain", | |
"template": "rgb,0,0,255,0\nrgb,1,0,255,0\nrgb,2,0,255,0\nrgb,3,0,255,0\nrgb,4,0,255,0\nrgb,5,0,255,0\nrgb,6,0,255,0\nrgb,7,0,255,0", | |
"output": "str", | |
"x": 940, | |
"y": 521, | |
"wires": [ | |
[ | |
"ddc6363d.f759d" | |
] | |
] | |
}, | |
{ | |
"id": "6127f7fe.94a0b8", | |
"type": "time-range-switch", | |
"z": "432f18bb.11b3f8", | |
"name": "Office Hours", | |
"lat": "", | |
"lon": "", | |
"startTime": "9:00", | |
"endTime": "17:00", | |
"startOffset": 0, | |
"endOffset": 0, | |
"x": 650, | |
"y": 560, | |
"wires": [ | |
[ | |
"b6fe6856.cbb588" | |
], | |
[ | |
"59e8dffe.5d1f9" | |
] | |
] | |
}, | |
{ | |
"id": "c63e27fc.16ec08", | |
"type": "inject", | |
"z": "432f18bb.11b3f8", | |
"name": "", | |
"props": [ | |
{ | |
"p": "topic", | |
"vt": "str" | |
} | |
], | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "pimoroni/blinkt", | |
"x": 940, | |
"y": 621, | |
"wires": [ | |
[ | |
"59e8dffe.5d1f9" | |
] | |
] | |
}, | |
{ | |
"id": "c85f61fa.c169c8", | |
"type": "inject", | |
"z": "432f18bb.11b3f8", | |
"name": "", | |
"props": [ | |
{ | |
"p": "topic", | |
"vt": "str" | |
} | |
], | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "pimoroni/blinkt", | |
"x": 940, | |
"y": 481, | |
"wires": [ | |
[ | |
"b6fe6856.cbb588" | |
] | |
] | |
}, | |
{ | |
"id": "7dbb11ae.a10c88", | |
"type": "inject", | |
"z": "432f18bb.11b3f8", | |
"name": "Turn Off at 5pm", | |
"props": [ | |
{ | |
"p": "topic", | |
"vt": "str" | |
} | |
], | |
"repeat": "", | |
"crontab": "01 17 * * 1,2,3,4,5", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "pimoroni/blinkt", | |
"x": 440, | |
"y": 600, | |
"wires": [ | |
[ | |
"6127f7fe.94a0b8" | |
] | |
] | |
}, | |
{ | |
"id": "2e1859b3.5e601e", | |
"type": "inject", | |
"z": "432f18bb.11b3f8", | |
"name": "Turn On at 9am", | |
"props": [ | |
{ | |
"p": "topic", | |
"vt": "str" | |
} | |
], | |
"repeat": "", | |
"crontab": "00 09 * * 1,2,3,4,5", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "pimoroni/blinkt", | |
"x": 440, | |
"y": 520, | |
"wires": [ | |
[ | |
"6127f7fe.94a0b8" | |
] | |
] | |
}, | |
{ | |
"id": "a44b2e6c.f9677", | |
"type": "inject", | |
"z": "432f18bb.11b3f8", | |
"name": "Turn On DemoCooler", | |
"props": [ | |
{ | |
"p": "topic", | |
"vt": "str" | |
} | |
], | |
"repeat": "", | |
"crontab": "58 01 * * 5", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "pimoroni/blinkt", | |
"x": 620, | |
"y": 320, | |
"wires": [ | |
[ | |
"dceea6ad.5117d8" | |
] | |
] | |
}, | |
{ | |
"id": "5ef3e289.2c9804", | |
"type": "inject", | |
"z": "432f18bb.11b3f8", | |
"name": "Turn On Watercooler", | |
"props": [ | |
{ | |
"p": "topic", | |
"vt": "str" | |
} | |
], | |
"repeat": "", | |
"crontab": "55 12 * * 1,2,3,4", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "pimoroni/blinkt", | |
"x": 620, | |
"y": 280, | |
"wires": [ | |
[ | |
"dceea6ad.5117d8" | |
] | |
] | |
}, | |
{ | |
"id": "2774a663.a43772", | |
"type": "server-state-changed", | |
"z": "432f18bb.11b3f8", | |
"name": "Tyrel in Zoom Meeting", | |
"server": "666f1a2d.fa87d4", | |
"version": 1, | |
"exposeToHomeAssistant": false, | |
"haConfig": [ | |
{ | |
"property": "name", | |
"value": "" | |
}, | |
{ | |
"property": "icon", | |
"value": "" | |
} | |
], | |
"entityidfilter": "binary_sensor.zoom_tyrel", | |
"entityidfiltertype": "exact", | |
"outputinitially": false, | |
"state_type": "habool", | |
"haltifstate": "true", | |
"halt_if_type": "bool", | |
"halt_if_compare": "is", | |
"outputs": 2, | |
"output_only_on_state_change": true, | |
"for": "3", | |
"forType": "num", | |
"forUnits": "seconds", | |
"ignorePrevStateNull": false, | |
"ignorePrevStateUnknown": false, | |
"ignorePrevStateUnavailable": false, | |
"ignoreCurrentStateUnknown": false, | |
"ignoreCurrentStateUnavailable": false, | |
"x": 300, | |
"y": 360, | |
"wires": [ | |
[ | |
"87efff23.5c6a38" | |
], | |
[ | |
"6127f7fe.94a0b8" | |
] | |
] | |
}, | |
{ | |
"id": "9d944841.504148", | |
"type": "server-state-changed", | |
"z": "432f18bb.11b3f8", | |
"name": "Tyrel Macbook Webcam", | |
"server": "666f1a2d.fa87d4", | |
"version": 1, | |
"exposeToHomeAssistant": false, | |
"haConfig": [ | |
{ | |
"property": "name", | |
"value": "" | |
}, | |
{ | |
"property": "icon", | |
"value": "" | |
} | |
], | |
"entityidfilter": "sensor.tyrel_tidelift_active_camera", | |
"entityidfiltertype": "exact", | |
"outputinitially": false, | |
"state_type": "str", | |
"haltifstate": "Inactive", | |
"halt_if_type": "str", | |
"halt_if_compare": "is_not", | |
"outputs": 2, | |
"output_only_on_state_change": true, | |
"for": "3", | |
"forType": "num", | |
"forUnits": "seconds", | |
"ignorePrevStateNull": false, | |
"ignorePrevStateUnknown": false, | |
"ignorePrevStateUnavailable": false, | |
"ignoreCurrentStateUnknown": false, | |
"ignoreCurrentStateUnavailable": false, | |
"x": 300, | |
"y": 420, | |
"wires": [ | |
[ | |
"87efff23.5c6a38" | |
], | |
[ | |
"6127f7fe.94a0b8" | |
] | |
] | |
}, | |
{ | |
"id": "666f1a2d.fa87d4", | |
"type": "server", | |
"name": "Home Assistant", | |
"addon": true | |
}, | |
{ | |
"id": "5fc3a291.ccd3d4", | |
"type": "mqtt-broker", | |
"name": "Mosquitto", | |
"broker": "192.168.1.175", | |
"port": "1883", | |
"clientid": "", | |
"usetls": false, | |
"compatmode": false, | |
"keepalive": "60", | |
"cleansession": true, | |
"birthTopic": "", | |
"birthQos": "0", | |
"birthPayload": "", | |
"closeTopic": "", | |
"closeQos": "0", | |
"closePayload": "", | |
"willTopic": "", | |
"willQos": "0", | |
"willPayload": "" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment