Page 5 of 8
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Friday 13 January 2023 20:33
by MikeyMan
So it seems i have a similar issue as above, however, i dont have domoticz in docker.
Log shows:
Code: Select all
2023-01-13 20:24:35.034 Error: SolarEdge Inverter: (SolarEdge_ModbusTCP) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/solaredge-modbustcp/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2023-01-13 20:24:35.729 Error: SolarEdge Inverter: Traceback (most recent call last):
2023-01-13 20:24:35.729 Error: SolarEdge Inverter: File "/home/pi/domoticz/plugins/solaredge-modbustcp/plugin.py", line 54, in <module>
2023-01-13 20:24:35.729 Error: SolarEdge Inverter: import solaredge_modbus
2023-01-13 20:24:35.729 Error: SolarEdge Inverter: ModuleNotFoundError: No module named 'solaredge_modbus'
2023-01-13 20:24:45.283 Error: (Evohome) login failed with message: attempt_limit_exceeded
Version is:
pi@raspberrypi:~ $ python3 --version
Python 3.9.2
What could this be?
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Monday 06 March 2023 19:28
by Sjonnie2017
_deleted_
Sorry! Wrong topic!

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Friday 09 June 2023 14:22
by McMelloW
Hi to all.
My SolarEdge Inverter went down, so I had a new inverter installed. After the installation, in Domoticz, I changed the hardware to a new IP address and a new port (1502) and activate the hardware in Domoticz. It is calling my inverter OK and receiving new data also.
However after the remplacement of the inverter, Domoticz shows the Total Energy now negative and the history now showing the data in a very small scale and negative as well.
My old inverter was SE3500H (2017) single phase, with text display. My new inverter is a SE3500H (2023) single phase, without a text display
How can I change this or
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Saturday 29 July 2023 12:36
by Micha123
It wil be Nice to trigger it not every some time, but an option to trigger it also on device IDX.
It wil be fine if it can be triggered on other device, like my P1 meter, then i have most actual data from my meter and SolarEdge inverter, i have also an dz script running it calculates the data what energy is now used.
But the plugin is working perfectly also with an older type of SolarEdge (with display) inverter. Thank you for that.
Until now im used the perl script to bring the data into domoticz. But your work is perfect.
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Friday 01 September 2023 19:58
by hjzwiers
I have just installed a new system with battery and metering and was wondering the result if I used modbus. Turned modbus on on the converter and installed the files.
In the first go I installed the Modbus TCP with github (git clone
https://github.com/addiejanssen/domotic ... plugin.git) and ran sudo pip3 install -r requirements.txt
It all went well, but I wanted to use the battery and metering .....
I then used the 2.0.4. version, downloaded it to the PC and transferred the files (with PSFTP) to the proper directory with but only had failures. I deleted it all and left it but I am disappointed, what did I do wrong?
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 03 September 2023 14:25
by hjzwiers
I keep getting the following errors:
2023-09-02 13:05:04.963 Error: Solaredge ModbusTCP: (SolarEdge_ModbusTCP) failed to load 'plugin.py', Python Path used was '/home/hjz/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: Traceback (most recent call last):
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: File "/home/hjz/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/plugin.py", line 68, in <module>
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: import solaredge_modbus
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: File "/usr/local/lib/python3.9/dist-packages/solaredge_modbus/__init__.py", line 157, in <module>
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: class SolarEdge:
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: File "/usr/local/lib/python3.9/dist-packages/solaredge_modbus/__init__.py", line 163, in SolarEdge
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: wordorder = Endian.Big
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: File "/usr/lib/python3.9/enum.py", line 405, in __getattr__
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: raise AttributeError(name) from None
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: AttributeError: Big
I have version python 3.9.2 running with pip3 23.2.1
I'm fully stuck now ..........
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 08 October 2023 12:51
by jawadde
Any update on this... facing exactly the same problem, and also stuck
thanks
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 08 October 2023 13:33
by waltervl
Perhaps try the discussions on the GitHub repository.
https://github.com/addiejanssen/domotic ... iscussions
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Monday 30 March 2026 16:41
by infoed
After Domoticz upgrade to 2026.1, the docker version, I cannot get the plugin to work, using:
pymodbus 3.6.9
pyserial 3.5
pyserial-asyncio 0.6
solaredge-modbus 0.8.0
Python 3.11
I 'm getting these errors:
2026-03-30 15:57:19.555 Error: SolarEdgeMODBUS: (SolarEdge_ModbusTCP) failed to load 'plugin.py'.
2026-03-30 15:57:19.557 Error: SolarEdgeMODBUS: Traceback (most recent call last):
2026-03-30 15:57:19.557 Error: SolarEdgeMODBUS: File "/opt/domoticz/userdata/plugins/domoticz-solaredge-modbustcp-plugin/plugin.py", line 54, in
2026-03-30 15:57:19.557 Error: SolarEdgeMODBUS: import solaredge_modbus
2026-03-30 15:57:19.557 Error: SolarEdgeMODBUS: File "/opt/venv/lib/python3.11/site-packages/solaredge_modbus/init.py", line 4, in
2026-03-30 15:57:19.557 Error: SolarEdgeMODBUS: from pymodbus.constants import Endian
2026-03-30 15:57:19.557 Error: SolarEdgeMODBUS: ImportError: cannot import name 'Endian' from 'pymodbus.constants' (/opt/venv/lib/python3.11/site-packages/pymodbus/constants.py)
The import error ('Endian') is new to me. Checked the mentioned filenames and they all exist.
Tried older / newer pymodbus,, no help.
On the older Domoticz 2024.7 it works, even with pymodbus 3.7.3 and solaredge_modus 0.8.0
Noticed that domoticz 2026.1 (docker) is using pyhton 3.11 where 2024.7 is using 3.9.2
In Google searches (also AI mode) could not find a hint.
Example:
https://www.claudiokuenzler.com/blog/15 ... an-upgrade
Any ideas?
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Saturday 20 June 2026 15:44
by madpatrick
---- removed ----
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 8:45
by eddieb
tnx, nice to see that you are trying to do work on these python plugins ...
Seems addie is not very active lately ...
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 9:06
by MikeyMan
Please forgive me my lack of knowledge on git... But is there a way to do an in place git pull to the new branch?
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 9:08
by imautohuttraeger
A while ago, @jvdz made a fork due to the fact, that the owner of this plugin does not seem to actively work on this anymore:
viewtopic.php?t=43707
Besides other things, this fork also includes pure data from the battery (rather than a combined number solar + battery charging or discharging)
Is there any chance to get this also I to the basic plugin?
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 9:11
by MikeyMan
Would be nice if @addiejanssen opened this up a bit for community development.
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 10:14
by madpatrick
---- removed ----
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 10:18
by madpatrick
---- removed ----
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 10:19
by MikeyMan
Yes but can i keep my current install alive while switching to that repo?
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 10:21
by madpatrick
---- removed ----
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 11:26
by imautohuttraeger
madpatrick wrote: Sunday 21 June 2026 10:14
I've included the meters and inverter also
That's great. Will try it within the next days and would be very happy to have it working again.
Would it be possible to add the information about this to the list of plugins, so a user becomes aware of it in case she/he is not aware of this forum posting?
https://wiki.domoticz.com/Plugins
EDIT: And also to the SolarEdge page:
https://wiki.domoticz.com/SolarEdge#Usi ... e_inverter
Re: New Python plugin: Domoticz SolarEdge_ModbusTCP
Posted: Sunday 21 June 2026 12:17
by imautohuttraeger
As a dummy I am a little bit overstrained, so I need some help in order to correctly install the fork rather than the original:
So the starting point is
https://github.com/MadPatrick/domoticz- ... tcp-plugin
In the instructions, the following line is a copy from the original:
"Download the plugin zip-file from releases"
It leads to the original by @addiejammsen:
https://github.com/addiejanssen/domotic ... n/releases
Is my understanding correct, that I have to change the URL to the one of @MadPatrick?
https://github.com/MadPatrick/domoticz- ... n/releases