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:
|
||||
push:
|
||||
branches:
|
||||
- ratgdo32
|
||||
- main
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 4 * * 1'
|
||||
|
@ -97,7 +97,7 @@ jobs:
|
|||
|
||||
|
||||
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
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
@ -119,7 +119,7 @@ jobs:
|
|||
path: output
|
||||
|
||||
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
|
||||
runs-on: ubuntu-latest
|
||||
needs: consolidate
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
|
||||
# ratgdo for ESPHome
|
||||
|
||||
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)
|
||||
[Visit the ratcloud.llc to purchase boards](https://ratcloud.llc)
|
||||
|
||||
## Installation
|
||||
|
||||
- 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
|
||||
|
||||
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:
|
||||
type: git
|
||||
url: https://github.com/ratgdo/esphome-ratgdo
|
||||
ref: ratgdo32
|
||||
ref: main
|
||||
refresh: 1s
|
||||
# - source:
|
||||
# type: local
|
||||
|
|
|
@ -4,7 +4,7 @@ external_components:
|
|||
- source:
|
||||
type: git
|
||||
url: https://github.com/ratgdo/esphome-ratgdo
|
||||
ref: ratgdo32
|
||||
ref: main
|
||||
refresh: 1s
|
||||
# - source:
|
||||
# type: local
|
||||
|
|
|
@ -4,7 +4,7 @@ external_components:
|
|||
- source:
|
||||
type: git
|
||||
url: https://github.com/ratgdo/esphome-ratgdo
|
||||
ref: ratgdo32
|
||||
ref: main
|
||||
refresh: 1s
|
||||
# - source:
|
||||
# type: local
|
||||
|
|
|
@ -215,13 +215,23 @@
|
|||
ratgdo32 disco
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<img src="./ratgdo32.jpg" alt="v32 board" />
|
||||
<input type="radio" name="hardware" value="v32board" checked />
|
||||
ratgdo32
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<img src="./ratgdo_v2.5xi.jpg" alt="v2.5i, v2.52i, v2.53i" />
|
||||
<input type="radio" name="hardware" value="v25iboard" checked />
|
||||
ratgdo v2.5x<br/>
|
||||
v2.5, v2.5i, v2.52i, v2.53i (black PCB)
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<a id="show_legacy_hardware" style="text-decoration: underline;" onclick="toggleLegacy()">Show Legacy Hardware »</a>
|
||||
|
||||
<div class="hardware radios" id="legacy_hardware" style="display: none">
|
||||
<label>
|
||||
<img src="./ratgdo_v2.0.jpg" alt="v2.0" />
|
||||
<input type="radio" name="hardware" value="v2board_esp8266_d1_mini" />
|
||||
|
@ -288,6 +298,18 @@
|
|||
</div>
|
||||
</div>
|
||||
<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) =>
|
||||
radio.addEventListener("change", () => {
|
||||
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:
|
||||
remote_package:
|
||||
url: https://github.com/ratgdo/esphome-ratgdo
|
||||
ref: ratgdo32
|
||||
ref: main
|
||||
files: [base.yaml]
|
||||
refresh: 1s
|
||||
# remote_package: !include
|
||||
|
|
|
@ -29,7 +29,7 @@ dashboard_import:
|
|||
packages:
|
||||
remote_package:
|
||||
url: https://github.com/ratgdo/esphome-ratgdo
|
||||
ref: ratgdo32
|
||||
ref: main
|
||||
files: [base_drycontact.yaml]
|
||||
refresh: 1s
|
||||
# remote_package: !include
|
||||
|
|
|
@ -30,7 +30,7 @@ dashboard_import:
|
|||
packages:
|
||||
remote_package:
|
||||
url: https://github.com/ratgdo/esphome-ratgdo
|
||||
ref: ratgdo32
|
||||
ref: main
|
||||
files: [base_secplusv1.yaml]
|
||||
refresh: 1s
|
||||
# remote_package: !include
|
||||
|
|
|
@ -30,7 +30,7 @@ dashboard_import:
|
|||
packages:
|
||||
remote_package:
|
||||
url: https://github.com/ratgdo/esphome-ratgdo
|
||||
ref: ratgdo32
|
||||
ref: main
|
||||
files: [base.yaml]
|
||||
refresh: 1s
|
||||
# remote_package: !include
|
||||
|
|
|
@ -29,7 +29,7 @@ dashboard_import:
|
|||
packages:
|
||||
remote_package:
|
||||
url: https://github.com/ratgdo/esphome-ratgdo
|
||||
ref: ratgdo32
|
||||
ref: main
|
||||
files: [base_drycontact.yaml]
|
||||
refresh: 1s
|
||||
# remote_package: !include
|
||||
|
|
|
@ -30,7 +30,7 @@ dashboard_import:
|
|||
packages:
|
||||
remote_package:
|
||||
url: https://github.com/ratgdo/esphome-ratgdo
|
||||
ref: ratgdo32
|
||||
ref: main
|
||||
files: [base_secplusv1.yaml]
|
||||
refresh: 1s
|
||||
# remote_package: !include
|
||||
|
|
Loading…
Reference in New Issue