Python plugin - Solax Inverters

Python and python framework

Moderator: leecollings

monette999
Posts: 10
Joined: Tuesday 21 February 2023 18:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin - Solax Inverters

Post 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?
Attachments
Screenshot_2023-02-28-21-23-31-53_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
Screenshot_2023-02-28-21-23-31-53_40deb401b9ffe8e1df2f1cc5ba480b12.jpg (397.33 KiB) Viewed 350 times
syrhus
Posts: 79
Joined: Tuesday 12 December 2017 14:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Paris
Contact:

Re: Python plugin - Solax Inverters

Post 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
slexik
Posts: 5
Joined: Thursday 31 December 2015 16:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin - Solax Inverters

Post 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
slexik
Posts: 5
Joined: Thursday 31 December 2015 16:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin - Solax Inverters

Post 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
syrhus
Posts: 79
Joined: Tuesday 12 December 2017 14:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Paris
Contact:

Re: Python plugin - Solax Inverters

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest