Coder Social home page Coder Social logo

packaging_solaredgeoptimizers's Introduction

This python file handles the communication between Home Assistant and the SolarEdge Portal.

packaging_solaredgeoptimizers's People

Contributors

proudelm avatar gjdv avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

packaging_solaredgeoptimizers's Issues

optimizer 2:1 or 1:1

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?

after recent update - no longer working

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.

Historical panel data

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&parameterName={}'.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)

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.