Page 1 of 1

Operate device by url?

Posted: Thursday 11 July 2024 13:37
by jdhx
Can I operate a device by a simple url?

Something like:

http://mydom.co.uk:8000/device1

Thanks

Re: Operate device by url?

Posted: Thursday 11 July 2024 16:09
by jvdz
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

Re: Operate device by url?

Posted: Thursday 11 July 2024 18:20
by jdhx
I do mean operate a device, so for example if the device is a light switch then turn it on.

Re: Operate device by url?

Posted: Thursday 11 July 2024 18:26
by lost
That's one of many items in the HTTP/JSON API link hereupper:
https://www.domoticz.com/wiki/Domoticz_ ... h_on.2Foff