Small changes

This commit is contained in:
Nikolay Vasilchuk
2021-03-25 13:41:20 +03:00
parent 912d80dd6c
commit c25071df35
5 changed files with 32 additions and 7 deletions

View File

@@ -0,0 +1,23 @@
# 8 times click - run captive portal
timing:
- ON for 5ms to 1s
- OFF for 5ms to 1s
- ON for 5ms to 1s
- OFF for 5ms to 1s
- ON for 5ms to 1s
- OFF for 5ms to 1s
- ON for 5ms to 1s
- OFF for 5ms to 1s
- ON for 5ms to 1s
- OFF for 5ms to 1s
- ON for 5ms to 1s
- OFF for 5ms to 1s
- ON for 5ms to 1s
- OFF for 5ms to 1s
- ON for 5ms to 1s
then:
lambda: |-
ESP_LOGW("DMF", "Erase settings and restart...");
captive_portal::global_captive_portal->override_sta_mqtt("-----", "", "10.0.0.1", "1883", "", "");
delay(500);
ESP.restart();