Solax inverter Plugin

Python and python framework

Moderator: leecollings

ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Solax inverter Plugin

Post by ayasystems »

Hi

I have completed another plugin to integrate Solax FV inverter into domoticz

https://github.com/ayasystems/SolaxHTTP

Image

Image

Best regards and enjoy it
User avatar
sincze
Posts: 1300
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Solax inverter Plugin

Post by sincze »

Tnx for sharing!
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by ayasystems »

You are welcome

Id you test It please let me know

Regards
itsbvka
Posts: 12
Joined: Monday 04 January 2016 12:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by itsbvka »

Thank you very much for your work.
I'm trying to set it up with a Solax X3, Since you tested with an X1 I was hoping this would work too, all devices register when the hardware is added but all values stay on 0

it seems to start with an error and then connect using the V1 method but then aborts.

2020-05-08 14:07:28.420 Error: (Solax) onStart:
2020-05-08 14:07:28.420 Error: (Solax) if parameters mode 6: 16
2020-05-08 14:07:28.420 Error: (Solax) DumpConfigToLog
2020-05-08 14:07:29.178 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:29.225 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:29.226 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:39.449 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:39.452 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:39.508 (Solax) Sending 204 bytes of data
2020-05-08 14:07:40.211 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:40.218 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:40.219 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:41.423 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:41.424 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:41.475 (Solax) Sending 204 bytes of data
2020-05-08 14:07:42.181 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:42.227 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:42.228 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:43.431 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:43.432 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:43.483 (Solax) Sending 204 bytes of data
2020-05-08 14:07:44.186 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:44.236 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:44.236 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:45.440 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:45.446 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:45.498 (Solax) Sending 204 bytes of data
2020-05-08 14:07:46.201 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:46.250 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:46.251 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:47.455 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:47.456 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:47.506 (Solax) Sending 204 bytes of data
2020-05-08 14:07:48.218 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:48.259 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:48.260 (Solax) onDisconnect called for connection to: 192.168.2.25:80
Metalfreak
Posts: 1
Joined: Sunday 08 December 2019 13:30
Target OS: Windows
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by Metalfreak »

Thanks! This works as a charm with the V1 setting on my X1 Boost.
ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by ayasystems »

itsbvka wrote: Friday 08 May 2020 14:17 Thank you very much for your work.
I'm trying to set it up with a Solax X3, Since you tested with an X1 I was hoping this would work too, all devices register when the hardware is added but all values stay on 0

it seems to start with an error and then connect using the V1 method but then aborts.

2020-05-08 14:07:28.420 Error: (Solax) onStart:
2020-05-08 14:07:28.420 Error: (Solax) if parameters mode 6: 16
2020-05-08 14:07:28.420 Error: (Solax) DumpConfigToLog
2020-05-08 14:07:29.178 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:29.225 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:29.226 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:39.449 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:39.452 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:39.508 (Solax) Sending 204 bytes of data
2020-05-08 14:07:40.211 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:40.218 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:40.219 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:41.423 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:41.424 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:41.475 (Solax) Sending 204 bytes of data
2020-05-08 14:07:42.181 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:42.227 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:42.228 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:43.431 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:43.432 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:43.483 (Solax) Sending 204 bytes of data
2020-05-08 14:07:44.186 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:44.236 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:44.236 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:45.440 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:45.446 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:45.498 (Solax) Sending 204 bytes of data
2020-05-08 14:07:46.201 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:46.250 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:46.251 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:47.455 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:47.456 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:47.506 (Solax) Sending 204 bytes of data
2020-05-08 14:07:48.218 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:48.259 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:48.260 (Solax) onDisconnect called for connection to: 192.168.2.25:80
Are you using V1 or V2 USB adapter? If you have a V2 adapter you need connect your raspberry to V2 USB network and put 5.8.x.x IP to read data
ronalddevos
Posts: 7
Joined: Thursday 30 March 2017 16:13
Target OS: Windows
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by ronalddevos »

After defeating Microsoft for not allowing wifi on a server OS, your script works like a dream on my Solax X3!
Thanks for sharing!
williaml
Posts: 1
Joined: Tuesday 06 October 2020 20:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by williaml »

ayasystems wrote: Tuesday 12 May 2020 9:48
itsbvka wrote: Friday 08 May 2020 14:17 Thank you very much for your work.
I'm trying to set it up with a Solax X3, Since you tested with an X1 I was hoping this would work too, all devices register when the hardware is added but all values stay on 0

it seems to start with an error and then connect using the V1 method but then aborts.

2020-05-08 14:07:28.420 Error: (Solax) onStart:
2020-05-08 14:07:28.420 Error: (Solax) if parameters mode 6: 16
2020-05-08 14:07:28.420 Error: (Solax) DumpConfigToLog
2020-05-08 14:07:29.178 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:29.225 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:29.226 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:39.449 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:39.452 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:39.508 (Solax) Sending 204 bytes of data
2020-05-08 14:07:40.211 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:40.218 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:40.219 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:41.423 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:41.424 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:41.475 (Solax) Sending 204 bytes of data
2020-05-08 14:07:42.181 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:42.227 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:42.228 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:43.431 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:43.432 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:43.483 (Solax) Sending 204 bytes of data
2020-05-08 14:07:44.186 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:44.236 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:44.236 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:45.440 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:45.446 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:45.498 (Solax) Sending 204 bytes of data
2020-05-08 14:07:46.201 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:46.250 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:46.251 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:47.455 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:47.456 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:47.506 (Solax) Sending 204 bytes of data
2020-05-08 14:07:48.218 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:48.259 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:48.260 (Solax) onDisconnect called for connection to: 192.168.2.25:80
Are you using V1 or V2 USB adapter? If you have a V2 adapter you need connect your raspberry to V2 USB network and put 5.8.x.x IP to read data
Did you got this to work for the Solax X3?
itsbvka
Posts: 12
Joined: Monday 04 January 2016 12:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by itsbvka »

I see that a new API is available at Solax, it has the syntax
https://www.eu.solaxcloud.com:9443/prox ... gistration}

The API documentation is also published
https://www.eu.solaxcloud.com/phoebus/r ... r_V1.0.pdf

Is there someone with enough programming skills that can use this to connect this API to Domoticz?
ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by ayasystems »

This API is reading from solax cloud.

The current plugin reads from inverter directly.

This plugin don't read from cloud... Sorry
ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by ayasystems »

williaml wrote: Tuesday 06 October 2020 20:26
ayasystems wrote: Tuesday 12 May 2020 9:48
itsbvka wrote: Friday 08 May 2020 14:17 Thank you very much for your work.
I'm trying to set it up with a Solax X3, Since you tested with an X1 I was hoping this would work too, all devices register when the hardware is added but all values stay on 0

it seems to start with an error and then connect using the V1 method but then aborts.

2020-05-08 14:07:28.420 Error: (Solax) onStart:
2020-05-08 14:07:28.420 Error: (Solax) if parameters mode 6: 16
2020-05-08 14:07:28.420 Error: (Solax) DumpConfigToLog
2020-05-08 14:07:29.178 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:29.225 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:29.226 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:39.449 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:39.452 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:39.508 (Solax) Sending 204 bytes of data
2020-05-08 14:07:40.211 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:40.218 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:40.219 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:41.423 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:41.424 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:41.475 (Solax) Sending 204 bytes of data
2020-05-08 14:07:42.181 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:42.227 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:42.228 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:43.431 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:43.432 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:43.483 (Solax) Sending 204 bytes of data
2020-05-08 14:07:44.186 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:44.236 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:44.236 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:45.440 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:45.446 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:45.498 (Solax) Sending 204 bytes of data
2020-05-08 14:07:46.201 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:46.250 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:46.251 (Solax) onDisconnect called for connection to: 192.168.2.25:80
2020-05-08 14:07:47.455 (Solax) Transport set to: 'TCP/IP', 192.168.2.25:80.
2020-05-08 14:07:47.456 (Solax) Connect directive received, action initiated successfully.
2020-05-08 14:07:47.506 (Solax) Sending 204 bytes of data
2020-05-08 14:07:48.218 (Solax) Queued asynchronous read aborted (192.168.2.25:80), [2] End of file.
2020-05-08 14:07:48.259 (Solax) Disconnect event received for '192.168.2.25:80'.
2020-05-08 14:07:48.260 (Solax) onDisconnect called for connection to: 192.168.2.25:80
Are you using V1 or V2 USB adapter? If you have a V2 adapter you need connect your raspberry to V2 USB network and put 5.8.x.x IP to read data
Did you got this to work for the Solax X3?
Do you know how to read Solax X3?
Rudi52
Posts: 4
Joined: Tuesday 13 November 2018 20:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Solax inverter Plugin

Post by Rudi52 »

I have a V2 adapter.
It is unclear how to connect my Raspberry Pi3B+ to the WIFI of the SOLAX X1-boost.
The RPI is connected to my home network, if connecting the RPI to the WIFI of the SOLAX, will i lose my connection to my home network ?
This is not clear to me.
I tried 2 different issues:
It is not clear to me how to solve this issue, maybe someone can help me

I filled in the IP adres of the WIFI connector:
2021-04-23 14:19:47.079 Solax test: (Solax test) Transport set to: 'TCP/IP', 192.168.1.143:80.
2021-04-23 14:19:47.080 Solax test: (Solax test) Connect directive received, action initiated successfully.
2021-04-23 14:19:47.135 Solax test: (Solax test) Sending 205 bytes of data
2021-04-23 14:19:47.838 (Solax test) Queued asynchronous read aborted (192.168.1.143:80), [2] End of file.
2021-04-23 14:19:47.887 Solax test: (Solax test) Disconnect event received for '192.168.1.143:80'.
2021-04-23 14:19:47.888 Solax test: (Solax test) onDisconnect called for connection to: 192.168.1.143:80
2021-04-23 14:19:49.099 Solax test: (Solax test) Transport set to: 'TCP/IP', 192.168.1.143:80.
2021-04-23 14:19:49.102 Solax test: (Solax test) Connect directive received, action initiated successfully.
2021-04-23 14:19:49.153 Solax test: (Solax test) Sending 205 bytes of data
2021-04-23 14:19:49.855 (Solax test) Queued asynchronous read aborted (192.168.1.143:80), [2] End of file.
2021-04-23 14:19:49.904 Solax test: (Solax test) Disconnect event received for '192.168.1.143:80'.
2021-04-23 14:19:49.907 Solax test: (Solax test) onDisconnect called for connection to: 192.168.1.143:80

