One-window install: profile, wifi, USB flash and pairing hints (0.2.27)
"Nieuw scherm" used to span two dialogs plus a copy/download of the installation YAML. It is now one dialog: board, name (node name derived, editable), wifi only when secrets.yaml lacks it, the detected USB port, and Installeren. The add-on writes the profile with unique API/OTA keys, merges just the missing wifi lines into secrets.yaml (comments and other secrets untouched, result re-parsed before writing), then builds and flashes with the live ESPHome log and stage in the same dialog; a failed build offers a retry without a second profile. The YAML download endpoint is gone: the profile already lives in the ESPHome folder. Pairing happens in Home Assistant itself, so the done view and a sidebar card per not-yet-paired profile say so, with a button to Apparaten & diensten, the API key to copy and the reminder to allow HA actions. One profile per screen; the dialog says that too. Tests: wifi merge cases, install pre-checks, pending list, profile metadata; the date-anchored hourly forecast test now follows the clock. Firmware 0.2.22 stays current. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -2,11 +2,15 @@
|
||||
|
||||
Zie [de volledige 0.2.0-handleiding](https://github.com/MaxGramser/homeassistant_espscreen/blob/main/docs/WHATS_NEW_020.md).
|
||||
|
||||
Open **Nieuw scherm** om een eigen profiel te bewaren. Open **Firmware & USB**
|
||||
om een profiel te controleren, bouwen of installeren. Bestaande ESPHome-profielen
|
||||
in de HA-configmap worden automatisch gevonden. Eerste flash: USB aan de Raspberry
|
||||
en expliciet de bijbehorende poort kiezen. Later: hetzelfde profiel plus het
|
||||
IP-adres van het scherm voor OTA. Bestaande secrets worden niet vervangen.
|
||||
Open **Nieuw scherm** om een scherm te installeren: sluit het via USB aan op de
|
||||
Home Assistant-machine, kies bord, naam en USB-poort en klik **Installeren**.
|
||||
Het profiel met unieke sleutels komt in de ESPHome-map van de HA-configuratie,
|
||||
ontbrekende wifi gaat in `secrets.yaml` (bestaande secrets blijven staan), en de
|
||||
build en de flash lopen in hetzelfde venster; daarna toont het de API-sleutel
|
||||
voor de koppeling. De koppeling zelf doe je in Home Assistant onder **Instellingen → Apparaten & diensten** (knop in het venster en op de kaart *nog niet in Home Assistant* onder Mijn schermen). Elk scherm heeft zijn eigen profiel. **Firmware & USB** is
|
||||
voor bestaande profielen: controleren, bouwen of opnieuw installeren via USB of
|
||||
het IP-adres (OTA). Bestaande ESPHome-profielen in de HA-configmap worden
|
||||
automatisch gevonden.
|
||||
|
||||
Na koppeling via de HA ESPHome-integratie kies je in ESP Screens de tegels.
|
||||
Onder **Tegelinstellingen** staan klikgedrag, grotere waarden en mini-schuiven.
|
||||
|
||||
Reference in New Issue
Block a user