Page 1 of 1

ESPEasy does not send data anymore to Domoticz

Posted: Sunday 05 November 2023 21:25
by DomoticaRob
For many years I have a Domoticz home automation system based on Raspberry PI 3B+ and several ESPEasy modules.
Because of problems I made a complete new installation on the Raspberry Pi and now my Domoticz is running version 2023.
So far so good.

From the Domoticz I can send data to the ESPEasy modules. So, I can (de)activate relays in the Sonoff (with ESPEasy) modules.
Unfortunately the data from the ESPEasy modules to Domticz doesn’t work.

By hand I can send data to Domoticz.
For instance:

This line will show 20 and 80 in the Domoticz dummy temp/hum device:

Code: Select all

http://192.168.178.200:8080/json.htm?type=command&param=udevice&idx=12&nvalue=0&svalue=20;80;2
This line will switch the Domoticz dummy switch device:

Code: Select all

http://192.168.178.200:8080/json.htm?type=command&param=switchlight&idx=1&switchcmd=On
In the ESPEasy the controller settings are the same as in the past.

The Devices in ESPEasy have the proper Ctrl(IDX).

What is the solution?

I also placed this topic on Lets Control It

Controller.jpg
Controller.jpg (121.21 KiB) Viewed 713 times
Device.jpg
Device.jpg (104.07 KiB) Viewed 713 times

Re: ESPEasy does not send data anymore to Domoticz

Posted: Sunday 05 November 2023 21:35
by waltervl
Did you set the security settings correct in Domoticz menu setup - Settings, tab Security? Especially the Allow basic API authorisation on HTTP ?

Re: ESPEasy does not send data anymore to Domoticz

Posted: Monday 06 November 2023 10:07
by DomoticaRob
Yes, that is the solution.

Many thanks.
HTTP.jpg
HTTP.jpg (134.73 KiB) Viewed 699 times