Home Assistant Git Exporter

This commit is contained in:
root
2024-05-31 09:39:52 +02:00
parent cd6fa93633
commit d5ccfbb540
1353 changed files with 43876 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
#----------------------------------------
#
# lux
#
#----------------------------------------
#- unique_id: luminosite_salon_01
# state_topic: "sensor/lux"
# name: "Luminosité"
# device_class: illuminance
# unit_of_measurement: "lx"
# value_template: "{{ value | round(1) }}"
#- unique_id: courant_t_div_01
# state_topic: "arduino/garage/intensite"
# name: "Intensité t_divisionnaire"
# unit_of_measurement: "A"
# device_class: current
# value_template: "{{ value | round(1) }}"
#- unique_id: power_t_div_01
# state_topic: "arduino/garage/puissance"
# name: "Puissance t_divisionnaire"
# device_class: power
# unit_of_measurement: "W"
# value_template: "{{ value | round(1) }}"
#----------------------------------------
#
# chauffage reglage PID
#
#----------------------------------------
- unique_id: "chauff_pid_payload_01"
state_topic: "sensor/chauff/pid/payload"
name: "payload"
- unique_id: "chauff_pid_pv_01"
state_topic: "sensor/chauff/pid/pv"
name: "pv"
value_template: "{{ value | round(3) }}"
- unique_id: "chauff_pid_setpoint_01"
state_topic: "sensor/chauff/pid/setpoint"
name: "setpoint"
- unique_id: "chauff_pid_proportional_01"
state_topic: "sensor/chauff/pid/proportional"
name: "P"
value_template: "{{ value | round(3) }}"
- unique_id: "chauff_pid_integral_01"
state_topic: "sensor/chauff/pid/integral"
name: "I"
value_template: "{{ value | round(3) }}"
- unique_id: "chauff_pid_pderivative_01"
state_topic: "sensor/chauff/pid/derivative"
name: "D"
value_template: "{{ value | round(3) }}"
- unique_id: tempe_pc_domotic
state_topic: "domotic/ISAadapter/Package id 0"
name: "Temp PC Domotic"
device_class: temperature
unit_of_measurement: "°C"
value_template: "{{ value | round(1) }}"

View File

@@ -0,0 +1,33 @@
#arduino mega avec pzem
- unique_id: "tab_domo_voltage"
state_topic: "comble/pzem/voltage"
name: "voltage_tableau_domotique"
device_class: voltage
unit_of_measurement: "V"
state_class: measurement
value_template: "{{ value | round(12) }}"
- unique_id: "tab_domo_current"
state_topic: "comble/pzem/courant"
name: "courant_tableau_domotique"
device_class: current
unit_of_measurement: "A"
state_class: measurement
value_template: "{{ value | round(2) }}"
- unique_id: "tab_domo_power"
state_topic: "comble/pzem/power"
name: "Power_tableau_domotique"
icon: mdi:solar-power
device_class: power
unit_of_measurement: "W"
state_class: measurement
value_template: "{{ value | round(1) }}"
- unique_id: "tab_domo_energy_total"
state_topic: "comble/pzem/energy"
name: "tableau_domotique_Energy"
device_class: energy
state_class: total_increasing
unit_of_measurement: "Wh"
value_template: "{{ value | round(2) }}"

View File

@@ -0,0 +1,97 @@
######################################################################
## chaudiere
## actual value - input register
# register_type: input
## FC=04 de 30001-30272 enlever 1 a register
######################################################################
- unique_id: temp_chaud_01
state_topic: "chaudiere/t_chaud"
unit_of_measurement: "°C"
device_class: temperature
name: "T° chaudiere"
- unique_id: temp_fumee_01
state_topic: "chaudiere/t_fumee"
name: "T° fumée"
device_class: temperature
unit_of_measurement: "°C"
- unique_id: temp_board_01
state_topic: "chaudiere/t_board"
name: "T° board"
device_class: temperature
unit_of_measurement: "°C"
- unique_id: temp_ext_N_01
state_topic: "chaudiere/t_ext"
name: "T°exterieur nord"
device_class: temperature
unit_of_measurement: "°C"
- unique_id: venti_chaud_01
state_topic: "chaudiere/vit_venti"
name: "Ventilation"
unit_of_measurement: "U/min"
- unique_id: heure_chauff_01
state_topic: "chaudiere/h_chauffage"
name: "Heure de chauffage"
unit_of_measurement: "h"
- unique_id: heure_serv_01
state_topic: "chaudiere/h_service"
name: "Heure de service"
unit_of_measurement: "h"
- unique_id: temp_dep_chauff_01
state_topic: "chaudiere/t_dep_chauff"
name: "T° départ"
device_class: temperature
unit_of_measurement: "°C"
- unique_id: charge_tampon_01
state_topic: "chaudiere/charge_tampon"
name: "Charge du tampon"
- unique_id: tampon_haut_01
state_topic: "chaudiere/tampon_haut"
name: "tampon haut"
device_class: temperature
unit_of_measurement: "°C"
- unique_id: tampon_bas_01
state_topic: "chaudiere/tampon_bas"
name: "tampon bas"
device_class: temperature
unit_of_measurement: "°C"
- unique_id: temp_cons_fumee_01
state_topic: "chaudiere/cons_t_fumee"
name: "Consigne T° fumée"
device_class: temperature
unit_of_measurement: "°C"
- unique_id: etat_chaud_01
state_topic: "chaudiere/etat_chaudiere"
name: "Etat chaudiere"
- unique_id: O2_resi_01
state_topic: "chaudiere/O2_res"
name: "O2_residuel"
######################################################################
## chaudiere
## parameter - holding registers
# register_type: holding
## FC=03 de 40001-41094 enlever 1 a register
######################################################################

