first version of the boiler controlled by ebusd
This commit is contained in:
1 parent
c21291e9dd
commit
a2f40f81ba
7 files changed
+819
-2
No files matched your search
@@ -0,0 +1,47 @@
|
||||
# Installed through HA's automation configuration API. This is the reviewable
|
||||
# source copy; do not also include it as a package if the automations exist.
|
||||
automation:
|
||||
- id: appdaemon_radiator_heating_bridge
|
||||
alias: AppDaemon - Chauffage radiateurs - Retour MQTT
|
||||
description: Transmet les commandes du climate et les retours C6 à AppDaemon.
|
||||
triggers:
|
||||
- trigger: mqtt
|
||||
topic: appdaemon/radiator_heating/command/+
|
||||
- trigger: mqtt
|
||||
topic: themaplus-condens/bai/SetMode
|
||||
- trigger: mqtt
|
||||
topic: themaplus-condens/bai/Statenumber
|
||||
- trigger: mqtt
|
||||
topic: themaplus-condens/bai/FlowTemp
|
||||
- trigger: mqtt
|
||||
topic: homeassistant/status
|
||||
actions:
|
||||
- event: APPDAEMON_BOILER_MQTT
|
||||
event_data:
|
||||
topic: '{{ trigger.topic }}'
|
||||
payload: '{{ trigger.payload }}'
|
||||
mode: queued
|
||||
max: 50
|
||||
- id: appdaemon_radiator_heating_watchdog
|
||||
alias: AppDaemon - Chauffage radiateurs - Disponibilité
|
||||
description: Marque le climate indisponible après trois minutes sans heartbeat.
|
||||
triggers:
|
||||
- trigger: mqtt
|
||||
topic: appdaemon/radiator_heating/heartbeat
|
||||
id: heartbeat
|
||||
- trigger: homeassistant
|
||||
event: start
|
||||
id: startup
|
||||
actions:
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: "{{ trigger.id == 'heartbeat' }}"
|
||||
then:
|
||||
- delay:
|
||||
minutes: 3
|
||||
- action: mqtt.publish
|
||||
data:
|
||||
topic: appdaemon/radiator_heating/availability
|
||||
payload: offline
|
||||
retain: true
|
||||
mode: restart
|
||||
Reference in new issue
Block a user