Compare commits
7 Commits
c11a748608
...
f58247e029
Author | SHA1 | Date |
---|---|---|
Paul Wieland | f58247e029 | |
Paul Wieland | 1bfea01043 | |
pre-commit-ci[bot] | 690a2b6659 | |
Paul Wieland | 336252b20c | |
Paul Wieland | 9479f794f3 | |
Paul Wieland | af632d139f | |
Paul Wieland | eb90d3fd55 |
|
@ -1,16 +1,12 @@
|
||||||
|
|
||||||
# ratgdo for ESPHome
|
# ratgdo for ESPHome
|
||||||
|
|
||||||
This is a port of the ratgdo software for the v2.0/v2.5 board to ESPHome.
|
[Visit the ratcloud.llc to purchase boards](https://ratcloud.llc)
|
||||||
|
|
||||||
[Visit the github.io page to purchase boards](https://paulwieland.github.io/ratgdo/#order)
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
- Flash the ESPHome based firmware using the [Web Installer](https://ratgdo.github.io/esphome-ratgdo/)
|
- Flash the ESPHome based firmware using the [Web Installer](https://ratgdo.github.io/esphome-ratgdo/)
|
||||||
|
|
||||||
It is no longer necessary to save the rolling code counter when switching between firmware.
|
|
||||||
|
|
||||||
## First use after adding to Home Assistant
|
## First use after adding to Home Assistant
|
||||||
|
|
||||||
The ESPHome firmware will allow you to open the door to any position after calibration. To calibrate the door, open and close it once without stopping.
|
The ESPHome firmware will allow you to open the door to any position after calibration. To calibrate the door, open and close it once without stopping.
|
||||||
|
|
|
@ -215,33 +215,43 @@
|
||||||
ratgdo32 disco
|
ratgdo32 disco
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
<label>
|
||||||
|
<img src="./ratgdo32.jpg" alt="v32 board" />
|
||||||
|
<input type="radio" name="hardware" value="v32board" checked />
|
||||||
|
ratgdo32
|
||||||
|
</label>
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
<img src="./ratgdo_v2.5xi.jpg" alt="v2.5i, v2.52i, v2.53i" />
|
<img src="./ratgdo_v2.5xi.jpg" alt="v2.5i, v2.52i, v2.53i" />
|
||||||
<input type="radio" name="hardware" value="v25iboard" checked />
|
<input type="radio" name="hardware" value="v25iboard" checked />
|
||||||
ratgdo v2.5x<br/>
|
ratgdo v2.5x<br/>
|
||||||
v2.5, v2.5i, v2.52i, v2.53i (black PCB)
|
v2.5, v2.5i, v2.52i, v2.53i (black PCB)
|
||||||
</label>
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
<label>
|
<a id="show_legacy_hardware" style="text-decoration: underline;" onclick="toggleLegacy()">Show Legacy Hardware »</a>
|
||||||
<img src="./ratgdo_v2.0.jpg" alt="v2.0" />
|
|
||||||
<input type="radio" name="hardware" value="v2board_esp8266_d1_mini" />
|
|
||||||
ratgdo v2.0<br/>
|
|
||||||
ESP8266 / D1 Mini (white PCB)
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label>
|
<div class="hardware radios" id="legacy_hardware" style="display: none">
|
||||||
<img src="./v25board_esp32_d1_mini.png" alt="v2.5 esp32" />
|
<label>
|
||||||
<input type="radio" name="hardware" value="v25board_esp32_d1_mini" />
|
<img src="./ratgdo_v2.0.jpg" alt="v2.0" />
|
||||||
ratgdo v2.5<br/>
|
<input type="radio" name="hardware" value="v2board_esp8266_d1_mini" />
|
||||||
ESP32 (black PCB)
|
ratgdo v2.0<br/>
|
||||||
</label>
|
ESP8266 / D1 Mini (white PCB)
|
||||||
|
</label>
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
<img src="./v2board_esp32_d1_mini.png" alt="v2.0 esp32" />
|
<img src="./v25board_esp32_d1_mini.png" alt="v2.5 esp32" />
|
||||||
<input type="radio" name="hardware" value="v2board_esp32_d1_mini" />
|
<input type="radio" name="hardware" value="v25board_esp32_d1_mini" />
|
||||||
ratgdo v2.0<br/>
|
ratgdo v2.5<br/>
|
||||||
ESP32 (white PCB)
|
ESP32 (black PCB)
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
<label>
|
||||||
|
<img src="./v2board_esp32_d1_mini.png" alt="v2.0 esp32" />
|
||||||
|
<input type="radio" name="hardware" value="v2board_esp32_d1_mini" />
|
||||||
|
ratgdo v2.0<br/>
|
||||||
|
ESP32 (white PCB)
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -288,6 +298,18 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
|
function toggleLegacy() {
|
||||||
|
var x = document.querySelector("#legacy_hardware");
|
||||||
|
var y = document.querySelector("#show_legacy_hardware");
|
||||||
|
if (x.style.display === "none") {
|
||||||
|
x.style.display = "flex";
|
||||||
|
y.innerHTML = "hide legacy hardware »";
|
||||||
|
} else {
|
||||||
|
x.style.display = "none";
|
||||||
|
y.innerHTML = "show legacy hardware »";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
document.querySelectorAll('div.radios input').forEach((radio) =>
|
document.querySelectorAll('div.radios input').forEach((radio) =>
|
||||||
radio.addEventListener("change", () => {
|
radio.addEventListener("change", () => {
|
||||||
const button = document.querySelector("esp-web-install-button");
|
const button = document.querySelector("esp-web-install-button");
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
Loading…
Reference in New Issue