Doug
4 August 2020 00:13
1
The Query inject works just fine and is configured:
However I am unable to turn on or turn off the switch. On inject:
Front Window On/Off node is configured:
The Smartthings On/Off node info and help:
The Smarthings switch works fine, I can turn it on and off with its app, and my Query in node red sees the state change.
Any help would be greatly appreciated.
Thank you.
Colin
4 August 2020 08:18
2
The instructions say that you need to set the payload to an object containing {value: 1}
not just the the number 1. To do that in the inject node set the type to {} JSON
and the content to {"value": 1}
or with Node-RED 1.1.x you can just set inject to msg.payload.value to 1
Doug
4 August 2020 13:08
4
Thank you both very much! Works perfect!!
system
Closed
3 October 2020 13:08
5
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.