When i fill in the adress 5.8.8.8 i get following:
2021-04-23 14:25:57.314 Error: Solax test: (Solax test) DumpConfigToLog
2021-04-23 14:25:58.363 Solax test: (Solax test) Sending 199 bytes of data
2021-04-23 14:26:03.369 (Solax test) Queued asynchronous read aborted (5.8.8.8:80), [2] End of file.
2021-04-23 14:26:03.373 Solax test: (Solax test) Disconnect event received for '5.8.8.8:80'.
2021-04-23 14:26:03.373 Solax test: (Solax test) onDisconnect called for connection to: 5.8.8.8:80
2021-04-23 14:26:05.078 Solax test: (Solax test) Transport set to: 'TCP/IP', 5.8.8.8:80.
2021-04-23 14:26:05.081 Solax test: (Solax test) Connect directive received, action initiated successfully.
2021-04-23 14:26:05.181 Solax test: (Solax test) Sending 199 bytes of data
2021-04-23 14:26:05.282 Solax test: (Solax test) Received 1443 bytes of data
2021-04-23 14:26:10.152 (Solax test) Queued asynchronous read aborted (5.8.8.8:80), [2] End of file.
2021-04-23 14:26:10.154 Solax test: (Solax test) Disconnect event received for '5.8.8.8:80'.
2021-04-23 14:26:10.154 Solax test: (Solax test) onDisconnect called for connection to: 5.8.8.8:80
2021-04-23 14:26:11.056 (Solax test) Deallocating connection object 'HTTP Test' (5.8.8.8:80).
2021-04-23 14:26:11.056 Error: CConnection_disconnect, disconnection request from 'Solax test' ignored. Transport does not exist.
2021-04-23 14:26:12.060 Solax test: (Solax test) Protocol set to: 'HTTP'.
2021-04-23 14:26:12.060 Solax test: (Solax test) Transport set to: 'TCP/IP', 5.8.8.8:80.
2021-04-23 14:26:12.061 Solax test: (Solax test) Connect directive received, action initiated successfully.
2021-04-23 14:26:12.161 Solax test: (Solax test) Sending 199 bytes of data
2021-04-23 14:26:12.262 Solax test: (Solax test) Received 1443 bytes of data
2021-04-23 14:26:17.169 (Solax test) Queued asynchronous read aborted (5.8.8.8:80), [2] End of file.
2021-04-23 14:26:17.174 Solax test: (Solax test) Disconnect event received for '5.8.8.8:80'.
2021-04-23 14:26:17.174 Solax test: (Solax test) onDisconnect called for connection to: 5.8.8.8:80
2021-04-23 14:26:19.091 Solax test: (Solax test) Transport set to: 'TCP/IP', 5.8.8.8:80.
2021-04-23 14:26:19.091 Solax test: (Solax test) Connect directive received, action initiated successfully.
2021-04-23 14:26:19.192 Solax test: (Solax test) Sending 199 bytes of data
2021-04-23 14:26:19.292 Solax test: (Solax test) Received 1443 bytes of data
2021-04-23 14:26:24.233 (Solax test) Queued asynchronous read aborted (5.8.8.8:80), [2] End of file.
2021-04-23 14:26:24.265 Solax test: (Solax test) Disconnect event received for '5.8.8.8:80'.
2021-04-23 14:26:24.265 Solax test: (Solax test) onDisconnect called for connection to: 5.8.8.8:80
2021-04-23 14:26:26.077 Solax test: (Solax test) Transport set to: 'TCP/IP', 5.8.8.8:80.
2021-04-23 14:26:26.080 Solax test: (Solax test) Connect directive received, action initiated successfully.
2021-04-23 14:26:26.181 Solax test: (Solax test) Sending 199 bytes of data
2021-04-23 14:26:26.281 Solax test: (Solax test) Received 1443 bytes of data
2021-04-23 14:26:28.090 Solax test: (Solax test) Disconnect directive received for '5.8.8.8:80'.
2021-04-23 14:26:28.090 (Solax test) Handling TCP disconnect, socket (5.8.8.8:80) is connected
2021-04-23 14:26:28.090 (Solax test) Connection '5.8.8.8:80' released by Python, reference count is 1.
2021-04-23 14:26:28.091 (Solax test) Queued asynchronous read aborted (5.8.8.8:80), [125] Operation canceled.
2021-04-23 14:26:28.141 Solax test: (Solax test) Disconnect directive received for '5.8.8.8:80'.
2021-04-23 14:26:28.141 (Solax test) Handling TCP disconnect, socket (5.8.8.8:80) is not connected
2021-04-23 14:26:28.141 (Solax test) Deallocating connection object 'HTTP Test' (5.8.8.8:80).
2021-04-23 14:26:29.093 Solax test: (Solax test) Protocol set to: 'HTTP'.
2021-04-23 14:26:29.093 Solax test: (Solax test) Transport set to: 'TCP/IP', 5.8.8.8:80.
2021-04-23 14:26:29.093 Solax test: (Solax test) Connect directive received, action initiated successfully.
2021-04-23 14:26:29.194 Solax test: (Solax test) Sending 199 bytes of data
2021-04-23 14:26:29.294 Solax test: (Solax test) Received 1443 bytes of data
ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by ayasystems »

You need ethernet wire to your local home network and wifi to solax connection.

Other solution is use a router to do this job
PietKempenaar
Posts: 1
Joined: Friday 19 November 2021 11:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by PietKempenaar »

Hi,

I'm getting the "onDisconnect called for connection to" message, using the plugin to my Solax X1 Boost. I can ping the Solax from my RPi, so the connection doesn't seem to be the problem. When I use a browser to browse to the Solax it get's an empty response. The system is visible in the Solax Cloud website.

Any ideas would be appreciated.

Kind regards
pmalvino
Posts: 16
Joined: Monday 13 April 2015 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by pmalvino »

Hello, thank you for the great work.
I need some help to implement this plugin.
Is possible to put this script in a stand alone raspberry pi near to the solax and send the data to the domoticz server in the same network but far to pick up the solax Wi-Fi?
Thank you
ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by ayasystems »

