Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLARMAN INTEGRATION BROKEN #548

Open
mattomu22 opened this issue Mar 29, 2024 · 35 comments
Open

SOLARMAN INTEGRATION BROKEN #548

mattomu22 opened this issue Mar 29, 2024 · 35 comments

Comments

@mattomu22
Copy link

Very simple. After last HA update the integration stopped working. Sensors unknown. The inverter and the wifi logger are working normally. I can read values with inverter app.
Thank you.

@madness10452
Copy link

Same here

@mattomu22 mattomu22 changed the title SOLARMAN INTEGRATION BRIKEN SOLARMAN INTEGRATION BROKEN Mar 29, 2024
@mattomu22
Copy link
Author

I tried to remove a reinstall but no change. Any ideas? Thanks

@sir106
Copy link

sir106 commented Mar 29, 2024

Same here

@toivio
Copy link

toivio commented Mar 30, 2024

The same

@PV-Joe
Copy link

PV-Joe commented Mar 30, 2024

Just updated to:

IMG_5153

… and everything is working fine ✅

@mattomu22
Copy link
Author

I tried to load back up but didn't go well. I will wait for possible fix in my case.

@toivio
Copy link

toivio commented Mar 30, 2024

How can i do downgrade?
Screenshot_20240330-115254

@PV-Joe
Copy link

PV-Joe commented Mar 30, 2024

How can i do downgrade? Screenshot_20240330-115254

Restore from backup?
Beta releases can be faulty.

@toivio
Copy link

toivio commented Mar 31, 2024

How can i do downgrade? Screenshot_20240330-115254

Restore from backup? Beta releases can be faulty.

I have restore, manual config is ok, but all sensors have an error stare.

@jpameli
Copy link

jpameli commented Mar 31, 2024

Same here (broken) I am on:
Core 2024.3.3
Supervisor 2024.03.1

@toivio
Copy link

toivio commented Mar 31, 2024

Same here I am on: Core 2024.3.3 Supervisor 2024.03.1

Same, that's meen Ok or not Ok.

@jpameli
Copy link

jpameli commented Mar 31, 2024

Its broken, sorry!
Maybe its a Solarman issue? I can't even see my devices at https://home.solarmanpv.com . They show offline but they are not.

@toivio
Copy link

toivio commented Mar 31, 2024

Its broken, sorry! Maybe its a Solarman issue? I can't even see my devices at https://home.solarmanpv.com . They show offline but they are not.

https://home.solarmanpv.com its Ok for me, but solarman is working on lokal IP add.

@jpameli
Copy link

jpameli commented Mar 31, 2024

You are right, its too late here and they went offline because of low sun.

@mattomu22
Copy link
Author

Personally I will not revert because I did a lots of things in the last few days.
Can someone tell me if you are going to fix it? I pay annual subscription to Home Assistant. Thank you.

@maxsiindonesia
Copy link

Indonesia is also the same, it doesn't work after updating

@herijaya
Copy link

herijaya commented Apr 1, 2024

Indonesia is also the same, it doesn't work after updating

same

@liviui
Copy link

liviui commented Apr 1, 2024

Fixed: Updated to 12.2: Entity unavailable, changed the Yaml file to anything else and then to deye_hybrid.yaml = Restart.
Start working again. Strange!

@schasan
Copy link

schasan commented Apr 2, 2024

I do not think "broken" is the correct wording.
Deye seem to have dropped their previous old style modbus in favour of "AT+..." commands, which this integration does not (yet) support.
Try something like the following to receive a steady stream of data:

import socket
import binascii

def dump(binary, size=2, sep=' '):
hexstr = binascii.hexlify(binary)
hexstr = hexstr.decode('ascii')
return hexstr.upper()

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("192.168.8.16", 8899))

while True:
buffer = s.recv(80)
print(len(buffer))
print(dump(buffer))
print(buffer)

@mattomu22
Copy link
Author

mattomu22 commented Apr 2, 2024 via email

@Xabrim
Copy link

Xabrim commented Apr 3, 2024

I solved the problem by downgrading to 1.4.3:
-Delete the Integration in HA

  • Delete all downloaded Hacs files (hacs-> Solarman-> Top right corner-> Delete). Restart.
  • Download 1.4.3. Restart.
  • Configure the Integration. Restart again and the values changed from unknown to solid values.

@mattomu22
Copy link
Author

mattomu22 commented Apr 3, 2024 via email

@Hassfabi
Copy link

Hassfabi commented Apr 3, 2024

I solved the problem by downgrading to 1.4.3. Delete all downloaded Hacs files (hacs-> Solarman-> Top right corner-> Delete). Delete the Integration in HA. Restart. Download 1.4.3. Restart. Configure the Integration. Restart again and the values changed from unknown to solid values.

