Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for latest Ginlong/Solis wifi stick (S3-WIFI-ST) #289

Closed
koyote opened this issue Nov 2, 2022 · 3 comments
Closed

Support for latest Ginlong/Solis wifi stick (S3-WIFI-ST) #289

koyote opened this issue Nov 2, 2022 · 3 comments
Labels
new-feature New features or request. stale There has not been activity on this issue or PR for quite some time.

Comments

@koyote
Copy link

koyote commented Nov 2, 2022

Hi,

I recently got a Solis inverter and it seems to now come with a new Wifi stick (S3-WIFI-ST).
Unfortunately the web UI is slightly different here and although it's still a web site with authentication and a status.html page, the page now contains actual HTML instead of the vars expected for the old stick and the HTML is populated via JS:

var inverter = new XMLHttpRequest();
inverter.open("get", "inverter.cgi?t=" + Math.random(), true);
inverter.send();
inverter.onreadystatechange = function() {
  if (inverter.readyState == 4 && inverter.status == 200) {
    var inverterArr = inverter.responseText.split(";");
    set_inner_by_id("webdata_sn", inverterArr[0]);
    set_inner_by_id("webdata_msvn", inverterArr[1]);
    set_inner_by_id("webdata_pv_type", inverterArr[2]);
    set_inner_by_id("webdata_rate_p", inverterArr[3] + "℃");
    set_inner_by_id("webdata_now_p", inverterArr[4] + "W");
    set_inner_by_id("webdata_today_e", inverterArr[5] + "kWh");
    set_inner_by_id("webdata_total_e", inverterArr[6] + "kWh");
    set_inner_by_id("webdata_alarm", inverterArr[7]);
  } else {
    console.log(inverter.status)
  }

Accssing the cgi URL directly gives output such as:
380XXX228080XXX;7800XX;205;44.9;4210;6.300000;d;NO;

Seeing as this is now quite different from the original format and that the project was originally for omnik inverters and not solis, do you see any point in adding support for it as part of this project?
I can try whipping up an implementation, otherwise it might be better suited in its own project.

Cheers

@MarijnS95
Copy link
Contributor

@koyote have you tried other source methods like the "newly added" TCP backend?

@koyote
Copy link
Author

koyote commented Nov 4, 2022

Port 8899 was not open when I tried.
I did a basic nmap scan and only found port 80 to be open.

Unless there's some other way to confirm the TCP back-end?

@github-actions
Copy link

github-actions bot commented Dec 5, 2022

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Dec 5, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-feature New features or request. stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants