From 7b45088685bdfff5a819e2db8d4071df718a1216 Mon Sep 17 00:00:00 2001 From: ESPHome Device Builder Date: Mon, 22 Jun 2026 22:48:14 +1200 Subject: [PATCH] Edit esp-astroclockstepper1.yaml --- esphome/esp-astroclockstepper1.yaml | 104 ++++++++++++++-------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/esphome/esp-astroclockstepper1.yaml b/esphome/esp-astroclockstepper1.yaml index 341f525..cf04bab 100644 --- a/esphome/esp-astroclockstepper1.yaml +++ b/esphome/esp-astroclockstepper1.yaml @@ -91,11 +91,11 @@ substitutions: current_ip_address: ${static_ip_address} # MQTT Topics - mqtt_command_main_topic: !secret mqtt_command_main_topic - mqtt_status_main_topic: !secret mqtt_status_main_topic - mqtt_device_name: "astro-clock-stepper1" - mqtt_command_topic: "${mqtt_command_main_topic}/${mqtt_device_name}" - mqtt_status_topic: "${mqtt_status_main_topic}/${mqtt_device_name}" + #mqtt_command_main_topic: !secret mqtt_command_main_topic + #mqtt_status_main_topic: !secret mqtt_status_main_topic + #mqtt_device_name: "astro-clock-stepper1" + #mqtt_command_topic: "${mqtt_command_main_topic}/${mqtt_device_name}" + #mqtt_status_topic: "${mqtt_status_main_topic}/${mqtt_device_name}" # Device Settings log_level: "INFO" @@ -171,10 +171,10 @@ packages: local_api_key: "${api_key}" #### MQTT #### - common_mqtt: !include - file: common/mqtt_common.yaml - vars: - local_device_name: "${device_name}" + #common_mqtt: !include + # file: common/mqtt_common.yaml + # vars: + # local_device_name: "${device_name}" #### WEB PORTAL #### #common_webportal: !include common/webportal_common.yaml @@ -185,7 +185,7 @@ packages: #### DIAGNOSTICS Sensors #### diag_basic: !include common/include_basic_diag_sensors.yaml - diag_more: !include common/include_more_diag_sensors.yaml + #diag_more: !include common/include_more_diag_sensors.yaml #diag_debug: !include common/include_debug_diag_sensors.yaml #diag_resetcount: !include common/include_resetcount_diag_sensors.yaml @@ -359,7 +359,7 @@ output: id: stepper_in4 pin: ${stepper_in4_pin} - # D1 Mini onboard LED is usually GPIO2 / D4 and active-low + # D1 Mini onboard LED GPIO2 / D4 and active-low - platform: gpio id: onboard_step_led pin: @@ -824,44 +824,44 @@ interval: # Device-specific MQTT command triggers, in addition to common MQTT config # https://esphome.io/components/mqtt.html #:########################################################################################:# -mqtt: - on_message: - - topic: "${mqtt_command_topic}/fast_forward/set" - payload: "ON" - then: - - switch.turn_on: web_fast_forward_switch - - - topic: "${mqtt_command_topic}/fast_forward/set" - payload: "OFF" - then: - - switch.turn_off: web_fast_forward_switch - - - topic: "${mqtt_command_topic}/slow_forward/set" - payload: "ON" - then: - - switch.turn_on: web_slow_forward_switch - - - topic: "${mqtt_command_topic}/slow_forward/set" - payload: "OFF" - then: - - switch.turn_off: web_slow_forward_switch - - - topic: "${mqtt_command_topic}/fast_reverse/set" - payload: "ON" - then: - - switch.turn_on: web_fast_reverse_switch - - - topic: "${mqtt_command_topic}/fast_reverse/set" - payload: "OFF" - then: - - switch.turn_off: web_fast_reverse_switch - - - topic: "${mqtt_command_topic}/slow_reverse/set" - payload: "ON" - then: - - switch.turn_on: web_slow_reverse_switch - - - topic: "${mqtt_command_topic}/slow_reverse/set" - payload: "OFF" - then: - - switch.turn_off: web_slow_reverse_switch \ No newline at end of file +#mqtt: +# on_message: +# - topic: "${mqtt_command_topic}/fast_forward/set" +# payload: "ON" +# then: +# - switch.turn_on: web_fast_forward_switch +# +# - topic: "${mqtt_command_topic}/fast_forward/set" +# payload: "OFF" +# then: +# - switch.turn_off: web_fast_forward_switch +# +# - topic: "${mqtt_command_topic}/slow_forward/set" +# payload: "ON" +# then: +# - switch.turn_on: web_slow_forward_switch +# +# - topic: "${mqtt_command_topic}/slow_forward/set" +# payload: "OFF" +# then: +# - switch.turn_off: web_slow_forward_switch +# +# - topic: "${mqtt_command_topic}/fast_reverse/set" +# payload: "ON" +# then: +# - switch.turn_on: web_fast_reverse_switch +# +# - topic: "${mqtt_command_topic}/fast_reverse/set" +# payload: "OFF" +# then: +# - switch.turn_off: web_fast_reverse_switch +# +# - topic: "${mqtt_command_topic}/slow_reverse/set" +# payload: "ON" +# then: +# - switch.turn_on: web_slow_reverse_switch +# +# - topic: "${mqtt_command_topic}/slow_reverse/set" +# payload: "OFF" +# then: +# - switch.turn_off: web_slow_reverse_switch \ No newline at end of file