Merge branch 'main' of https://github.com/ratgdo/esphome-ratgdo
This commit is contained in:
commit
e36225cfce
|
@ -23,6 +23,7 @@ The ESPHome firmware will allow you to open the door to any position after calib
|
||||||
- [ESPHome config for v2.0 board with ESP32 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_d1_mini.yaml)
|
- [ESPHome config for v2.0 board with ESP32 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_d1_mini.yaml)
|
||||||
- [ESPHome config for v2.0 board with ESP32 Lolin D2 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_lolin_s2_mini.yaml)
|
- [ESPHome config for v2.0 board with ESP32 Lolin D2 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_lolin_s2_mini.yaml)
|
||||||
- [ESPHome config for v2.5 board with ESP8266 D1 Mini lite](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp8266_d1_mini_lite.yaml)
|
- [ESPHome config for v2.5 board with ESP8266 D1 Mini lite](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp8266_d1_mini_lite.yaml)
|
||||||
|
- [ESPHome config for v2.5 board with ESP32 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp32_d1_mini.yaml)
|
||||||
- [Web Installer](https://ratgdo.github.io/esphome-ratgdo/)
|
- [Web Installer](https://ratgdo.github.io/esphome-ratgdo/)
|
||||||
|
|
||||||
![Home Assistant Screen Shot](static/hass.png)
|
![Home Assistant Screen Shot](static/hass.png)
|
||||||
|
|
|
@ -240,6 +240,9 @@ namespace ratgdo {
|
||||||
}
|
}
|
||||||
} else if (cmd == Command::MOTION) {
|
} else if (cmd == Command::MOTION) {
|
||||||
this->motion_state = MotionState::DETECTED;
|
this->motion_state = MotionState::DETECTED;
|
||||||
|
this->set_timeout("clear_motion", 3000, [=] {
|
||||||
|
this->motion_state = MotionState::CLEAR;
|
||||||
|
});
|
||||||
if (*this->light_state == LightState::OFF) {
|
if (*this->light_state == LightState::OFF) {
|
||||||
this->send_command(Command::GET_STATUS);
|
this->send_command(Command::GET_STATUS);
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,23 +157,33 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><em>Note: At the moment ESPHome only supports Security + 2.0 door openers (Yellow learn button). Support for other protocols is coming.</em></p>
|
<p><em>Note: At the moment ESPHome only supports Security + 2.0 door openers (Yellow learn button). Support for other protocols is coming.</em></p>
|
||||||
|
|
||||||
|
<h3>v2.5 Board</h3>
|
||||||
<div class="radios">
|
<div class="radios">
|
||||||
<label>
|
|
||||||
<input type="radio" name="type" value="v2board_esp8266_d1_mini_lite" checked />
|
|
||||||
<img src="./v2board_esp8266_d1_mini_lite.png" alt="ratgdo v2 board with ESP8266 D1 Mini Lite" />
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input type="radio" name="type" value="v2board_esp32_d1_mini" />
|
|
||||||
<img src="./v2board_esp32_d1_mini.png" alt="ratgdo v2 board with ESP32 D1 Mini" />
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input type="radio" name="type" value="v2board_esp32_lolin_s2_mini" />
|
|
||||||
<img src="./v2board_esp32_lolin_s2_mini.png" alt="ratgdo v2 board with ESP32 lolin s2 mini" />
|
|
||||||
</label>
|
|
||||||
<label>
|
<label>
|
||||||
<input type="radio" name="type" value="v25board_esp8266_d1_mini_lite" checked />
|
<input type="radio" name="type" value="v25board_esp8266_d1_mini_lite" checked />
|
||||||
<img src="./v25board_esp8266_d1_mini_lite.png" alt="ratgdo v2.5 board with ESP8266 D1 Mini Lite" />
|
<img src="./v25board_esp8266_d1_mini_lite.png" alt="ratgdo v2.5 board with ESP8266 D1 Mini Lite" />
|
||||||
</label>
|
</label>
|
||||||
|
<label>
|
||||||
|
<input type="radio" name="type" value="v25board_esp32_d1_mini" />
|
||||||
|
<img src="./v25board_esp32_d1_mini.png" alt="ratgdo v2.5 board with ESP32 D1 Mini" />
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3>v2.0 Board</h3>
|
||||||
|
<div class="radios">
|
||||||
|
<label>
|
||||||
|
<input type="radio" name="type" value="v2board_esp8266_d1_mini_lite" />
|
||||||
|
<img src="./v2board_esp8266_d1_mini_lite.png" alt="ratgdo v2.0 board with ESP8266 D1 Mini Lite" />
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<input type="radio" name="type" value="v2board_esp32_d1_mini" />
|
||||||
|
<img src="./v2board_esp32_d1_mini.png" alt="ratgdo v2.0 board with ESP32 D1 Mini" />
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<input type="radio" name="type" value="v2board_esp32_lolin_s2_mini" />
|
||||||
|
<img src="./v2board_esp32_lolin_s2_mini.png" alt="ratgdo v2.0 board with ESP32 lolin s2 mini" />
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="button-row" align="center">
|
<p class="button-row" align="center">
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 260 KiB |
Loading…
Reference in New Issue