-
Trying to install the solaredge module but somehow it doesn't work. I did a sudo 'pip3 install -r requirements.txt' and it installed solaredge-modbus 0.7.0 succesfully but it won't run. I see the following in the debug log: Mar 17 16:07:34 iot domoticz: SolarEdge SE3000H: (SolarEdge_ModbusTCP) failed to load 'plugin.py', Python Path used was '/home/domoticz/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/:/usr/lib/python310.zip:/usr/lib/python3.10:/usr/lib/python3.10/lib-dynload:/usr/local/lib/python3.10/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.10/dist-packages'. Initially i tried with pymodbus 3.2.0 (latest) but also tried with pymodbus=3.0.0 Any idea what i am doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Fixed, apparently using the following (at the time of writing latest) packages fixed it: First uninstall all previously installed python modules: and then do a In contrary of what the README.txt says: do NOT use the requirements.txt dependency since that would install an older solaredge_modbus version which doesn't seem to work well with pymodbus anymore. |
Beta Was this translation helpful? Give feedback.
-
Had an issue getting the plugin v1.1.1 to start in the docker image domoticz/domoticz:beta (version 2023.2#15615); it also failed with:
Setting the following in the /opt/domoticz/userdata/customstart.sh fixed it for me:
note: pymodbus version seems key in this and requests is needed for the deconz plugin I am using. |
Beta Was this translation helpful? Give feedback.
Fixed, apparently using the following (at the time of writing latest) packages fixed it:
solaredge_modbus-0.7.2-py3-none-any.whl
pyserial_asyncio-0.6-py3-none-any.whl
pymodbus-3.2.1-py3-none-any.whl
First uninstall all previously installed python modules:
sudo pip3 uninstall solaredge_modbus
sudo pip3 uninstall pyserial_asyncio
sudo pip3 uninstall pymodbus
and then do a
sudo pip3 install solaredge_modbus
In contrary of what the README.txt says: do NOT use the requirements.txt dependency since that would install an older solaredge_modbus version which doesn't seem to work well with pymodbus anymore.