Problem with EASY ESP

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
PeterPal
Posts: 8
Joined: Monday 06 June 2016 20:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8666
Location: Wulsbuettel, Germany
Contact:

Problem with EASY ESP

Post 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
Raspberry, Synology DS112J, KMTronic LAN Relaisboard 8 Channel, RF-Link,several cheep wallplugs, two Thermo/Hygrometer
User avatar
jvdz
Posts: 2330
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Problem with EASY ESP

Post 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
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
PeterPal
Posts: 8
Joined: Monday 06 June 2016 20:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8666
Location: Wulsbuettel, Germany
Contact:

Re: Problem with EASY ESP

Post 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
Raspberry, Synology DS112J, KMTronic LAN Relaisboard 8 Channel, RF-Link,several cheep wallplugs, two Thermo/Hygrometer
User avatar
PeterPal
Posts: 8
Joined: Monday 06 June 2016 20:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8666
Location: Wulsbuettel, Germany
Contact:

Re: Problem with EASY ESP

Post by PeterPal »

Hi all,
after a new, clean install with 3.8666 the problem is gone, case closed :D
Raspberry, Synology DS112J, KMTronic LAN Relaisboard 8 Channel, RF-Link,several cheep wallplugs, two Thermo/Hygrometer
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest