Clarification of house_battery_control_config.yaml setup.
Let me start off with that I am not experienced with coding etc. My HA
I followed the written manual and YouTube video to configure [house_battery_control_config.yaml]. This resulted in a PID-output of -2500w continuously. This was because I misconfigured the config.
The way it is now explained, it looked like I only needed to edit state: "{{ states('sensor.l1_meter_power') }}" # << SET YOUR GRID POWER SENSOR HERE and I could comment out row 8 - 16. So I edited the l1_meter_power into sensor.electricity_meter_power_consumption. This was my error.
Instead I should have configured:
{% set consumption = states('sensor.electricity_meter_power_consumption_phase_l1') | float(0) %}
{% set production = states('sensor.electricity_meter_power_production_phase_l1') | float(0) %}
Could you perhaps clarify this a bit more in the video and/or manual? As a person with limited experience in this matter, I misunderstood de instructions and it took me a while to figure it out.
Hi JMC-HA,
Double checking I understand you correctly:
The current instruction video and config.yaml fail to convey clearly when you should replace the sensor.l1_meter_power or when to replace the separated consumption/production sensors?
Good point.
Yes that is correct.
The instructions on github only give you this:
Set your P1 sensor (/packages/house_battery_control_config.yaml)
The yaml says: SET YOUR GRID POWER SENSOR HERE. This gives the impression that you need to change that sensor.
The video gives similar instructions. I dont believe I have seen any instructions on if or when you should edit other parameters.