Solax cloud API

Hello all,

I hope you folks can help me with this.
I’ve searched but didn’t see anything regarding this,

Since this month is there a Solac Cloud API for the end users.

So I would like to add these to my PVOutput, but mine Solax is not mentioned.

The output is in this format:

What can I further do, to make this working?

Tia

Goofy Ostwo

9 Likes

This requires development work on PVOutput to support Solax.

Changed to an ‘Idea’ and may be implemented if more people request it.

3 Likes

How do we request this?
My friend uses Solax and would like to import his data into PVOUTPUT.

3 Likes

Click on the ‘Like’ icon of this post to vote it up.

2 Likes

I created a very basic uploader myself it’s my first python project but maybe someone else can use it. https://github.com/tiki1980/SolaxToPVOutput

I tried your uploader on Raspberry Pi, but it showed some errors in the code:

Traceback (most recent call last):
File “main.py”, line 1, in
from solaxCloud import getRealTimeInfo
File “/home/pi/sc2pv/solax1/solaxCloud.py”, line 19
path = f"proxy/api/getRealtimeInfo.do"

hi, which python version are you using and maybe your are missing urrlib3 (it wasn’t in the readme file but is is a dependency. pip install pyyaml requests urllib3

I have this version: Python 2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0] on linux2

I had the library installed: pip install pyyaml requests
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyyaml in /home/pi/.local/lib/python2.7/site-packages (5.4.1)
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages (2.21.0)
^

On raspberry, I must run in command-line: python3 main.py , not python main.py - to use version 3.
Also library install: pip3 install pyyaml requests urllib3

Now script works for me. Thanks.