Code Monkey home page Code Monkey logo

Comments (21)

DiedB avatar DiedB commented on July 24, 2024 1

@chrisboer Does Solarman work on 2.3.2 alpha? Please confirm so I can publish it in the app store.

from homey-solarpanels.

mchieppa avatar mchieppa commented on July 24, 2024

Same problem here

from homey-solarpanels.

mchieppa avatar mchieppa commented on July 24, 2024

Is the URL still correct in ..drivers/solarman/device.js or driver.js??

class SolarMAN extends SOTGBase.Device {
getBaseUrl() {
return 'http://213.136.73.47:18000/SolarmanApi/serverapi/';
}
}

API URL for Solarman is: http://www.solarmanpv.com:10000/

Why is there a hard IP address in the code?

from homey-solarpanels.

DiedB avatar DiedB commented on July 24, 2024

I directly took over the address used by their mobile app, as the second URL you mention is still hosting their old API.

Does SolarMAN work in the stable version of this app?

from homey-solarpanels.

mchieppa avatar mchieppa commented on July 24, 2024

Both, stable version and beta version have the same connection problem.
I think because of the fact that http://213.136.73.47:18000 does not exist anymore.
I think Solarman has changed their API url.

The URL I found in the documentation of Solarman is http://www.solarmanpv.com:10000.
This URL leads you to a webservice page
and I think when the old URL is switched with the one above it should be working,
if Solarman did not change their API calls.

from homey-solarpanels.

mchieppa avatar mchieppa commented on July 24, 2024

I checked the ?WADL, but there are no webservices described in it, maybe we need to look into the updates solarmanpv app to see which URL they use now and adjust the URL to that URL.

from homey-solarpanels.

DiedB avatar DiedB commented on July 24, 2024

Can you send your Solarman login details to [email protected]? I'll give the other URL a try, but I do not think it's going to work. The app uses a different API now, which is currently incompatible with this app.

from homey-solarpanels.

mchieppa avatar mchieppa commented on July 24, 2024

I don't think it will work, because the URL has no API calls

I see the app is now connecting to http://47.91.240.139:18000/ [Hong Kong],
but I don't get any response when I try it in a browser

from homey-solarpanels.

mchieppa avatar mchieppa commented on July 24, 2024

I'm also getting a second URL in the capture: 203.205.146.45:80 [China],
this is going to a nginx webserver

from homey-solarpanels.

DiedB avatar DiedB commented on July 24, 2024

The URL you mention (47.91.240.139:18000) seems to host the API I designed the app to talk to.

Do you know how to install Homey apps from a local source? Do you want to test the app with an updated IP address?

from homey-solarpanels.

chrisboer avatar chrisboer commented on July 24, 2024

http://www.solarmanpv.com:10000 is the same as http://47.91.240.139:10000/ I will try it with an updated IP address

from homey-solarpanels.

chrisboer avatar chrisboer commented on July 24, 2024

Yes it works with http://www.solarmanpv.com:18000/SolarmanApi/serverapi/
Just changed it and connected Solarman again, I left my original also in so it should now both work with
Zonnepanelen v2.1.0 Diederik Bakker Geïnstalleerd via Developer Tools

from homey-solarpanels.

mchieppa avatar mchieppa commented on July 24, 2024

It's working only when you use site id, NOT site name!

from homey-solarpanels.

chrisboer avatar chrisboer commented on July 24, 2024

It's working only when you use site id, NOT site name!

What do you mean with site id because it was not working for me, yesterday I found out that it does connect the Solarman but not giving the values tonight I will put in the other fork and will recheck if I can add the device but I think this issue or the other issue are the same so one of them should be closed to keep all the info in one place

from homey-solarpanels.

mchieppa avatar mchieppa commented on July 24, 2024

I agree that all information should be on one place, that's why I added the Solarman extra information in this closed thread. When configuring Solarman Solarpanels you fill in 3 things, username, password and sitename or siteid. Sitename is not working and will time out, site id is working

from homey-solarpanels.

mchieppa avatar mchieppa commented on July 24, 2024

I used the alpha 2.3.2 version and I can make a connection to Solarman
and today I checked that the energy parameters are filled with correct values

from homey-solarpanels.

chrisboer avatar chrisboer commented on July 24, 2024

I don’t get a connection with Solarman it keeps trying to connect.
I tried to connect directly to the website login that was working so the site was not offline.
But if mchieppa tested it ok it could be I used a wrong version. So push it @DiedB

from homey-solarpanels.

DiedB avatar DiedB commented on July 24, 2024

I have updated the app store beta to 2.3.2. Can you try installing and testing it?

from homey-solarpanels.

chrisboer avatar chrisboer commented on July 24, 2024

Yes @DiedB it works ... I can add it now and I see already the energy total of today.

from homey-solarpanels.

aamirmalek avatar aamirmalek commented on July 24, 2024

I am working on the project where I want https://www.solarmanpv.com's data into MySQL using the API calls to the website. Any help?

from homey-solarpanels.

DiedB avatar DiedB commented on July 24, 2024

What do you mean? You can look at the code and use it under the GPLv3 license.

from homey-solarpanels.

Related Issues (20)

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.