Skip to content

sph_example.py doesn't work for new model inverter. #132

@SjlCairns

Description

@SjlCairns

New inverter model SPM 10000TL-HU was installed 1 week ago, with 6 x ALP 5.0L-E1 battery modules.
Data is available on a phone by using the Shinephone app.
However, the sph_example.py returns basically no information at all.
My aim is to extract data for uploading to PVOutout.

Using my own Python code, I can extract solar data, in 5 min lots, from this endpoint below, (after setting up the headers to log in with a token):-
[https://openapi-au.growatt.com:443/v1/plant/power?plant_id=2776381&date=2026-02-21]
Once I have this data, I can massage it into a suitable format to upload to PVO.
However, I need the Battery (storage) and Load data as well, and I cannot find out how to get that.

Some other End Points work OK, giving plant details, but nothing for Storage or Load.
Alternatively, I would like to get live readings, or Last Data readings, for the battery and load.

Many end point combinations have been tried with my own Python code, after looking closely at your scripts, and studying the "www.showdoc.com.cn" documents mentioned in various places.

My coding ability is pretty basic, so I am now stuck, and hope you might be interested in improving your sph_example.py script to work with the new inverter. The model is "SPM", however the data returned by some endpoints say it is a "SPH" unit.

Any help appreciated. If you want the token for testing, please email me at "lonsdalesid@gmail.com".
Thanks,
Sid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions