Good afternoon,
I’m implementing the above project. I’m using an ESP32 TTGO board and have LED’s on GPIO2 and GPIO15. When I toggle the LEDs from ON to OFF via the front panel, I can see the states change almost immediately in the database.
Now if I enter the URL nanotronics.co.za/esp-outputs-action.php?action=outputs_state&board=2 I get the following
JSON object = {"15":"1","2":1} GPIO: "15" - SET to: "1" GPIO: "2" - SET to: "1"
only after several minutes do I get
JSON object = {"15":"0","2":0 GPIO: "15" - SET to: "0" GPIO: "2" - SET to: "0"
Do you know why it takes so long to reflect the state change even though I can see the change immediately in the database