Compare commits

..

1 Commits

Author SHA1 Message Date
Paul Wieland 5420f67fc0
Merge ee1a970647 into c11a748608 2024-11-13 11:48:46 -08:00
3 changed files with 23 additions and 41 deletions

View File

@ -1,12 +1,16 @@
# ratgdo for ESPHome # ratgdo for ESPHome
[Visit the ratcloud.llc to purchase boards](https://ratcloud.llc) This is a port of the ratgdo software for the v2.0/v2.5 board to ESPHome.
[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.

View File

@ -215,43 +215,33 @@
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>
<a id="show_legacy_hardware" style="text-decoration: underline;" onclick="toggleLegacy()">Show Legacy Hardware &raquo;</a> <label>
<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>
<div class="hardware radios" id="legacy_hardware" style="display: none"> <label>
<label> <img src="./v25board_esp32_d1_mini.png" alt="v2.5 esp32" />
<img src="./ratgdo_v2.0.jpg" alt="v2.0" /> <input type="radio" name="hardware" value="v25board_esp32_d1_mini" />
<input type="radio" name="hardware" value="v2board_esp8266_d1_mini" /> ratgdo v2.5<br/>
ratgdo v2.0<br/> ESP32 (black PCB)
ESP8266 / D1 Mini (white PCB) </label>
</label>
<label> <label>
<img src="./v25board_esp32_d1_mini.png" alt="v2.5 esp32" /> <img src="./v2board_esp32_d1_mini.png" alt="v2.0 esp32" />
<input type="radio" name="hardware" value="v25board_esp32_d1_mini" /> <input type="radio" name="hardware" value="v2board_esp32_d1_mini" />
ratgdo v2.5<br/> ratgdo v2.0<br/>
ESP32 (black PCB) ESP32 (white 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>
@ -298,18 +288,6 @@
</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 &raquo;";
} else {
x.style.display = "none";
y.innerHTML = "show legacy hardware &raquo;";
}
}
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.

Before

Width:  |  Height:  |  Size: 73 KiB