Compare commits
2 Commits
40bbf1ca65
...
d003fd5f0f
| Author | SHA1 | Date | |
|---|---|---|---|
| d003fd5f0f | |||
| 62611ecc37 |
@@ -1 +1 @@
|
|||||||
{"pid": 67, "version": 1, "ha_version": "2025.10.4", "start_ts": 1762379484.0212016}
|
{"pid": 68, "version": 1, "ha_version": "2025.10.4", "start_ts": 1764005948.2089655}
|
||||||
@@ -296,3 +296,38 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: light.luce_salotto
|
entity_id: light.luce_salotto
|
||||||
mode: single
|
mode: single
|
||||||
|
- id: '1763497184744'
|
||||||
|
alias: ETcontroller_pub_setFixHPlimit
|
||||||
|
description: ''
|
||||||
|
triggers:
|
||||||
|
- trigger: state
|
||||||
|
entity_id:
|
||||||
|
- input_select.fix_hp_power
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- action: mqtt.publish
|
||||||
|
metadata: {}
|
||||||
|
data_template:
|
||||||
|
topic: etcontroller/sw/commands
|
||||||
|
payload: "{\"cmd\": \"setFixHPlimit\", \"params\": {\n \"level\": \"{{states('input_select.fix_hp_power')}}\",\n
|
||||||
|
\ \"duration\": {{states('input_number.fix_hp_power_duration')}} }}"
|
||||||
|
mode: single
|
||||||
|
- id: '1764007463105'
|
||||||
|
alias: ETcontroller_fix_limit_copy
|
||||||
|
description: 'This Automation allows to copy status from MQTT read HP Fix Limit
|
||||||
|
set by ETcontroller.py to internal input_select.fix_hp_power in order to align.
|
||||||
|
dashboards when fix_hp_limit expires
|
||||||
|
|
||||||
|
'
|
||||||
|
triggers:
|
||||||
|
- trigger: state
|
||||||
|
entity_id:
|
||||||
|
- sensor.fix_hp_level_read
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- action: input_select.select_option
|
||||||
|
target:
|
||||||
|
entity_id: input_select.fix_hp_power
|
||||||
|
data_template:
|
||||||
|
option: '{{ states(''sensor.fix_hp_level_read'') }}'
|
||||||
|
mode: single
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ triggers:
|
|||||||
id: p1-confort-light-dim
|
id: p1-confort-light-dim
|
||||||
- trigger: sun
|
- trigger: sun
|
||||||
event: sunset
|
event: sunset
|
||||||
offset: 00:30:00
|
offset: 00:15:00
|
||||||
id: p1-confort-light-on
|
id: p1-confort-light-on
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ default_config:
|
|||||||
|
|
||||||
# packages directory
|
# packages directory
|
||||||
homeassistant:
|
homeassistant:
|
||||||
packages: !include_dir_named packages
|
packages: !include_dir_named packages_dir
|
||||||
|
|
||||||
# Load frontend themes from the themes folder
|
# Load frontend themes from the themes folder
|
||||||
frontend:
|
frontend:
|
||||||
@@ -21,6 +21,7 @@ light: !include lights.yaml
|
|||||||
climate: !include climates.yaml
|
climate: !include climates.yaml
|
||||||
binary_sensor: !include binary_sensors.yaml
|
binary_sensor: !include binary_sensors.yaml
|
||||||
template: !include templates.yaml
|
template: !include templates.yaml
|
||||||
|
mqtt: !include mqtt.yaml
|
||||||
|
|
||||||
# DO NOT remove - Sets MariaDB as database
|
# DO NOT remove - Sets MariaDB as database
|
||||||
recorder:
|
recorder:
|
||||||
@@ -47,95 +48,6 @@ logbook:
|
|||||||
- sensor.date_time_iso
|
- sensor.date_time_iso
|
||||||
- sensor.date_time_utc
|
- sensor.date_time_utc
|
||||||
|
|
||||||
# Zigbee Network Map not Working
|
|
||||||
# mqtt:
|
|
||||||
# sensor:
|
|
||||||
# - name: Zigbee2mqtt Networkmap
|
|
||||||
# # if you change base_topic of Zigbee2mqtt, change state_topic accordingly
|
|
||||||
# state_topic: zigbee2mqtt/bridge/response/networkmap
|
|
||||||
# value_template: >-
|
|
||||||
# {{ now().strftime('%Y-%m-%d %H:%M:%S') }}
|
|
||||||
# # again, if you change base_topic of Zigbee2mqtt, change json_attributes_topic accordingly
|
|
||||||
# json_attributes_topic: zigbee2mqtt/bridge/response/networkmap
|
|
||||||
# json_attributes_template: "{{ value_json.data.value | tojson }}"
|
|
||||||
mqtt:
|
|
||||||
- sensor:
|
|
||||||
- name: HP_power
|
|
||||||
unit_of_measurement: "W"
|
|
||||||
unique_id: mon_hp_pw
|
|
||||||
state_topic: monitoring/hw/heatpump
|
|
||||||
value_template: >-
|
|
||||||
{{ value_json.power | int }}
|
|
||||||
- name: HP_max_power
|
|
||||||
unit_of_measurement: "W"
|
|
||||||
unique_id: mon_hp_max_pw
|
|
||||||
state_topic: monitoring/hw/heatpump
|
|
||||||
value_template: >-
|
|
||||||
{{ value_json.hp_max_power | int }}
|
|
||||||
- name: ACS_temp
|
|
||||||
unit_of_measurement: "'C"
|
|
||||||
unique_id: mon_acs_temp
|
|
||||||
state_topic: monitoring/hw/temperatures
|
|
||||||
value_template: >-
|
|
||||||
{{ value_json.acs | int }}
|
|
||||||
- name: Heating_temp
|
|
||||||
unit_of_measurement: "'C"
|
|
||||||
unique_id: mon_heating_temp
|
|
||||||
state_topic: monitoring/hw/temperatures
|
|
||||||
value_template: >-
|
|
||||||
{{ value_json.heating | int }}
|
|
||||||
- name: Solar_temp
|
|
||||||
unit_of_measurement: "'C"
|
|
||||||
unique_id: mon_solar_temp
|
|
||||||
state_topic: monitoring/hw/temperatures
|
|
||||||
value_template: >-
|
|
||||||
{{ value_json.solar | int }}
|
|
||||||
- name: SE_AC_voltage
|
|
||||||
unit_of_measurement: "V"
|
|
||||||
unique_id: mon_se_ac_voltage
|
|
||||||
state_topic: monitoring/se/values
|
|
||||||
value_template: >-
|
|
||||||
{{ (value_json.ac_v | int) / 100 }}
|
|
||||||
- name: SE_AC_current
|
|
||||||
unit_of_measurement: "A"
|
|
||||||
unique_id: mon_se_ac_current
|
|
||||||
state_topic: monitoring/se/values
|
|
||||||
value_template: >-
|
|
||||||
{{ (value_json.ac_i | int) / 100 }}
|
|
||||||
- name: SE_DC_voltage
|
|
||||||
unit_of_measurement: "V"
|
|
||||||
unique_id: mon_se_dc_voltage
|
|
||||||
state_topic: monitoring/se/values
|
|
||||||
value_template: >-
|
|
||||||
{{ (value_json.dc_v | int) / 100 }}
|
|
||||||
- name: SE_DC_current
|
|
||||||
unit_of_measurement: "A"
|
|
||||||
unique_id: mon_se_dc_current
|
|
||||||
state_topic: monitoring/se/values
|
|
||||||
value_template: >-
|
|
||||||
{{ (value_json.dc_i | int) / 100 }}
|
|
||||||
- name: SE_Heatsink_temp
|
|
||||||
unit_of_measurement: "'C"
|
|
||||||
unique_id: mon_se_ht_temperature
|
|
||||||
state_topic: monitoring/se/values
|
|
||||||
value_template: >-
|
|
||||||
{{ (value_json.hs_t | int) / 100 }}
|
|
||||||
- name: SE_Total_power
|
|
||||||
unit_of_measurement: "MW"
|
|
||||||
unique_id: mon_se_tot_p
|
|
||||||
state_topic: monitoring/se/values
|
|
||||||
value_template: >-
|
|
||||||
{{ (value_json.w_tot | int) / 1000000 }}
|
|
||||||
- name: Zigbee2mqtt Networkmap
|
|
||||||
unique_id: zigbee2mqtt_bridge_network_map
|
|
||||||
# if you change base_topic of Zigbee2mqtt, change state_topic accordingly
|
|
||||||
state_topic: zigbee2mqtt/bridge/response/networkmap
|
|
||||||
value_template: >-
|
|
||||||
{{ now().strftime('%Y-%m-%d %H:%M:%S') }}
|
|
||||||
# again, if you change base_topic of Zigbee2mqtt, change json_attributes_topic accordingly
|
|
||||||
json_attributes_topic: zigbee2mqtt/bridge/response/networkmap
|
|
||||||
json_attributes_template: "{{ value_json.data.value | tojson }}"
|
|
||||||
|
|
||||||
# add additional cards
|
# add additional cards
|
||||||
lovelace:
|
lovelace:
|
||||||
mode: yaml
|
mode: yaml
|
||||||
|
|||||||
82
mqtt.yaml
Normal file
82
mqtt.yaml
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
---
|
||||||
|
- sensor:
|
||||||
|
- name: HP_power
|
||||||
|
unit_of_measurement: "W"
|
||||||
|
unique_id: mon_hp_pw
|
||||||
|
state_topic: monitoring/hw/heatpump
|
||||||
|
value_template: >-
|
||||||
|
{{ value_json.power | int }}
|
||||||
|
- name: HP_max_power
|
||||||
|
unit_of_measurement: "W"
|
||||||
|
unique_id: mon_hp_max_pw
|
||||||
|
state_topic: monitoring/hw/heatpump
|
||||||
|
value_template: >-
|
||||||
|
{{ value_json.hp_max_power | int }}
|
||||||
|
- name: ACS_temp
|
||||||
|
unit_of_measurement: "'C"
|
||||||
|
unique_id: mon_acs_temp
|
||||||
|
state_topic: monitoring/hw/temperatures
|
||||||
|
value_template: >-
|
||||||
|
{{ value_json.acs | int }}
|
||||||
|
- name: Heating_temp
|
||||||
|
unit_of_measurement: "'C"
|
||||||
|
unique_id: mon_heating_temp
|
||||||
|
state_topic: monitoring/hw/temperatures
|
||||||
|
value_template: >-
|
||||||
|
{{ value_json.heating | int }}
|
||||||
|
- name: Solar_temp
|
||||||
|
unit_of_measurement: "'C"
|
||||||
|
unique_id: mon_solar_temp
|
||||||
|
state_topic: monitoring/hw/temperatures
|
||||||
|
value_template: >-
|
||||||
|
{{ value_json.solar | int }}
|
||||||
|
- name: SE_AC_voltage
|
||||||
|
unit_of_measurement: "V"
|
||||||
|
unique_id: mon_se_ac_voltage
|
||||||
|
state_topic: monitoring/se/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value_json.ac_v | int) / 100 }}
|
||||||
|
- name: SE_AC_current
|
||||||
|
unit_of_measurement: "A"
|
||||||
|
unique_id: mon_se_ac_current
|
||||||
|
state_topic: monitoring/se/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value_json.ac_i | int) / 100 }}
|
||||||
|
- name: SE_DC_voltage
|
||||||
|
unit_of_measurement: "V"
|
||||||
|
unique_id: mon_se_dc_voltage
|
||||||
|
state_topic: monitoring/se/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value_json.dc_v | int) / 100 }}
|
||||||
|
- name: SE_DC_current
|
||||||
|
unit_of_measurement: "A"
|
||||||
|
unique_id: mon_se_dc_current
|
||||||
|
state_topic: monitoring/se/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value_json.dc_i | int) / 100 }}
|
||||||
|
- name: SE_Heatsink_temp
|
||||||
|
unit_of_measurement: "'C"
|
||||||
|
unique_id: mon_se_ht_temperature
|
||||||
|
state_topic: monitoring/se/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value_json.hs_t | int) / 100 }}
|
||||||
|
- name: SE_Total_power
|
||||||
|
unit_of_measurement: "MW"
|
||||||
|
unique_id: mon_se_tot_p
|
||||||
|
state_topic: monitoring/se/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value_json.w_tot | int) / 1000000 }}
|
||||||
|
- name: fix_hp_level_read
|
||||||
|
unique_id: fix_hp_level_read
|
||||||
|
state_topic: etcontroller/sw/answers
|
||||||
|
value_template: >-
|
||||||
|
{{ value_json['values'].level }}
|
||||||
|
- name: Zigbee2mqtt Networkmap
|
||||||
|
unique_id: zigbee2mqtt_bridge_network_map
|
||||||
|
# if you change base_topic of Zigbee2mqtt, change state_topic accordingly
|
||||||
|
state_topic: zigbee2mqtt/bridge/response/networkmap
|
||||||
|
value_template: >-
|
||||||
|
{{ now().strftime('%Y-%m-%d %H:%M:%S') }}
|
||||||
|
# again, if you change base_topic of Zigbee2mqtt, change json_attributes_topic accordingly
|
||||||
|
json_attributes_topic: zigbee2mqtt/bridge/response/networkmap
|
||||||
|
json_attributes_template: "{{ value_json.data.value | tojson }}"
|
||||||
Reference in New Issue
Block a user