batpred
batpred copied to clipboard
Set Min Backup not working - Sigenergy
Missing an automation to set the min backup
- id: "automation_sigen_ess_backup_state_of_charge_input_number_action"
alias: "Predbat Set Reserve Min action"
description: "Mapper from input_number.predbat_set_reserve_min to number.sigen_plant_ess_backup_state_of_charge"
triggers:
- trigger: state
entity_id: input_number.predbat_set_reserve_min
action:
- action: number.set_value
target:
entity_id: number.sigen_plant_ess_backup_state_of_charge
data:
value: "{{ states('input_number.predbat_set_reserve_min') | int }}"
mode: single
I don't really understand this, surely the reserve setting for the inverter in apps.yaml should just point to 'number.sigen_plant_ess_backup_state_of_charge'?
It could do but its not in the template.
What would the entry in apps.yaml be for this to work?
It could do but its not in the template.
What would the entry in apps.yaml be for this to work?
the entry in apps.yaml would be:
reserve:
- number.sigen_plant_ess_backup_state_of_charge
However, just adding that, I don't think predbat will recognise the reserve configuration as the SIG inverter definition coded in predbat has that Sig inverters don't have a reserve control.
To fix this, and to test this change, you need to edit 'config.py' in the predbat addon directory, search for "SIG" to find the inverter definition.
It will look like this:
"SIG": {
"name": "Sigenergy Sigenstor",
"has_rest_api": False,
"has_mqtt_api": False,
"output_charge_control": "power",
"charge_control_immediate": True,
"has_charge_enable_time": False,
"has_discharge_enable_time": False,
"has_target_soc": False,
"has_reserve_soc": False,
"has_timed_pause": False,
"charge_time_format": "S",
"charge_time_entity_is_option": False,
"soc_units": "%",
"num_load_entities": 1,
"has_ge_inverter_mode": False,
"time_button_press": False,
"clock_time_format": "%Y-%m-%d %H:%M:%S",
"write_and_poll_sleep": 4,
"has_time_window": False,
"support_charge_freeze": True,
"support_discharge_freeze": True,
"has_idle_time": False,
"can_span_midnight": True,
"charge_discharge_with_rate": False,
"target_soc_used_for_discharge": True,
},
change the line "has_reserve_soc" from False to True
Give it a go and let me know
looping in @azebro and @TypQxQ
Thats working as expected. Want me to raise that PR or you happy to?
Thats working as expected. Want me to raise that PR or you happy to?
I'll do it as part of the documentation update, thanks for confirming it works.
Have just responded to you on the freeze charge change