I am using the following nodes...
https://github.com/vinodsr/node-red-contrib-tuya-smart-device
And I can't seem to get a 'GET' query to work, the way I read the TUYA API the following should work...
msg.payload={
get: {}
dps:1
}
The following works for a 'SET' command...
msg.payload={
set: true
dps:1
}
Since the nodes available can't see to query the state of the Smart IoT device, but 'GET' command is referenced, with no example of GET use at all unfortunately, just a link to the TUYA API, which just says a GET query with empty options '{}' should return all the information available for the device in question.