Worked for me too.
(Two Deye 600 parallel. One with SN 39xxx (FW MW3_16U_5406_1.57), one with with SN 41xxx (FW MW3_16U_5406_2.32-D1) and the SUN-MI-RELAY connected.

@toivio
Copy link

toivio commented Apr 3, 2024

Nice, Worked for me too on 1.4.3, thanks

@nedyarrd
Copy link
Contributor

nedyarrd commented Apr 4, 2024

Created pull request #550 to make component work again ;-)

@xwitte
Copy link

xwitte commented Apr 8, 2024

Same for me after last HA update.

Neither downgrade to 1.4.3. nor solution in pull request #550 worked for me. Still no values for sensor data. On version 1.51 I saw that the graphs sometimes showed single values spread over the whole day. But values could not be gathered regularly.

2024-04-08 11:48:06.202 WARNING (MainThread) [homeassistant.components.sensor] Updating solarman sensor took longer than the scheduled update interval 0:00:30
2024-04-08 11:48:12.365 WARNING (SyncWorker_20) [custom_components.solarman.solarman] Querying registers [3 - 112] failed, aborting.
2024-04-08 11:49:16.205 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.pv1_stand_pv1_power is taking over 10 seconds
2024-04-08 11:49:36.206 WARNING (MainThread) [homeassistant.components.sensor] Updating solarman sensor took longer than the scheduled update interval 0:00:30
2024-04-08 11:49:42.263 WARNING (SyncWorker_47) [custom_components.solarman.solarman] Querying registers [3 - 112] failed, aborting.

My specs:
Inverter: Deye SUN800G3-EU-230
Firmware version: MW3_16U_5406_1.57

Home Assistant

Core: 2024.4.1
Supervisor: 2024.03.1
Operating System: 12.1
Frontend: 20240404.1
RaspberryPi 3B+, RaspBee II, LAN+Wifi (onboard)

@Xabrim
Copy link

Xabrim commented Apr 10, 2024

Check your Version again. Sometimes it auto updates/loads the wrong version. I had this problem with a different system. Delete Hacs file and the integration and try a full HA reboot before installing Version 1.4.3. Tell me if it works for you.

@xwitte
Copy link

xwitte commented Apr 11, 2024

Check your Version again. Sometimes it auto updates/loads the wrong version. I had this problem with a different system. Delete Hacs file and the integration and try a full HA reboot before installing Version 1.4.3. Tell me if it works for you.

You are right. I repeated the procedure and fully reloaded Home Assistant and then 1.4.3 was working as expected and shows collected sensor values.

Thx @Xabrim

See also #467 (comment)

@erxbout
Copy link

erxbout commented Apr 11, 2024

Hi I also had this problem!

I noticed that after I updated HASS OS
Seems that it does not work anymore with HASS OS 12.2 but with 12.1 its good!

downgrade with this command

ha os update --version 12.1

My working installation is now with versions:
core 2024.4.2
Supervisor 2024.04.0
OS 12.1
Frontend 20240404.1

@sbkbg
Copy link

sbkbg commented Apr 11, 2024

Hi I also had this problem!

I noticed that after I updated HASS OS Seems that it does not work anymore with HASS OS 12.2 but with 12.1 its good!

downgrade with this command

ha os update --version 12.1

My working installation is now with versions: core 2024.4.2 Supervisor 2024.04.0 OS 12.1 Frontend 20240404.1

I CAN CONFIRM AFTER THE COMMAND SOLARMAN WORKS AGAIN :)

ha os update --version 12.1

@jmccrohan
Copy link
Contributor

This is an issue that has been introduced in HA OS 12.2 with the upgrade to Docker 25. It has impacted a number of containers (add-ons), including HA core itself.

The proper fix is to remain on HA OS 12.2 and to rebuild the core container:

ha core rebuild

No changes to the Solarman integration required.

@erxbout
Copy link

erxbout commented Apr 11, 2024

Have tried that and can confirm that also works!

@deebeo-blip
Copy link

deebeo-blip commented Apr 22, 2024

Is this something that can be expected to be adressed in HA OS in the future or will every future HA OS Update lead to the Solarman integration not working anymore? Is there anybody who can update the Solarman integration to work with Docker 25/HA OS >=12.2 ? I would happily buy them a few coffees...

@wandido

This comment was marked as resolved.

@ayubn
Copy link

ayubn commented Oct 31, 2024

This is an issue that has been introduced in HA OS 12.2 with the upgrade to Docker 25. It has impacted a number of containers (add-ons), including HA core itself.

The proper fix is to remain on HA OS 12.2 and to rebuild the core container:

ha core rebuild

No changes to the Solarman integration required.

thanks alots its working now

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

No branches or pull requests