safepay / sensor.fronius

A Fronius Sensor for Home Assistant
MIT License
80 stars 32 forks source link

AC Power can’t be 0 At night since last update #26

Closed AbsolutJohan closed 4 years ago

AbsolutJohan commented 4 years ago

The last update was working fine, no drop outs, until the evening. The panels are not producing anything but AC power can’t go down to 0. So the whole power wheel and other things shows wrong data. Otherwise, great work!! 37255639-FD1F-4A57-AC0F-E154AC066E5A

nilrog commented 4 years ago

This a drawback from the Fronius API. In some of the endpoints it omits some data (like PAC in this case) when the inverter is not active, instead of continuing to send that data with the true value of 0. This is once case I didn't look at when I fixed the latest bug so I can try to see if fixing this is easy and doesn't break anything else.

There are however two options you can use, for now at least.

  1. Use fronius_panel_status instead of fronius_ac_power as input to the power wheel, like the README suggests.
  2. Use scope: System instead of Device. This enpoint will return PAC (0) when the inverter is down.
AbsolutJohan commented 4 years ago

Okey, thank you. I will use the fronius_panel_status instead!