logo elektroda
logo elektroda
X
logo elektroda

[Solved] ESP8266 (ESPEasy) + AVT1666 Relay Board + Domoticz Switch Issue

Tomcen 681 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19430663
    Tomcen
    Level 12  
    I wanted to make a relay control based on a board with ESP8266 (nodemcu) with ESPEasy uploaded The relay board is connected with ESP through a logic level converter. Through the command http://192.168.xxx.xxx/control?cmd=GPIO,14,0 and http://192.168.xxx.xxx/control?cmd=GPIO,14,1 I can control the relay and it works.

    The problem arises when I do a Switch in Domoticz, because it can turn on and off twice in one second and so on and so forth :/.
    ESP8266 (ESPEasy) + AVT1666 Relay Board + Domoticz Switch Issue .

    ESP8266 (ESPEasy) + AVT1666 Relay Board + Domoticz Switch Issue

    What could the problem be? ESPEasy configured after Domoticz Http
  • ADVERTISEMENT
  • Helpful post
    #2 19430730
    Hawajek
    Level 24  
    Instead of on/off in domoticz, try giving Push On Button and write if anything has changed.
  • ADVERTISEMENT
  • Helpful post
    #3 19431021
    starob
    Level 29  
    See in the logs what traffic is generated due to this switch.
    On a trial basis, swap onAction with offAction because it seems to be looping because of this.
  • ADVERTISEMENT
  • #4 19438362
    Tomcen
    Level 12  
    starob wrote:
    Look in the logs at what traffic is generated by this switch.
    On a trial basis, swap onAction with offAction because it probably loops because of this.
    .

    It worked, thanks
  • #5 19438364
    Tomcen
    Level 12  
    starob wrote:
    Look in the logs at what traffic is generated by this switch.
    On a trial basis swap onAction with offAction because it probably loops because of this.
    .

    It worked, thanks

    Added after 1 [minute]:

    Changed to try onAction from offAction
ADVERTISEMENT