Skip to content

Commit

Permalink
Test MQTT example config
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Mar 10, 2024
1 parent 2042cec commit 70aefdd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
8 changes: 6 additions & 2 deletions WomoLinControllerEthernet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,16 @@ truma_inetbox:
# # Advanced users can use `on_heater_message` action. The heater data is in the `message` variable.
# on_heater_message:
# then:
# - logger.log: "Message from CP Plus."
# - logger.log:
# format: "Message from CP Plus."
# level: INFO
# - if:
# condition:
# lambda: return message->operating_status == truma_inetbox::OperatingStatus::OPERATING_STATUS_OFF;
# then:
# - logger.log: "Heater is off."
# - logger.log:
# format: "Heater is off."
# level: INFO

binary_sensor:
- platform: truma_inetbox
Expand Down
11 changes: 8 additions & 3 deletions WomoLinControllerEthernetMqtt.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
esphome:
# https://womolin.de/products/womolin-lin-controller/
name: "womo_lin_controller"
name: "womo_lin_controller_mqtt"

external_components:
- source: github://Fabian-Schmidt/esphome-truma_inetbox
Expand Down Expand Up @@ -32,6 +32,7 @@ ethernet:
mqtt:
id: mqtt_client
broker: 192.168.1.1
username: womo_lin_controller

uart:
- id: lin_uart_bus
Expand All @@ -48,12 +49,16 @@ truma_inetbox:
# # Advanced users can use `on_heater_message` action. The heater data is in the `message` variable.
# on_heater_message:
# then:
# - logger.log: "Message from CP Plus."
# - logger.log:
# format: "Message from CP Plus."
# level: INFO
# - if:
# condition:
# lambda: return message->operating_status == truma_inetbox::OperatingStatus::OPERATING_STATUS_OFF;
# then:
# - logger.log: "Heater is off."
# - logger.log:
# format: "Heater is off."
# level: INFO

binary_sensor:
- platform: truma_inetbox
Expand Down

0 comments on commit 70aefdd

Please sign in to comment.