This python file handles the communication between Home Assistant and the SolarEdge Portal.
proudelm / packaging_solaredgeoptimizers Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
This python file handles the communication between Home Assistant and the SolarEdge Portal.
hi, my P850 Optimisers are connected with 2 PV Modules, the SE monitoring shows it correctly, is there a way to get this 2:1 or 1:1 connection status as attribute?
Hello,
I've upgraded to 1.2.0 (from1.14) and i see the following error in my logs:
[custom_components.solaredgeoptimizers.sensor] Error fetching SolarEdgeOptimizer data: 'IST'
all the sensors are in unknown state.
I am trying to add to your code the ability to retrieve historical data on panel level. Unfortunately not successful yet. Perhaps you have some experience to help me further.
By monitoring calls being made when viewing https://monitoring.solaredge.com/solaredge-web/p/site/{siteID}/#/charts
, I see that this data is retrieved by doing a GET request to the following url:
url = 'https://monitoring.solaredge.com/solaredge-web/p/chartData?reporterId={}&fieldId={}&reporterType=&startDate={}&endDate={}&uom=W¶meterName={}'.format(
itemId, self.siteid,
starttime, endtime, parameter
)
When I try to do such a call from Python, checking that the headers sent are the same as in the browser, I can't get a valid answer back, only status code 500. I do see a difference in the cookie(jar) content, as the browser also has e.g., a SolarEdge_SSO-1.4 cookie, which I don't see when running your python module.
Could it be that SE uses different levels of security for various subpages (e.g., /solaredge-web/p/publicSystemData
vs /solaredge-web/p/chartData
)? (which makes that your module is able to login 'sufficiently' to get the latest panel data, but not the historical data)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.