Replies: 3 comments
-
It means that the plugin can not find one of the libraries that |
Beta Was this translation helpful? Give feedback.
-
Hallo Addie,
Bedankt voor jou reactie.
Ik heb de plugin geïnstalleerd volgens de Domoticz wiki pagina.
#enter domoticz plugins directory
cd domoticz/plugins
#if git command is not installed, install it with apt install git
git clone https://github.com/addiejanssen/domoticz-solaredge-modbustcp-plugin.git
cd domoticz-solaredge-modbustcp-plugin
sudo pip3 install -r requirements.txt
#restart domoticz
sudo service domoticz.sh restart
Heb ook even op mijn andere raspberry de plugin geïnstalleerd en dat gaat probleemloos.
De rpi waar de plugin wel goed op draait daarop heb ik buster met Python versie 3.7.3 geïnstalleerd en op de andere rpi draait op bullseye met Python versie 3.9.2.
Op beide rpi’s heb ik Domoticz 2023.1 geïnstalleerd.
Heb met pip3 install solaredge_modbus de bibliotheek geïnstalleerd.
Kan het ook liggen aan de Python versie in combinatie met Domoticz?
Groeten,
Albert
Op 3 mrt. 2023 om 14:13 heeft Addie Janssen ***@***.***> het volgende geschreven:
It means that the plugin can not find the solaredge_modbus library which is required to communicate with the inverter.
Did you install that library as documented in the README file?
—
Reply to this email directly, view it on GitHub<#60 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALLFND7SBIWV4VFLG6KBRBDW2HU6ZANCNFSM6AAAAAAVNKYH5U>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I just installed the plugin and also got the plugin.py error. sudo pip3 uninstall pymodbus Then restart domoticz ( sudo service domoticz.sh restart ) |
Beta Was this translation helpful? Give feedback.
-
Hi Addie,
I'have installed the plugin, but get an error, do you have a solution for this?
`Error: SolarEdge ModbusTCP: (SolarEdge_ModbusTCP) failed to load 'plugin.py',
Python Path used was '/home/pi/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'.
Error: SolarEdge ModbusTCP: Traceback (most recent call last):
Error: SolarEdge ModbusTCP: File "/home/pi/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/plugin.py", line 54, in
Error: SolarEdge ModbusTCP: import solaredge_modbus
Error: SolarEdge ModbusTCP: File "/usr/local/lib/python3.9/dist-packages/solaredge_modbus/init.py", line 7, in
Error: SolarEdge ModbusTCP: from pymodbus.client.sync import ModbusTcpClient
Error: SolarEdge ModbusTCP: ModuleNotFoundError: No module named 'pymodbus.client.sync'`
I'm using Domoticz version 2023.1 and the python version is: Python Version: 3.9.2
Beta Was this translation helpful? Give feedback.
All reactions