Giter VIP home page Giter VIP logo

Comments (4)

troygNZ avatar troygNZ commented on July 20, 2024

Hi apologies for the late reply. This project has been in neglect of late with the loss of two family members in recent times.

If you're able to navigate to the IP address of your Solax inverter, and append api/realTimeData.htm to the end of the URL (e.g. http://192.168.1.42/api/realTimeData.htm), and report back what you see?

Does it prompt you for a username + password? Or returns some JSON type data?
If it comes back with a prompt for UN + password, are you able to enter the username and password you use to connect to the inverter, and see if it gives you back the data. If also able to show the prompt for username and password, it may give me some insights in to what sort of authentication it's using.

from homebridge-solax.

ignaciorecuerda avatar ignaciorecuerda commented on July 20, 2024

Thank you very much for your reply.

When I make the call to http://192.168.1.136/api/realTimeData.htm it asks me for a username and password, but when I enter it does not give me any information. I have seen the call using google chrome tools and the answer simply fails, but it doesn't tell me why it fails, and I get an ok 200, which is very rare. I attach some screenshots in case it helps.

photo_2021-11-10_16-37-32

photo_2021-11-10_16-37-41

photo_2021-11-10_16-37-46

I am also able to collect data from the inverter by making the following curl call
curl -d "optType=ReadRealTimeData&pwd=password" -X POST http://192.168.1.136

Thank you for your help and I hope you can give me the clue to get it to work.
have a nice day

from homebridge-solax.

troygNZ avatar troygNZ commented on July 20, 2024

from homebridge-solax.

jamie-2bit avatar jamie-2bit commented on July 20, 2024

I might be able to shed some light on this one. In order to capture data from the Solax X1 Boost (and others) using the Poket Wifi 2, you need to connect to the local Solax wifi network using the IP 5.8.8.8 and a username/passowrd admin/admin.

This means that the URL call to http://x.x.x.x/api/realTimeData.htm will not work on these inverters.

You can try to connect to the local Solax wifi and run a curl such as: curl -X POST http://5.8.8.8/?optType=ReadRealTimeData

Hope that helps.

from homebridge-solax.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.