View File

@@ -0,0 +1,40 @@
# pc portable lenovo battery
- unique_id: portable_lenovo_battery
name: portable_lenovo_battery
device_class: battery
unit_of_measurement: "%"
# payload_on: low
# payload_off: normal
qos: 1
#availability_topic: home/downstairs/living-room/front-windows/availability
#payload_available: online
#payload_not_available: offline
state_topic: computer/lenovo
value_template: "{{ value_json.percent }}"
- unique_id: portable_elitebook_corei5
name: portable_elitebook_corei5
device_class: battery
unit_of_measurement: "%"
# payload_on: low
# payload_off: normal
qos: 1
#availability_topic: home/downstairs/living-room/front-windows/availability
#payload_available: online
#payload_not_available: offline
state_topic: computer/corei5
value_template: "{{ value_json.percent }}"
- unique_id: portable_elitebook_centrino
name: portable_elitebook_centrino
device_class: battery
unit_of_measurement: "%"
# payload_on: low
# payload_off: normal
qos: 1
#availability_topic: home/downstairs/living-room/front-windows/availability
#payload_available: online
#payload_not_available: offline
state_topic: computer/centrino
value_template: "{{ value_json.percent }}"

View File

@@ -0,0 +1,244 @@
# # modbus sensors for EPEver
# - unique_id: "array_voltage"
# ## reg 3100
# state_topic: "tracer/sensor/tracer_1_pv_array_voltage"
# name: "solar_PV_Voltage"
# device_class: voltage
# unit_of_measurement: 'V'
# state_class: measurement
# value_template: "{{ value | round(12) }}"
# - unique_id: "array_current"
# ## reg 3101
# state_topic: "tracer/sensor/tracer_1_pv_array_current"
# name: "solar_PV_Current"
# device_class: current
# unit_of_measurement: 'A'
# state_class: measurement
# value_template: "{{ value | round(2) }}"
# - unique_id: "array_power"
# ## reg 3102 3103
# state_topic: "tracer/sensor/tracer_1_pv_array_power"
# name: "solar_PV_Power"
# icon: mdi:solar-power
# device_class: power
# unit_of_measurement: 'W'
# state_class: measurement
# value_template: "{{ value | round(1) }}"
# - unique_id: "battery_voltage"
# ## reg 3104
# state_topic: "tracer/sensor/tracer_1_battery_voltage"
# name: "solar_Battery_Voltage"
# device_class: voltage
# unit_of_measurement: 'V'
# state_class: measurement
# value_template: "{{ value | round(1) }}"
# - unique_id: "battery_charging_current"
# ##reg 3105
# state_topic: "tracer/sensor/tracer_1_battery_charging_current"
# name: "Battery_charging_Current"
# device_class: current
# unit_of_measurement: 'A'
# state_class: measurement
# value_template: "{{ value | round(1) }}"
# - unique_id: "max_battery_voltage_today_01"
# #reg 3302
# state_topic: "tracer/sensor/tracer_1_max_battery_voltage_today"
# name: "solar_Battery_Max_Voltage"
# device_class: voltage
# unit_of_measurement: 'V'
# state_class: measurement
# value_template: "{{ value | round(1) }}"
# - unique_id: "min_battery_voltage_today_01"
# #reg 3303
# state_topic: "tracer/sensor/tracer_1_min_battery_voltage_today"
# name: "solar_Battery_Min_Voltage"
# device_class: voltage
# unit_of_measurement: 'V'
# state_class: measurement
# value_template: "{{ value | round(1) }}"
# - unique_id: "net_battery_current"
# ##reg 331B-331C
# state_topic: "tracer/sensor/tracer_1_net_battery_current"
# name: "net_Battery_Current"
# device_class: current
# unit_of_measurement: 'A'
# state_class: measurement
# value_template: "{{ value | round(1) }}"
# - unique_id: "battery_power"
# state_topic: "tracer/registers/Charging equipment output power/value"
# name: "solar_Battery_Power"
# device_class: power
# unit_of_measurement: 'W'
# state_class: measurement
# value_template: "{{ value | round(1) }}"
# - unique_id: "battery_temperature"
# #reg 3110
# state_topic: "tracer/sensor/tracer_1_battery_temperature"
# name: "solar_Battery_Temperature"
# icon: mdi:thermometer
# device_class: temperature
# state_class: measurement
# unit_of_measurement: '°C'
# value_template: "{{ value | round(1) }}"
# - unique_id: "battery_SOC"
# #reg 311A
# state_topic: "tracer/sensor/tracer_1_battery_soc"
# name: "solar_Battery_SOC"
# unit_of_measurement: '%'
# value_template: "{{ value | round(1) }}"
# - unique_id: "device_temperature"
# #reg 3111
# state_topic: "tracer/sensor/tracer_1_charger_temperature"
# name: "solar_device_Temperature"
# device_class: temperature
# state_class: measurement
# unit_of_measurement: '°C'
# value_template: "{{ value | round(1) }}"
# - unique_id: "solar_PV_status"
# ## reg 3201
# state_topic: "tracer/sensor/tracer_1_equipment_status"
# name: "solar_PV_Status"
# # device_class: energy
# #unit_of_measurement: 'kW'
# value_template: "{{ value }}"
# - unique_id: "battery_status"
# ## reg 3200
# state_topic: "tracer/sensor/tracer_1_battery_status"
# name: "solar_battery_Status"
# value_template: "{{ value }}"
# - unique_id: "generated_energy_today"
# ## reg 330C-330D
# state_topic: "tracer/sensor/tracer_1_generated_energy_today"
# name: "generated_Today_Energy"
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: 'kWh'
# value_template: "{{ value | round(2) }}"
# - unique_id: "generated_energy_total"
# ##reg 330A-330B
# state_topic: "tracer/sensor/tracer_1_total_generated_energy"
# name: "generated_total_Energy"
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: 'kWh'
# value_template: "{{ value | round(2) }}"
# - unique_id: "generated_energy_month"
# ## reg 330E-330F
# state_topic: "tracer/sensor/tracer_1_generated_energy_this_month"
# name: "generated_month_Energy"
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: 'kWh'
# value_template: "{{ value | round(2) }}"
# - unique_id: "generated_energy_year"
# ##reg 330A-330B
# state_topic: "tracer/sensor/tracer_1_generated_energy_this_year"
# name: "generated_year_Energy"
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: 'kWh'
# value_template: "{{ value | round(2) }}"
# - unique_id: "load power"
# ##reg 310E-310F
# state_topic: "tracer/sensor/tracer_1_load_power"
# name: "DC_Load_Power"
# device_class: power
# unit_of_measurement: 'W'
# state_class: measurement
# value_template: "{{ value | round(2) }}"
# - unique_id: "load voltage"
# ## reg 310C
# state_topic: "tracer/sensor/tracer_1_load_voltage"
# name: "DC_Load_Voltage"
# device_class: voltage
# unit_of_measurement: 'V'
# state_class: measurement
# value_template: "{{ value | round(2) }}"
# - unique_id: "load current"
# ## reg 310D
# state_topic: "tracer/sensor/tracer_1_load_current"
# name: "DC_Load_Courant"
# device_class: current
# unit_of_measurement: 'A'
# state_class: measurement
# value_template: "{{ value | round(2) }}"
# - unique_id: "tracer_1_day_night"
# ## reg 200C
# state_topic: "tracer/sensor/tracer_1_day/night"
# name: "solar_Day_Night"
# #device_class: energy
# #unit_of_measurement: 'kW'
# value_template: "{{ value }}"
# - unique_id: "energy_today"
# ## reg 330C-330D
# state_topic: "tracer/sensor/tracer_1_consumed_energy_today"
# name: "consumed_Today_Energy"
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: 'kWh'
# value_template: "{{ value | round(2) }}"
# - unique_id: "consumed_energy_total"
# ##reg 330A-330B
# state_topic: "tracer/sensor/tracer_1_total_consumed_energy"
# name: "consumed_Total_Energy"
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: 'kWh'
# value_template: "{{ value | round(2) }}"
# - unique_id: "consumed_energy_month"
# ##reg 330A-330B
# state_topic: "tracer/sensor/tracer_1_consumed_energy_this_month"
# name: "consumed_Month_Energy"
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: 'kWh'
# value_template: "{{ value | round(2) }}"
# - unique_id: "consumed_energy_year"
# ##reg 330A-330B
# state_topic: "tracer/sensor/tracer_1_consumed_energy_this_year"
# name: "consumed_Year_Energy"
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: 'kWh'
# value_template: "{{ value | round(2) }}"
# - unique_id: "charging mode"
# ## reg 3201
# state_topic: "tracer/sensor/tracer_1_charging_mode"
# name: "charging mode"
# # device_class: energy
# #unit_of_measurement: 'kW'
# value_template: "{{ value | round(1) }}"
# - unique_id: "servo_pos1"
# ## reg 3201
# state_topic: "arduinomegatest/servo/status"
# name: "servo_pos"
# # device_class: energy
# #unit_of_measurement: 'kW'
# # value_template: "{{ value }}"

