1
0
Fork 0

Home Assistant Git Exporter

main
31c0fe9c6dbd74bcdde92e1d2aaa03e1d272f75f 2022-08-26 12:25:05 +10:00
parent 453c3c6e60
commit e1ff8d9087
3 changed files with 15 additions and 12 deletions

View File

@ -230,15 +230,17 @@ automation:
should_slow_battery: > should_slow_battery: >
{{ states('sensor.inverter_pv_power') | float > 5100 and {{ states('sensor.inverter_pv_power') | float > 5100 and
states('sensor.inverter_active_power') | float < 4200 }} states('sensor.inverter_active_power') | float < 4200 }}
enough_in_day: >
{{2*kwh_until_full < states('sensor.solcast_forecast_remaining_today') | float}}
condition: [] condition: []
action: action:
- choose: - choose:
- conditions: - conditions:
- "{{ should_slow_battery and not sunsetting and 2*kwh_until_full < states('sensor.solcast_forecast_remaining_today') | float }}" - "{{ should_slow_battery and not sunsetting and enough_in_day }}"
sequence: sequence:
- service: script.inverter_force_battery_charge - service: script.inverter_force_battery_charge # with low charge rate -- which i have to manually set for now
- conditions: - conditions:
- "{{ states('sensor.inverter_pv_power') | float < 4900 }}" - "{{ states('sensor.inverter_pv_power') | float < 4900 or not enough_in_day or sunsetting }}"
sequence: sequence:
- service: script.inverter_self_consumption - service: script.inverter_self_consumption
default: [] default: []

View File

@ -9,8 +9,8 @@
}, },
"0x00158d0008091c32": { "0x00158d0008091c32": {
"contact": false, "contact": false,
"voltage": 2995, "voltage": 3005,
"battery": 41, "battery": 44,
"temperature": 19, "temperature": 19,
"linkquality": 255, "linkquality": 255,
"device_temperature": 21, "device_temperature": 21,
@ -22,16 +22,16 @@
"battery": 44, "battery": 44,
"temperature": 17, "temperature": 17,
"linkquality": 255, "linkquality": 255,
"device_temperature": 16, "device_temperature": 17,
"power_outage_count": 7 "power_outage_count": 7
}, },
"0x00158d0007e7725b": { "0x00158d0007e7725b": {
"contact": true, "contact": false,
"voltage": 2975, "voltage": 2975,
"battery": 36, "battery": 36,
"temperature": 18, "temperature": 18,
"linkquality": 255, "linkquality": 255,
"device_temperature": 16, "device_temperature": 22,
"power_outage_count": 8 "power_outage_count": 8
}, },
"0x00158d0008091b58": { "0x00158d0008091b58": {
@ -53,7 +53,7 @@
"power_outage_count": 41 "power_outage_count": 41
}, },
"0x5c0272fffee93bae": { "0x5c0272fffee93bae": {
"occupancy": true, "occupancy": false,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 255 "linkquality": 255
@ -67,11 +67,11 @@
"linkquality": 191 "linkquality": 191
}, },
"0xa4c138fda4db2c5e": { "0xa4c138fda4db2c5e": {
"occupancy": true, "occupancy": false,
"battery": 50, "battery": 50,
"sensitivity": "high", "sensitivity": "high",
"keep_time": "120", "keep_time": "120",
"illuminance": 826, "illuminance": 850,
"linkquality": 127 "linkquality": 127
}, },
"0x84b4dbfffe850fda": { "0x84b4dbfffe850fda": {

View File

@ -493,7 +493,8 @@ config:
hours_to_show: 1 hours_to_show: 1
type: logbook type: logbook
filter: filter:
exclude: [] exclude:
- entity_id: /maximise_output/
include: include:
- domain: automation - domain: automation
name: /[Ii]nverter/ name: /[Ii]nverter/