Compare commits
10 Commits
5420f67fc0
...
fdc5a065f9
Author | SHA1 | Date |
---|---|---|
Paul Wieland | fdc5a065f9 | |
Paul Wieland | f58247e029 | |
Paul Wieland | 1bfea01043 | |
pre-commit-ci[bot] | 690a2b6659 | |
Paul Wieland | 336252b20c | |
Paul Wieland | 9479f794f3 | |
Paul Wieland | af632d139f | |
Paul Wieland | eb90d3fd55 | |
Paul Wieland | ee1a970647 | |
Paul Wieland | fda14ac1b5 |
|
@ -4,7 +4,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- ratgdo32
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 4 * * 1'
|
- cron: '0 4 * * 1'
|
||||||
|
@ -97,7 +97,7 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
consolidate:
|
consolidate:
|
||||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/ratgdo32'
|
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
|
||||||
name: Consolidate firmwares
|
name: Consolidate firmwares
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
@ -119,7 +119,7 @@ jobs:
|
||||||
path: output
|
path: output
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/ratgdo32'
|
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
|
||||||
name: Deploy to GitHub Pages
|
name: Deploy to GitHub Pages
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: consolidate
|
needs: consolidate
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -3,7 +3,7 @@ external_components:
|
||||||
- source:
|
- source:
|
||||||
type: git
|
type: git
|
||||||
url: https://github.com/ratgdo/esphome-ratgdo
|
url: https://github.com/ratgdo/esphome-ratgdo
|
||||||
ref: ratgdo32
|
ref: main
|
||||||
refresh: 1s
|
refresh: 1s
|
||||||
# - source:
|
# - source:
|
||||||
# type: local
|
# type: local
|
||||||
|
|
|
@ -4,7 +4,7 @@ external_components:
|
||||||
- source:
|
- source:
|
||||||
type: git
|
type: git
|
||||||
url: https://github.com/ratgdo/esphome-ratgdo
|
url: https://github.com/ratgdo/esphome-ratgdo
|
||||||
ref: ratgdo32
|
ref: main
|
||||||
refresh: 1s
|
refresh: 1s
|
||||||
# - source:
|
# - source:
|
||||||
# type: local
|
# type: local
|
||||||
|
|
|
@ -4,7 +4,7 @@ external_components:
|
||||||
- source:
|
- source:
|
||||||
type: git
|
type: git
|
||||||
url: https://github.com/ratgdo/esphome-ratgdo
|
url: https://github.com/ratgdo/esphome-ratgdo
|
||||||
ref: ratgdo32
|
ref: main
|
||||||
refresh: 1s
|
refresh: 1s
|
||||||
# - source:
|
# - source:
|
||||||
# type: local
|
# type: local
|
||||||
|
|
|
@ -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 |
|
@ -30,7 +30,7 @@ dashboard_import:
|
||||||
packages:
|
packages:
|
||||||
remote_package:
|
remote_package:
|
||||||
url: https://github.com/ratgdo/esphome-ratgdo
|
url: https://github.com/ratgdo/esphome-ratgdo
|
||||||
ref: ratgdo32
|
ref: main
|
||||||
files: [base.yaml]
|
files: [base.yaml]
|
||||||
refresh: 1s
|
refresh: 1s
|
||||||
# remote_package: !include
|
# remote_package: !include
|
||||||
|
|
|
@ -29,7 +29,7 @@ dashboard_import:
|
||||||
packages:
|
packages:
|
||||||
remote_package:
|
remote_package:
|
||||||
url: https://github.com/ratgdo/esphome-ratgdo
|
url: https://github.com/ratgdo/esphome-ratgdo
|
||||||
ref: ratgdo32
|
ref: main
|
||||||
files: [base_drycontact.yaml]
|
files: [base_drycontact.yaml]
|
||||||
refresh: 1s
|
refresh: 1s
|
||||||
# remote_package: !include
|
# remote_package: !include
|
||||||
|
|
|
@ -30,7 +30,7 @@ dashboard_import:
|
||||||
packages:
|
packages:
|
||||||
remote_package:
|
remote_package:
|
||||||
url: https://github.com/ratgdo/esphome-ratgdo
|
url: https://github.com/ratgdo/esphome-ratgdo
|
||||||
ref: ratgdo32
|
ref: main
|
||||||
files: [base_secplusv1.yaml]
|
files: [base_secplusv1.yaml]
|
||||||
refresh: 1s
|
refresh: 1s
|
||||||
# remote_package: !include
|
# remote_package: !include
|
||||||
|
|
|
@ -30,7 +30,7 @@ dashboard_import:
|
||||||
packages:
|
packages:
|
||||||
remote_package:
|
remote_package:
|
||||||
url: https://github.com/ratgdo/esphome-ratgdo
|
url: https://github.com/ratgdo/esphome-ratgdo
|
||||||
ref: ratgdo32
|
ref: main
|
||||||
files: [base.yaml]
|
files: [base.yaml]
|
||||||
refresh: 1s
|
refresh: 1s
|
||||||
# remote_package: !include
|
# remote_package: !include
|
||||||
|
|
|
@ -29,7 +29,7 @@ dashboard_import:
|
||||||
packages:
|
packages:
|
||||||
remote_package:
|
remote_package:
|
||||||
url: https://github.com/ratgdo/esphome-ratgdo
|
url: https://github.com/ratgdo/esphome-ratgdo
|
||||||
ref: ratgdo32
|
ref: main
|
||||||
files: [base_drycontact.yaml]
|
files: [base_drycontact.yaml]
|
||||||
refresh: 1s
|
refresh: 1s
|
||||||
# remote_package: !include
|
# remote_package: !include
|
||||||
|
|
|
@ -30,7 +30,7 @@ dashboard_import:
|
||||||
packages:
|
packages:
|
||||||
remote_package:
|
remote_package:
|
||||||
url: https://github.com/ratgdo/esphome-ratgdo
|
url: https://github.com/ratgdo/esphome-ratgdo
|
||||||
ref: ratgdo32
|
ref: main
|
||||||
files: [base_secplusv1.yaml]
|
files: [base_secplusv1.yaml]
|
||||||
refresh: 1s
|
refresh: 1s
|
||||||
# remote_package: !include
|
# remote_package: !include
|
||||||
|
|
Loading…
Reference in New Issue