Git Product home page Git Product logo

python_enlighten_api's People

Contributors

danielpatenaude avatar jaccol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jaccol

python_enlighten_api's Issues

issue defining the users settings

I am sorry to bother you but I am having issue adding my information to the configs section. Below I am going to give you an example of how I have mine setup. The error I am getting is, name: 'adam' is not defined

"name": adam,
"user_id": [email protected],
"site_id": 2265555,
"api_url": api.enphaseenergy.com/api/v2/systems,
"api_key": c98a101222ff3487958ce5555555555,
"spreadsheet_id": [email protected]

Any advise you have would be great.

Thanks

README Feedback

I was experimenting with this project and encountered the same issue called out in the README:
"It appears there's a new v4 route (/api/v4/systems/{System_id}/devices/micros/{serial_no}/telemetry) that can get microinverter data based on a date range. This seems the more ideal way to get daily inverter data than my current way of having to get the current lifetime data minus the stored value. But unfortunately I have not been able to successfully call this route using the Enlighten API v4 docs. So maybe this route doesn't do what I think it does, and their docs don't make it very clear what it does. I always get a 401 - Not Authorized. If someone is able to get that figured out, please feel free to let me know."

I believe the issue (at least for me) stems from the free developer "Watt" plan which does not include device level monitoring. This is only included with the paid plans:
image

Unrelated, a few typos in the README:
"The Enphase API lacks the granulatiry granularity of seeing per inveter inverter daily stats."

Thank you for sharing this project.

Subscription plan WATT -> api: /api/v4/systems/{system_id}/telemetry/production_micro

Hi Daniel,

thanks for this repo. It's quite frustrating that enphase does not allow requesting on microinverter-level for subscription-plan watt. The enphase system (26 panels/inverters) will get installed in the next months, so I started to prepare some monitoring for the system including forecasting.

Have you ever tried the api: "/api/v4/systems/{system_id}/telemetry/production_micro" ? And what kind of data will you get?

Additional question: In which region/area is your system installed? Is 26,1 kW on 07.02.2022 the real production over all modules?

Thanks in advance.
olikr

License Clarification?

Hello

I'm hoping to use your code as a base for a personal project (using an inkplate as a solar usage display) and wanted to verify what license you would like me to treat at is MIT/GPL/etc?

Thanks

Initial authorization enlighten

Hallo Daniel,

I made kind of same system for accessing enlighten api v4.

It is possible to renew the initial authorization of the app (get new acccess /refresh token). I contacted enlighten support about why this was needed: got no response. It is clear that enlighten api is developed for apps that regurly access enlighten api....

I made a selenium script to login into enlighten and permit app access and get new access token. I was not clever enough to do this in a straight forward way. Should however be possible with some authorization magic (cookies).
I needed to add timestamp book keeping of access/refresh tokens to create new access token when refresh token is expired.

I doubt if my selenium method should be published. What is your opinion about trying to develop a script that uses user credentials to create new access token using some advanced authorization script?

Groeten,
Ronald

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.