Improve fox template#2174
Conversation
|
This is mine: Fox_template_work_in_progress.yaml.txt Among the bigger changes from the original are the following:
It does include stuff relevant only to me, so can't be used as-is (charge + discharge rates reduced below the inverter's rating, tariff details, etc). I tried to get target_soc working (charge_limit: - number.max_soc), but it was problematic (it set the target soc down to the reserve during the day, which meant that it completely blocked all charging, including PV clipping etc). So that bit is commented out. Pinging known Fox users for feedback: |
|
Looks good, although it would probably be better to put the template stuff into the Predbat repo too? |
| write_and_poll_sleep: 2 | ||
| has_time_window: False | ||
| support_charge_freeze: False | ||
| support_charge_freeze: True |
There was a problem hiding this comment.
Is this correct? As is enabling charge_freeze but later adding the discharge_freeze_service and not the charge_freeze_service?
There was a problem hiding this comment.
Is this correct? As is enabling charge_freeze but later adding the discharge_freeze_service and not the charge_freeze_service?
I think it would be good to merge in some or all of the following:
...
has_reserve_soc: True
support_charge_freeze: true
support_discharge_freeze: true
...
discharge_freeze_service:
service: select.select_option
entity_id: select.work_mode
option: "Feed-in First"
charge_freeze_service:
service: select.select_option
entity_id: select.work_mode
option: "Back-up"
...
# Reserve SoC is used for Freeze Charge and Hold Charge modes. This must never be set to less than 10%
# (to match 90% DoD) and preferably a little higher to be safe.
# Also see the predbat setting input_number.predbat_set_reserve_min which should be set to 10 minimum,
# and input_number.predbat_best_soc_min which needs to be set >= kWh equivalent of that.
reserve:
- number.min_soc_on_grid
...
battery_min_soc:
- sensor.min_soc
...
# sensor.bms_kwh_remaining relies on recent firmware, replace with literal for the kWh nominal capacity if unavailable
soc_max:
- sensor.bms_kwh_remaining
...
# sensor.bms_cell_temp_low relies on recent firmware, comment out if unavailable
battery_temperature:
- sensor.bms_cell_temp_low
battery_temperature_history:
- sensor.bms_cell_temp_low
...
battery_scaling:
- 1.0
...
# Carbon Intensity data from National grid
carbon_intensity: 're:(sensor.carbon_intensity_uk)'
As detailed in #1964, Fox inverter users need:
Confirmed working on my H1-G2.