View File

@@ -0,0 +1,49 @@
# - unique_id: ecuR_courant
# state_topic: "stat/ecu_r/current"
# name: "courant ecuR"
# device_class: current
# unit_of_measurement: "A"
# value_template: "{{ value | round(1) }}"
# - unique_id: ecuR_tension
# state_topic: "stat/ecu_r/volt"
# name: "tension ecuR"
# device_class: voltage
# unit_of_measurement: "V"
# value_template: "{{ value | round(1) }}"
# - unique_id: ecuR_puissance
# state_topic: "stat/ecu_r/power"
# name: "puissance ecuR"
# device_class: power
# unit_of_measurement: "W"
# value_template: "{{ value | round(1) }}"
# - unique_id: ecuR_frequence
# state_topic: "stat/ecu_r/frequency"
# name: "frequence ecuR"
# device_class: frequency
# unit_of_measurement: "Hz"
# value_template: "{{ value | round(1) }}"
# - unique_id: ecuR_cos_phi
# state_topic: "stat/ecu_r/cos_phi"
# name: "cos Phi ecuR"
# device_class: power_factor
# unit_of_measurement: "%"
# value_template: "{{ value | round(1) }}"
# - unique_id: ecuR_temperature
# state_topic: "stat/ecu_r/temperature"
# name: "temperature ecuR"
# device_class: temperature
# unit_of_measurement: "°C"
# value_template: "{{ value | round(1) }}"
# - unique_id: ecuR_energy_today
# state_topic: "stat/ecu_r/energy_today"
# name: "energy_today ecuR"
# device_class: energy
# unit_of_measurement: "Wh"
# value_template: "{{ value | round(1) }}"
# state_class: total_increasing

