otaviojr / node-red-contrib-smartthings

Allows you to control your devices and get their status using NodeRed
MIT License
32 stars 16 forks source link

mqtt problem #28

Closed stofakiller closed 4 years ago

stofakiller commented 4 years ago

Hi,

Just got the hole thing to work... I think. I got my devices

BUT, i have set up an onoff switch with an inject node, but cant switch it with payload "switch", i can get a status when i use topic "update"...

No mater what i do in smartthings or google, switch on or off. My mqtt always says 1 (on)

deviceId: "9840f6a2-f194-4b6b-a1a0-96fb0cc9f4b4" deviceType: "switch" name: "Tv" value: 1

Can someone provide me an example to import in my nodered?

Regards Jan

stofakiller commented 4 years ago

Updated nodejs and used the correct URL