weather station esphome and others

This commit is contained in:
root
2024-05-27 22:20:04 +12:00
parent 945177d535
commit 155725ba3a
32 changed files with 4341 additions and 182 deletions

View File

@@ -1,27 +1,39 @@
mqtt:
sensor:
- unique_id: 32a_ev_charger_power
name: "32A EV Charger Power"
- unique_id: 32a_ev_wallcharger_power
name: "32A EV Wallcharger Power"
device_class: power
unit_of_measurement: kW
state_topic: "stat/tasmo-wemosd1-7280-powermon-1/EnergyMeterCount"
value_template: "{{ value_json.EVChargerWhCount * 2 * 60 }}"
- unique_id: 16a_ev_charger_power
name: "16A EV Charger Power"
value_template: "{{ value_json.EVChargerWhCount * 2 * 60 / 1000 }}"
- unique_id: 16a_ev_wallcharger_power
name: "16A EV Wallcharger Power"
device_class: power
unit_of_measurement: kW
state_topic: "stat/tasmo-s4chan-7594-garage-1/EnergyMeterCount"
value_template: "{{ value_json.EVChargerWhCount * 2 * 60 }}"
value_template: "{{ value_json.EVChargerWhCount * 2 * 60 / 1000 }}"
# Use the Riemann sum integral to calculate energy in kWh
# from the contimuous power measuring sensors
sensor:
- platform: integration
unique_id: 32a_ev_charger_power_total
name: "32A EV Charger Power Total"
source: sensor.32a_ev_charger_power
#unit_prefix: k
#round: 2
unique_id: 32a_ev_wallcharger_power_total
name: "32A EV Wallcharger Power Total"
source: sensor.32a_ev_wallcharger_power
#device_class: energy
#unit_of_measurement: Wh
#unit_time: h
#unit_prefix: k # Show in kWh
round: 0 # Only need 0 decimals accuracy
- platform: integration
unique_id: 16a_ev_charger_power_total
name: "16A EV Charger Power Total"
source: sensor.16a_ev_charger_power
unique_id: 16a_ev_wallcharger_power_total
name: "16A EV Wallcharger Power Total"
source: sensor.16a_ev_wallcharger_power
#device_class: energy
#unit_of_measurement: Wh
#unit_time: h
#unit_prefix: k
#round: 2
round: 0
input_select:
leaf_ev_charging_mode: