Example for node 'node-red-contrib-xiaomi-smart-home'.
To display all readings switch on message comple object.
-
-
Save mafof/a35d538fcb9be04fcc2f2fcfc88ed9b3 to your computer and use it in GitHub Desktop.
Example for node 'node-red-contrib-xiaomi-smart-home'
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":"a32564c8.dc8178","type":"xiaomi-smart-home","z":"1f0ae976.4366b7","name":"You name","password":"you password","gateway":true,"switch":true,"cube":true,"sensor_ht":true,"motion":true,"magnet":true,"x":332,"y":163,"wires":[["2b7de8a0.f9ca78"]]},{"id":"cb828470.49b748","type":"inject","z":"1f0ae976.4366b7","name":"","topic":"","payload":"{\"model\": \"gateway\", \"sid\": \"you sid\", \"command\": \"rgb\", \"value\": you value, example: 4286578816}","payloadType":"json","repeat":"","crontab":"","once":false,"x":139,"y":164,"wires":[["a32564c8.dc8178"]]},{"id":"2b7de8a0.f9ca78","type":"debug","z":"1f0ae976.4366b7","name":"","active":true,"console":"false","complete":"true","x":514,"y":161,"wires":[]},{"id":"4b425504.d7d7cc","type":"comment","z":"1f0ae976.4366b7","name":"to display all readings switch on message comple object","info":"","x":487,"y":105,"wires":[]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment