...
Code Block |
---|
{ "accessory": "mqttthing", "type": "switch", "name": "sonoffikea-occupancyonoff", "url": "http://192.168.1.50:1883", "topics": { "getOn": { "topic": "tele/zigbee/SENSOR", "apply": "return JSON.parse(message).ZbReceived['0x0321'].Power;" } }, "integerValue": "true" }, |
...