I always sent an ON command and an OFF command through Domoticz, such as:
http://192.168.2.142/control?cmd=gpio,4,1
This always worked fine, but since the latest version of Domoticz, it no longer works.
I have the correct IP addresses configured under the security settings.
I treid it in a normal webbrowser and their it worked.
What could be causing this to stop working?
Regards
Edwin
Edit waltervl, changed title.
http action command not working
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
- waltervl
- Posts: 7020
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: Commando not working
This seems to be not a Domoticz command but esphome or espeasy or something similar.
Edit: it is indeed EspEasy and not a Domoticz command: https://espeasy.readthedocs.io/en/lates ... mmand.html
Domoticz API commands can be found here: https://wiki.domoticz.com/Domoticz_API/JSON_URL%27s
Edit: it is indeed EspEasy and not a Domoticz command: https://espeasy.readthedocs.io/en/lates ... mmand.html
Domoticz API commands can be found here: https://wiki.domoticz.com/Domoticz_API/JSON_URL%27s
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- imautohuttraeger
- Posts: 410
- Joined: Saturday 14 March 2020 13:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Germany
- Contact:
Re: Commando not working
I think @edwin1234 does not mean, that it is a domoticz command. It seems that he is using this EspEasy URLs for on and off actions of a device.waltervl wrote: Thursday 13 August 2026 19:47 This seems to be not a Domoticz command but esphome or espeasy or something similar.
Edit: it is indeed EspEasy and not a Domoticz command: https://espeasy.readthedocs.io/en/lates ... mmand.html
Domoticz API commands can be found here: https://wiki.domoticz.com/Domoticz_API/JSON_URL%27s
And these URLs work in a browser but not, if Domoticz is sending it out
- Attachments
-
- Screenshot_20260813-215143.png (51.91 KiB) Viewed 431 times
Stop, look and listen.
-
Gravityz
- Posts: 755
- Joined: Wednesday 16 December 2015 19:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2026.3
- Location: Netherlands
- Contact:
Re: Commando not working
and if you use this
http://192.168.2.142/control?cmd=event,GPIO_ON
and in your ESPeasy
On GPIO_ON Do //event is initiated from domoticz
GPIO,4,1
i used to use it this way but moved to esphome so can not test.
see this page under HTTP call
https://www.letscontrolit.com/wiki/inde ... #HTTP_call
http://192.168.2.142/control?cmd=event,GPIO_ON
and in your ESPeasy
On GPIO_ON Do //event is initiated from domoticz
GPIO,4,1
i used to use it this way but moved to esphome so can not test.
see this page under HTTP call
https://www.letscontrolit.com/wiki/inde ... #HTTP_call
-
edwin1234
- Posts: 341
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: http action command not working
Thanks for the answers,
But i found out that there was a process on my pi5 that took over my domoticz port and that was the reason why my switch with the http on off command didn’t work.
But i found out that there was a process on my pi5 that took over my domoticz port and that was the reason why my switch with the http on off command didn’t work.