nathanmarlor / foxess_modbus

FoxESS inverter integration. Connect directly to your FoxESS inverter (no cloud!) for real-time status and control.
MIT License
105 stars 14 forks source link

Hass 2024.7 broke this integration #638

Closed canton7 closed 3 days ago

canton7 commented 6 days ago

See #635.

Please do not open other issues!

R1200G commented 5 days ago

All my entities are not available. Integration not working anymore..

Ndrinta commented 5 days ago

To "fix" this, at least until the amazing devs will release an actual fix, simply open the terminal and downgrade using the command:

--version 2024.6.4

Which is the latest version of HA known working with this integration.

bbrks commented 5 days ago

Reposting from linked discussion for visibility:

If you've upgraded to 2024.7.0 and want to temporarily fix this integration without downgrading, you can:

  1. Add from datetime import timedelta near the top of the file.
  2. Add max_sub_interval=timedelta(minutes=5), to the IntegrationSensor.__init__ as shown below.

Do it via the file editor and restart HA after you've done this.

Screenshot 2024-07-04 at 09 57 24 Screenshot 2024-07-04 at 09 57 16

_Originally posted by @bbrks in https://github.com/nathanmarlor/foxess_modbus/discussions/635#discussioncomment-9952574_

Rill189 commented 5 days ago

Thanks, although my PV sensor took a while to start again and display in history? Will future updates likely be broken due to the extra code added?

muhkuh666 commented 4 days ago

Is a fix already online when upgrading HASS ?

canton7 commented 4 days ago

Is a fix already online when upgrading HASS ?

No. I might have a chance to do a fix this weekend.

Rill189 commented 4 days ago

Is a fix already online when upgrading HASS ?

No. I might have a chance to do a fix this weekend.

Thanks for the quick response. Would any fix you implement break the integration if the manual fix has been applied above?

Thanks

Rill189 commented 3 days ago

Is it safe to install 2024.7.1?

screenagerbe commented 3 days ago

Is it safe to install 2024.7.1?

Nope, I tried it yesterday and I had to revert to v2024.6.4

canton7 commented 3 days ago

Fixed in 1.12.1

sleepymaxx commented 2 days ago

Again and again --- Thanks for your great work!!!!