Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
secrets.yaml
.esphome/
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ This repo was based on a Python project by [Baldanos](https://github.com/Baldano

## How to:
- Flash your device with the [UniSoft firmware](https://github.com/wildekek/rdtech-firmware-unisoft)
- Copy `secrets.yaml.example` to `secrets.yaml` and fill in WiFi
credentials, OTA password, and HA API key. See the comments in that
file for details on each value.
- Create a new ESPHome device and load this [configuration](/rdtech-powersupply.yaml)
- Update your WiFi credentials in ESPHome
- [Flash the Riden WiFi module with ESPHome](https://esphome.io/guides/physical_device_connection.html)
- Set the right settings in the Riden power supply:
- UART Interface to "TTL+EN"
Expand Down
23 changes: 23 additions & 0 deletions secrets.yaml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copy this file to `secrets.yaml` in the same directory before running
# `esphome run rdtech-controller.yaml`. Never commit `secrets.yaml`.
#
# All five values are required by the YAML; missing keys will fail the
# build at compile time with "secret not found" rather than at runtime.

# Wi-Fi the dongle should connect to (2.4 GHz only — ESP8266/ESP-12F
# has no 5 GHz radio).
wifi_ssid: "your-2g-ssid"
wifi_password: "your-wifi-password"

# Captive-portal AP password used when the device fails to join Wi-Fi.
# Pick something you'll remember; you'll only see it during recovery.
wifi_fallback_password: "fallback-portal-password"

# OTA update password. Required to push firmware updates wirelessly
# after the first flash. Generate with e.g. `openssl rand -hex 16`.
ota_password: "replace-with-32-hex-chars"

# Home Assistant API encryption key (Noise / 32-byte base64). Generate
# with `openssl rand -base64 32`. Paste the same value into Home
# Assistant when adopting the device.
home_assistant_key: "replace-with-44-char-base64-key="