logo elektroda
logo elektroda
X
logo elektroda

ESPEasy - unstable button operation on GPIO0 and delays in Domoticz

slawko_k 1749 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17437147
    slawko_k
    Level 35  
    Hello.
    I have a problem with the certainty of the operation of the simplest circuit with a button.
    Sometimes it works when the button is pressed and sometimes I have to press it 5 times to change the state.

    button connected to gpio0, pushbutton active low, pullup
    led connected to gpio13

    Rules rewritten from examples on the web
    on button#Switch to
    if [button#Switch]=0
    gpio,13,1
    else
    gpio,13,0
    endif
    endon

    I have several wemos modules and on them it looks tragic. Clicking on anything in domoticz means waiting a few seconds for the module to respond, it works best on nodemc but there are also circuses that you have to press the button several times.

    I have uploaded ESPEasy_v2.0.0-dev11_normal_1024.bin
    When I upload version 4096 (because I think these esp are in nodemc and wemos) nothing works at all on any of the modules, after uploading the software the phone cannot see the modules over wifi.
    What could be the problem?
  • ADVERTISEMENT
  • #2 17437301
    oskar777

    Level 26  
    And have you tried playing with the arduino on the nodemc, then you'll know if it's a software problem?
  • #3 17437351
    slawko_k
    Level 35  
    In my opinion it is definitely the fault of the software but unfortunately I have no control over it.

    I would like someone who works 100% to suggest which software to upload, as I have uploaded several and on some it does not work at all and on others poorly. In the videos on YT the guests work without any problem.
    I have uploaded tasmota and it also works without a problem but I can't do what I want to do on it.

    There is an ESP with AI-Thinker printed on the nodemc

    In wemos which works hopelessly on espeasy there are modules like in the pictures
    ESPEasy - unstable button operation on GPIO0 and delays in Domoticz
ADVERTISEMENT