View File

@@ -0,0 +1,62 @@
---
#----------------------------------------
#
# temperature
#
#----------------------------------------
- unique_id: temp_bureau_01
state_topic: "temp/bureau"
name: "T Bureau"
device_class: temperature
unit_of_measurement: "°C"
value_template: "{{ value | round(1) }}"
#- unique_id: temp_cave_01
# state_topic: "temp/cave"
# name: "T Cave"
# device_class: temperature
# unit_of_measurement: "°C"
# value_template: "{{ value | round(1) }}"
#- unique_id: temp_garage_01
# state_topic: "temp/garage"
# name: "T Garage"
# device_class: temperature
# unit_of_measurement: "°C"
# value_template: "{{ value | round(1) }}"
- unique_id: temp_chambre_01
state_topic: "temp/chambre1"
name: "T Chambre1"
device_class: temperature
unit_of_measurement: "°C"
value_template: "{{ value | round(1) }}"
- unique_id: temp_chambre_02
state_topic: "temp/chambre2"
name: "T Chambre2"
unit_of_measurement: "°C"
device_class: temperature
value_template: "{{ value | round(1) }}"
- unique_id: temp_comble_01
state_topic: "temp/comble"
name: "T Comble"
device_class: temperature
unit_of_measurement: "°C"
value_template: "{{ value | round(1) }}"
- unique_id: hum_sdb_01
state_topic: "hum/sdb"
name: "H% salle de bain"
device_class: humidity
unit_of_measurement: "%"
value_template: "{{ value | round(1) }}"
- unique_id: temp_sdb_01
state_topic: "temp/sdb"
name: "T salle de bain"
device_class: temperature
unit_of_measurement: "°C"
value_template: "{{ value | round(1) }}"