New Python plugin: Domoticz SolarEdge_ModbusTCP

Moderator: leecollings

MikeyMan
Posts: 237
Joined: Wednesday 17 October 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP

Post 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?
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP

Post by Sjonnie2017 »

_deleted_

Sorry! Wrong topic! :oops:
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
McMelloW
Posts: 427
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP

Post 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
Greetings McMelloW
Micha123
Posts: 62
Joined: Monday 28 August 2017 16:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP

Post 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.
hjzwiers
Posts: 163
Joined: Friday 12 January 2018 8:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP

Post 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?
hjzwiers
Posts: 163
Joined: Friday 12 January 2018 8:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP

Post 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 ..........
jawadde
Posts: 2
Joined: Saturday 22 February 2020 0:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP

Post by jawadde »

Any update on this... facing exactly the same problem, and also stuck

thanks
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP

Post by waltervl »

Perhaps try the discussions on the GitHub repository. https://github.com/addiejanssen/domotic ... iscussions
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest