Skip to content

Fox inverter grid power - #2636

Merged
springfall2008 merged 4 commits into
springfall2008:mainfrom
JustinWingChungHui:fox_inverter_grid_power
Sep 13, 2025
Merged

springfall2008 merged 4 commits into
springfall2008:mainfrom
JustinWingChungHui:fox_inverter_grid_power

Conversation

@JustinWingChungHui

Copy link
Copy Markdown
Contributor

grid_power is missing from the fox.yaml. I had to create up a template sensor to supply the values.

Is the best way to add comments into the fox template?

@WyndStryke

Copy link
Copy Markdown

Do you have sensor.grid_ct from the FoxESS modbus integration available? It's in kW, positive export, negative import.

Some sensors are inverter-specific, and some are disabled by default (so would need to be enabled). I'm not sure whether this one is in that group.

  #
  # Sensors, more than one can be specified and they will be summed up automatically
  #
  # For two inverters the load today would normally be the master load sensor only (to cover the entire house)
  # If you have three phase and one inverter per phase then you would need three load sensors
  #
  # For pv_today if you have multiple solar inverter inputs then you should include one entry for each inverter
  #
  load_today:
    - sensor.shelly_3em_c8_ch_b_daily_energy
  import_today:
    - sensor.grid_consumption_energy_today
  export_today:
    - sensor.feed_in_energy_today
  pv_today:
    - sensor.solar_energy_today
  grid_power:
    - sensor.grid_ct

Adding in grid_power: - sensor.grid_ct on my system now displays activity from the grid on the power flow chart, whereas previously it was displaying no grid activity.

@JustinWingChungHui

Copy link
Copy Markdown
Contributor Author

You are right! Let me amend that PR

@springfall2008
springfall2008 merged commit 5c73057 into springfall2008:main Sep 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants