Page 4 of 4

Re: Python plugin - Solax Inverters

Posted: Wednesday 01 March 2023 20:29
by monette999
Hello Domoticz Forum,
is it diffcullt to develop a domoticz plugin of an Solarmax SMT Inverter?

The project ialready exit in GitHub.
How complex is it to create a Plug In.

Thanks for the answer?

Re: Python plugin - Solax Inverters

Posted: Wednesday 01 March 2023 21:07
by syrhus
Are you sure the 192.168.178.199 is in the good subnet ?
What network IP addresses did you set in the Domoticz config?
Biarritz wrote: Wednesday 01 March 2023 19:30 Hi, Sorry no I'm not French, just like Cadillac's and Biarritz the city :D .
I have plugin.py version which was committed on Nov 28, 2022
And in the log is see the version number you mentioned
Knipsel.JPG

Re: Python plugin - Solax Inverters

Posted: Saturday 22 April 2023 11:46
by slexik
Hi,

I'm just trying to launch this plugin and had an error :

Traceback (most recent call last):
File "/opt/solax/plugin.py", line 25, in <module>
import Domoticz
ImportError: No module named 'Domoticz'

Perhaps forget I something ?

Domoticz Version: 4.10717
Build Hash: b38b49e5
Compile Date: 2019-05-09 13:04:08
dzVents Version: 2.4.19
Python Version: 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]

Kind regards,

Slexik

Re: Python plugin - Solax Inverters

Posted: Saturday 22 April 2023 13:29
by slexik
Hi,

I tried to launch the python script with Events in domoticz and now its the request module who's not found :/

2023-04-22 13:28:16.252 Error: EventSystem: Failed to execute python event script "Solax 1"
2023-04-22 13:28:16.252 Error: EventSystem: Traceback (most recent call last):
2023-04-22 13:28:16.252 Error: EventSystem: File "<string>", line 3, in <module>

Some idea ?

Thank you :)

Slexik

Re: Python plugin - Solax Inverters

Posted: Saturday 22 April 2023 15:18
by syrhus
Hi Slexik

Do you have some others Domoticz python plugins working?
If the module Domoticz is not available, it sounds like an issue with python version.