diff --git a/docs/de/guide/getting-started.md b/docs/de/guide/getting-started.md index 0a8e382..2050703 100644 --- a/docs/de/guide/getting-started.md +++ b/docs/de/guide/getting-started.md @@ -87,7 +87,7 @@ Greif entweder auf den internen Webserver deines Doormans zu oder besuche die [E In `Konfiguration`-Bereich findest du den Button `Interactive Setup: Start`. Klicke darauf, um den Einrichtungsprozess zu starten. Sobald der Prozess begonnen hat, wird der `Interactive Setup: Status` Text Sensor dich durch die erforderlichen Schritte führen (z.B. Knopf X drücken, warten oder das Telefon abheben).\ -Während der Einrichtung pulsiert die RGB-Status-LED türkis, solange du die Aufgabe noch nicht abgeschlossen hast, und bleibt 3 Sekunden lang türkis, nachdem der Befehl gespeichert wurde. +Während der Einrichtung pulsiert die RGB-Status-LED grün-türkis, solange du die Aufgabe noch nicht abgeschlossen hast, und bleibt 3 Sekunden lang grün-türkis, nachdem der Befehl gespeichert wurde. Nach Abschluss der Einrichtung endet der Prozess automatisch und zeigt den entsprechenden Status an. diff --git a/docs/en/guide/getting-started.md b/docs/en/guide/getting-started.md index ed69e73..6298de3 100644 --- a/docs/en/guide/getting-started.md +++ b/docs/en/guide/getting-started.md @@ -81,7 +81,7 @@ To get started, either access the internal web server of your Doorman or visit t In the `Configuration` section, you will find the `Interactive Setup: Start` button. Click this button to initiate the setup process. Once started, the `Interactive Setup: Status` Text Sensor will guide you through the required steps (e.g., press button X, wait, or pick up the phone).\ -During the setup, the RGB Status LED will pulse turquoise while waiting for you to complete each task and will remain solid turquoise for 3 seconds after saving the command. +During the setup, the RGB Status LED will pulse green-turquoise while waiting for you to complete each task and will remain solid green-turquoise for 3 seconds after saving the command. After the setup is complete, the process will automatically end and display the corresponding status. diff --git a/firmware/base.yaml b/firmware/base.yaml index a138a1c..c819a1a 100644 --- a/firmware/base.yaml +++ b/firmware/base.yaml @@ -2,7 +2,7 @@ substitutions: name: "doorman-s3" friendly_name: "Doorman S3" - log_level: "ERROR" + log_level: "INFO" # Hardware Configuration led_pin: "GPIO1" @@ -99,25 +99,32 @@ esphome: - light.turn_on: id: doorman_rgb_status_led effect: slow_pulse - red: 9% - green: 74% - blue: 95% + red: 0% + green: 22% + blue: 100% - wait_until: condition: api.connected: - light.turn_on: id: doorman_rgb_status_led effect: none - red: 9% - green: 74% - blue: 95% + red: 0% + green: 22% + blue: 100% color_brightness: 60% - delay: 3s - script.execute: update_led - delay: 2s - if: condition: - - lambda: return id(initial_setup_done) == false && apartment_doorbell_command == 0; + # Ignore initial setup if something is already set + - lambda: |- + return + id(initial_setup_done) == false && + apartment_doorbell_command == 0 && + entrance_doorbell_command == 0 && + pick_up_phone_command == 0 && + ring_to_open_toggle_command == 0; then: - button.press: doorman_interactive_setup_start @@ -988,9 +995,9 @@ script: # LED State: Saved - light.turn_on: id: doorman_rgb_status_led - red: 3% - green: 71% - blue: 67% + red: 0% + green: 100% + blue: 10% effect: none - delay: 3s @@ -1009,9 +1016,9 @@ script: # LED State: Waiting - light.turn_on: id: doorman_rgb_status_led - red: 3% - green: 71% - blue: 67% + red: 0% + green: 100% + blue: 10% effect: pulse else: # Initial setup done