Way to get (limited) data without developer account #16
Replies: 4 comments
-
Thanks Kiosk mode was implemented before but after Huawei server upgrade in April/May stops to work to many changes on server. I lost hope that will be possible to implement this again all previous JOSN files disappears and I remove code from repository. But as for now I see that is possible to made this working again (Is working correctly with my account in Postman) but of course implement from scratch JOSN is different than this previous one. Your discovery allow scrap this data thanks for mentioning this. If you are interesting in contributing to repository and write this file which will make use of that discovery I will be happy to add you as developer. In other case I'm determine to made this also working somewhere during June because as for now I try to clean all functions which was already made and make sure that this what is written already is working with this new server. I will resurrect previous version of kioskmode.sh is not working now but may be a starting point to modifications for me or you. Here screenshot from previous kioskmode before April upgrade |
Beta Was this translation helpful? Give feedback.
-
File is here https://github.com/BlazejosP/huawei-sun2000-API-CLI/blob/master/kioskmode.sh |
Beta Was this translation helpful? Give feedback.
-
Hello @toomeenoo |
Beta Was this translation helpful? Give feedback.
-
looks like we have new links after 30th December 2021 The link will look like: This will show you pretty web interface with some basic info. But what is more important with hash (HTTP URL GET parameter |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've found an unofficial way to get few data for your powerplant, even if you don't have FusionSolar developer account.
You can implement it, or just mention somewhere so the others will know 😄
First thing you have to do is login to (new) web interface of fusionsolar at Fusion solar EU5 or your local fusionsolar server.
Then generate the KIOSK link as shown below:
The link will look like:
https://eu5.fusionsolar.huawei.com/rest/pvms/web/kiosk/v1/station-kiosk-file?kk=S0M3H45H_H3R3
https://region02eu5.fusionsolar.huawei.com/pvmswebsite/nologin/assets/build/index.html#/kiosk?kk=S0M3H45H_H3R3
This will show you pretty web interface with some basic info.
But what is more important with hash (HTTP URL GET parameter
kk
) cou can create:https://eu5.fusionsolar.huawei.com/rest/pvms/web/kiosk/v1/station-kiosk-file?kk=S0M3H45H_H3R3
https://region02eu5.fusionsolar.huawei.com/rest/pvms/web/kiosk/v1/station-kiosk-file?kk=S0M3H45H_H3R3
This link will return json response:
In which
data
part is again json, just html encoded: (replace"
with"
)Hope this helps someone who just want basic data, without having to deal with developer / API account
Also this endpoint is not official, it's just how kiosk view works now.
Beta Was this translation helpful? Give feedback.
All reactions