mirror of
https://github.com/Anonym-tsk/smart-domofon.git
synced 2026-01-01 22:29:12 +03:00
Small changes
This commit is contained in:
23
ge1mer/domofon_packages/includes/binary_sensor.captive.yaml
Normal file
23
ge1mer/domofon_packages/includes/binary_sensor.captive.yaml
Normal 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();
|
||||
Reference in New Issue
Block a user