Page 1 of 1
http command to shelly
Posted: Thursday 23 May 2024 16:27
by paul402
I can send these two commands successfully in the browser and via python.
Code: Select all
http://192.168.2.41/rpc/Cover.Open?id=0
http://192.168.2.41/rpc/Cover.Close?id=0
but I have not been able to do in in dzVents.
The Wiki instructions I could not understand. Yes I'm probably not very clever.
Give me a hint please.
Re: http command to shelly
Posted: Thursday 23 May 2024 17:56
by waltervl
Search this forum for "dzvents shelly http" and you would have found somthing like topic
https://www.domoticz.com/forum/viewtopi ... tp#p283937
Instead of using dzvents to open close a Shelly Cover you could also make a dummy Blinds device in Domoticz
https://www.domoticz.com/wiki/Dummy_for ... l_Switches
Then put those 2 http commands as On Off action
https://www.domoticz.com/wiki/Managing_ ... Off_Action
Re: http command to shelly
Posted: Thursday 23 May 2024 21:24
by HvdW
- setup -> hardware -> dummy (create the possibility to create dummy devices)
- setup -> hardware -> dummy -> create virtual sensors choose switch
- use the switch and edit it
http://192.168.2.21/relay/0?turn=on for on and
http://192.168.2.21/relay/0?turn=off for off
- in dzvents choose this device by name or by number.
- read the
dzvents wiki
Enjoy learning to program. It's great fun.
Re: http command to shelly
Posted: Wednesday 29 May 2024 12:45
by paul402
Thanks. Yes I have already been using python to send http commands from on/off actions but wanted to incorporate the functionality in Dzvents.
I now have another issue but I will post that seperately.