Page 1 of 1

Problem with EASY ESP

Posted: Tuesday 31 October 2017 14:28
by PeterPal
Hi All,
I´m using an Raspi 3, Domoticz Beta 3.8662 Build hash ddb94219 2017-10-30

Problem: I´m using a SONOF 4ch. Relay with ESPEASY and also an WEMOS Mini ESP8266 with 4 relays. The SONOFF is flashed to v2.0.0-dev12 and the other is flashed to Stable 120.
Both are showing the same issue: More or less often a click on the virtual switch will cause this error:

2017-10-31 14:02:35.895 User: Admin initiated a switch command (40/Carport Lichterkette/On)
2017-10-31 14:02:36.900 (ESP) Light/Switch (Carport Lichterkette)
2017-10-31 14:02:47.104 Error: Error opening url: http://192.168.178.57/control?cmd=GPIO,12,1


The light is not going on. If i retry the command in Domoticz, nothing will happen, only the same printout in the log.

But if i take the IP Adress http://192.168.178.57/control?cmd=GPIO,12,1 in a normal browser, the relays will do there job, and this every time. I tryed to use an „on delay“ inside the virtual switch, but thats not the solution. Looks like the command is not going out of Domoticz.

I also habe running a 2nd Domoticz on a Synology with V3.8153 and the same 4 ch. Relay and the same EASYESP (v2.0.0-dev12) and there i have no erros, no issues.

May be someone has an idea or the error is inside the beta on the Raspi 3.

Best Regards
Peter

Re: Problem with EASY ESP

Posted: Tuesday 31 October 2017 16:28
by jvdz
Where have you defined the url you get the error for? Is this in a script/blockly or in the On/Off action of a switch?
Is your Pi in the same subnet as the Wemos or is there a gateway involved?

Jos

Re: Problem with EASY ESP

Posted: Tuesday 31 October 2017 17:43
by PeterPal
Hi Jos
the command are located in the virtuell switches (On Action / Off Action). The Pi is connected via network cable to a Fritzbox and the WEMOs via WLAN to the Fritzbox, all in the same Network. Today i swoped over one of the switches which made problems on the pi to the 2nd. Domoticz on the Synology. And there, i do not have any problems until now..

Edit: And just updated to 3.8666 - and its the same.

Peter

Re: Problem with EASY ESP

Posted: Wednesday 01 November 2017 19:42
by PeterPal
Hi all,
after a new, clean install with 3.8666 the problem is gone, case closed :D