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

SolarEdgeModBus don't work since 2025.1.2 #265

Open
nuki47 opened this issue Jan 12, 2025 · 4 comments
Open

SolarEdgeModBus don't work since 2025.1.2 #265

nuki47 opened this issue Jan 12, 2025 · 4 comments

Comments

@nuki47
Copy link

nuki47 commented Jan 12, 2025

Since the update I don't get any data in the solaredge-modbus integration (all sensors state: unknown)

Core 2025.1.2
Home Assistant OS
solaredge-modus 1.13.0

That's all in the logfile:

2025-01-12 16:11:20.103 DEBUG (MainThread) [custom_components.solaredge_modbus] Setup solaredge_modbus.solaredgemod
2025-01-12 16:11:38.808 INFO (SyncWorker_8) [custom_components.solaredge_modbus] modbus client is not connected, trying to reconnect
2025-01-12 16:11:38.809 INFO (SyncWorker_8) [custom_components.solaredge_modbus] successfully connected to 192.168.100.179:502
@s50u
Copy link

s50u commented Jan 13, 2025

Exactly the same for me.
Core 2025.1.2
Supervisor 2024.12.3
Operating System 14.1
solaredge-modbus V1.13.0

@markopen
Copy link

Latest HA Core 2025.2 update does not solve the problem with the occasional stoppage of data updates from Solaredge Modbus. When I restart the system or reload integration, this data is refreshed again....

@grouts112
Copy link

+1

@DOMOCGC
Copy link

DOMOCGC commented Jan 15, 2025

+1
LOG error 1 :

Enregistreur: custom_components.solaredge_modbus
Source: custom_components/solaredge_modbus/init.py:244
intégration: SolarEdge Modbus (documentation)
S'est produit pour la première fois: 07:17:14 (159 occurrences)
Dernier enregistrement: 08:03:45

Error reading modbus data
Traceback (most recent call last):
File "/config/custom_components/solaredge_modbus/init.py", line 244, in _refresh_modbus_data
update_result = self.read_modbus_data()
File "/config/custom_components/solaredge_modbus/init.py", line 318, in read_modbus_data
self.read_modbus_data_inverter()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/solaredge_modbus/init.py", line 686, in read_modbus_data_inverter
self.data["acenergy"] = round(acenergy * 0.001, 3)

LOG error 2 :
Enregistreur: custom_components.solaredge_modbus
Source: custom_components/solaredge_modbus/init.py:244
intégration: SolarEdge Modbus (documentation)
S'est produit pour la première fois: 07:17:09 (158 occurrences)
Dernier enregistrement: 08:03:40

Error reading modbus data
Traceback (most recent call last):
File "/config/custom_components/solaredge_modbus/init.py", line 244, in refresh_modbus_data
update_result = self.read_modbus_data()
File "/config/custom_components/solaredge_modbus/init.py", line 320, in read_modbus_data
and self.read_modbus_data_meter1()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/solaredge_modbus/init.py", line 331, in read_modbus_data_meter1
return self.read_modbus_data_meter("m1
", 40190)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/config/custom_components/solaredge_modbus/init.py", line 356, in read_modbus_data_meter
accurrenta = decoder.decode_16bit_int()
File "/usr/local/lib/python3.13/site-packages/pymodbus/payload.py", line 397, in decode_16bit_int
return unpack(fstring, handle)[0]
~~~~~~^^^^^^^^^^^^^^^^^
struct.error: unpack requires a buffer of 2 bytes

LOG error 3:
Enregistreur: custom_components.solaredge_modbus
Source: custom_components/solaredge_modbus/init.py:244
intégration: SolarEdge Modbus (documentation)
S'est produit pour la première fois: 07:55:43 (1 occurrences)
Dernier enregistrement: 07:55:43

Error reading modbus data
Traceback (most recent call last):
File "/config/custom_components/solaredge_modbus/init.py", line 244, in refresh_modbus_data
update_result = self.read_modbus_data()
File "/config/custom_components/solaredge_modbus/init.py", line 320, in read_modbus_data
and self.read_modbus_data_meter1()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/solaredge_modbus/init.py", line 331, in read_modbus_data_meter1
return self.read_modbus_data_meter("m1
", 40190)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/config/custom_components/solaredge_modbus/init.py", line 471, in read_modbus_data_meter
exporteda = decoder.decode_32bit_uint()
File "/usr/local/lib/python3.13/site-packages/pymodbus/payload.py", line 375, in decode_32bit_uint
return unpack("!" + fstring, handle)[0]
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
struct.error: unpack requires a buffer of 4 bytes

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

5 participants