Shelly & API Flow etc

Good day everyone

So if someone can help me with Shelly API etc.

In POSTMAN I can get my results when I follow the SHELLY API Instructions.

How can I translate that into NODERED FLOW.

Where do I put the values?

See the cookbook in the documentation, shows how to set the header and post body.

I use the Shelly local MQTT capabilities rather than Shelly cloud.


Unfortunately I have to use the cloud.

I just need a place to put in the AUTH KEY & DEVICE ID to get the status of the device?

I dont know if i am missing something here, but you can access the state of the shell device using node-red-contrib-shelly


[{"id":"53d5e208.3502ac","type":"shelly-switch","z":"5e6c8b.7f38b374","hostname":"","description":"","x":342,"y":608,"wires":[["9d407f28.db5ad"]]},{"id":"d4c4c1dd.3a07c","type":"inject","z":"5e6c8b.7f38b374","name":"turn on","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{ \"relay\" : 0, \"on\" : true }","payloadType":"json","x":98,"y":544,"wires":[["53d5e208.3502ac"]]},{"id":"22373c66.a0eb74","type":"inject","z":"5e6c8b.7f38b374","name":"turn off","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{ \"relay\" : 0, \"on\" : false }","payloadType":"json","x":98,"y":576,"wires":[["53d5e208.3502ac"]]},{"id":"4bed432d.addeec","type":"inject","z":"5e6c8b.7f38b374","name":"status","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"str","x":98,"y":608,"wires":[["53d5e208.3502ac"]]}]

under the hood, this uses http methods direct to the device & yes, mine are cloud connected (not using MQTT)

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