Smartthings Switch On and Off issue

The Query inject works just fine and is configured:
Query

However I am unable to turn on or turn off the switch. On inject:
On

Front Window On/Off node is configured:
Front Window Node

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.

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
image

Thank you both very much! Works perfect!!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.