[{"id":"eae0672e.14ad28","type":"tab","label":"Switches","disabled":false,"info":""},{"id":"7d1b3eaa.2492a","type":"switch","z":"eae0672e.14ad28","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"OFF","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":470,"y":120,"wires":[["832d9499.e8b088"]]},{"id":"fb213706.abe6b8","type":"mqtt in","z":"eae0672e.14ad28","name":"Main light","topic":"switch-1/stat/POWER","qos":"1","datatype":"auto","broker":"c1374cde.87a82","x":60,"y":120,"wires":[["7d1b3eaa.2492a"]]},{"id":"c694836a.36333","type":"mqtt in","z":"eae0672e.14ad28","name":"motionHK","topic":"zigbee2mqtt/0x680ae2fffe36ddc8","qos":"0","datatype":"json","broker":"c1374cde.87a82","x":60,"y":180,"wires":[["552dbd0e.09aba4"]]},{"id":"552dbd0e.09aba4","type":"change","z":"eae0672e.14ad28","name":"","rules":[{"t":"move","p":"payload.occupancy","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":270,"y":180,"wires":[["89522436.4d5508","9bd15be2.da99d8"]]},{"id":"89522436.4d5508","type":"switch","z":"eae0672e.14ad28","name":"","property":"payload","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":180,"wires":[["3ced05c1.e8f8ba"],["4b66b3fe.682afc"]]},{"id":"3ced05c1.e8f8ba","type":"change","z":"eae0672e.14ad28","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"ON","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":160,"wires":[["832d9499.e8b088"]]},{"id":"4b66b3fe.682afc","type":"change","z":"eae0672e.14ad28","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"OFF","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":200,"wires":[["d253db4b.de5968"]]},{"id":"d253db4b.de5968","type":"trigger","z":"eae0672e.14ad28","op1":"","op2":"OFF","op1type":"nul","op2type":"str","duration":"2","extend":false,"units":"min","reset":"ON","bytopic":"all","name":"","x":850,"y":220,"wires":[["1dcbc70a.dffa59","832d9499.e8b088","9bd15be2.da99d8"]]},{"id":"1dcbc70a.dffa59","type":"mqtt out","z":"eae0672e.14ad28","name":"","topic":"switch-1/cmnd/POWER","qos":"","retain":"","broker":"c1374cde.87a82","x":930,"y":160,"wires":[]},{"id":"832d9499.e8b088","type":"mqtt out","z":"eae0672e.14ad28","name":"Ledstrip Hobbykamer","topic":"switch_1/cmnd/POWER","qos":"2","retain":"true","broker":"c1374cde.87a82","x":920,"y":300,"wires":[]},{"id":"9bd15be2.da99d8","type":"debug","z":"eae0672e.14ad28","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":610,"y":280,"wires":[]},{"id":"c1374cde.87a82","type":"mqtt-broker","z":"","name":"Hassio","broker":"192.168.2.23","port":"1883","clientid":"Admin","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]