Can I operate a device by a simple url?
Something like:
http://mydom.co.uk:8000/device1
Thanks
Operate device by url?
Moderator: leecollings
- jvdz
- Posts: 2210
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Operate device by url?
When you mean to change a domoticz device then yes.
Look at the wiki for the api json: https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s
Look at the wiki for the api json: https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 2
- Joined: Wednesday 11 December 2019 18:23
- Target OS: Windows
- Domoticz version: 4.10717
- Location: Devon, UK
- Contact:
Re: Operate device by url?
I do mean operate a device, so for example if the device is a light switch then turn it on.
-
- Posts: 643
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Operate device by url?
That's one of many items in the HTTP/JSON API link hereupper:
https://www.domoticz.com/wiki/Domoticz_ ... h_on.2Foff
https://www.domoticz.com/wiki/Domoticz_ ... h_on.2Foff
Who is online
Users browsing this forum: No registered users and 0 guests