This plugin works with domoticz, it is not working alone
pmalvino
Posts: 16
Joined: Monday 13 April 2015 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by pmalvino »

I understand it’s a domoticz plug-in, but for it to work the server domoticz need to be in the Wi-Fi range of the solax inverter. Not all people have the server near the solax especially the v2.
ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by ayasystems »

I understand. You can use node red to get the info and send it to Domoticz over Mqtt or http
pmalvino
Posts: 16
Joined: Monday 13 April 2015 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by pmalvino »

good afternoon.
I instaled domoticz plugin and received this dada:

2021-12-01 15:58:05.408 (solax) Processing 'ReadEvent' message
2021-12-01 15:58:05.408 solax: (solax) Received 330 bytes of data
2021-12-01 15:58:05.408 solax: (solax) 48 54 54 50 2f 31 2e 31 20 34 30 31 20 41 75 74 68 6f 72 69 HTTP/1.1.401.Authori
2021-12-01 15:58:05.408 solax: (solax) 7a 61 74 69 6f 6e 20 52 65 71 75 69 72 65 64 0d 0a 53 65 72 zation.Required..Ser
2021-12-01 15:58:05.408 solax: (solax) 76 65 72 3a 20 4d 79 53 6f 63 6b 65 74 20 53 65 72 76 65 72 ver:.MySocket.Server
2021-12-01 15:58:05.409 solax: (solax) 0d 0a 57 57 57 2d 41 75 74 68 65 6e 74 69 63 61 74 65 3a 20 ..WWW-Authenticate:.
2021-12-01 15:58:05.409 solax: (solax) 42 61 73 69 63 20 72 65 61 6c 6d 3d 53 6f 6c 61 78 50 6f 77 Basic.realm=SolaxPow
2021-12-01 15:58:05.409 solax: (solax) 65 72 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 er..Content-Type:.te
2021-12-01 15:58:05.409 solax: (solax) 78 74 2f 68 74 6d 6c 3b 20 63 68 61 72 73 65 74 3d 55 54 46 xt/html;.charset=UTF
2021-12-01 15:58:05.409 solax: (solax) 2d 38 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 -8..Content-Length:.
2021-12-01 15:58:05.410 solax: (solax) 31 38 30 0d 0a 0d 0a 3c 48 54 4d 4c 3e 0d 0a 3c 48 45 41 44 180....<HTML>..<HEAD
2021-12-01 15:58:05.410 solax: (solax) 3e 0d 0a 3c 54 49 54 4c 45 3e 45 72 72 6f 72 3c 2f 54 49 54 >..<TITLE>Error</TIT
2021-12-01 15:58:05.410 solax: (solax) 4c 45 3e 0d 0a 3c 6d 65 74 61 20 68 74 74 70 2d 65 71 75 69 LE>..<meta.http-equi
2021-12-01 15:58:05.410 solax: (solax) 76 3d 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 20 63 6f 6e v="Content-Type".con
2021-12-01 15:58:05.410 solax: (solax) 74 65 6e 74 3d 22 74 65 78 74 2f 68 74 6d 6c 3b 20 63 68 61 tent="text/html;.cha
2021-12-01 15:58:05.411 solax: (solax) 72 73 65 74 3d 55 54 46 2d 38 22 3e 0d 0a 3c 2f 48 45 41 44 rset=UTF-8">..</HEAD
2021-12-01 15:58:05.411 solax: (solax) 3e 0d 0a 3c 42 4f 44 59 3e 3c 48 31 3e 34 30 31 20 55 6e 61 >..<BODY><H1>401.Una
2021-12-01 15:58:05.411 solax: (solax) 75 74 68 6f 72 69 7a 65 64 3c 2f 48 31 3e 3c 2f 42 4f 44 59 uthorized</H1></BODY
2021-12-01 15:58:05.411 solax: (solax) 3e 0d 0a 3c 2f 48 54 4d 4c 3e .. .. .. .. .. .. .. .. .. .. >..</HTML>

error 401 Authorization required

can you help me?
thank you
ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Solax inverter Plugin

Post by ayasystems »

Are you using V1 or V2 USB adapter? If you have a V2 adapter you need connect your raspberry to V2 USB network and put 5.8.x.x IP to read data


Read everything written before, your issue has already been spoken before
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest