Comments (7)
If you're interested in updating your module to work with the official API we could integrate it?
That could be fun !
I'll play a little bit with the official API next week and tell you
from bloom-contrib.
There's already an implementation here:
https://github.com/tmrowco/tmrowapp-contrib/blob/master/integrations/electricity/linky.js
Although it is quite unstable.
Join us on slack (slack.tmrow.com) and then we can help you in more details.
Thanks!
from bloom-contrib.
Would you consider using my linky npm module ?
It doesn't use the "official API" (which I didn't know before today), but it allows to get half-hourly values.
Do you need help on that ?
from bloom-contrib.
from bloom-contrib.
So, here I am with some updates. Using the official API was not as easy as I thought.
- First of all, you need to create an application (which has to be validated by the Enedis team π )
- You have to store some secret API keys (that cannot be shared) and use them from a back-end server
- Once a user authorizes your app, Enedis will call an URL that you have to implement, with some sort of storage system to save the user tokens (which change every few hours)
So here is the conclusion:
I cannot update my module to work with the official API, because a module is not enough. You need a server, API keys, and a database to make everything work.
from bloom-contrib.
from bloom-contrib.
The "you need a server" part is unacceptable. Can we contact them?
That's not how the 'API' is designed.
The end user is supposed to land on a webpage owned by enedis saying "Do you give APP-XXX access to your data during a period of 1 month" ?
When the user says "Yes I do", Enedis calls an URL owned by you with tokens in it, which you have to save.
Then, you can use these user-related tokens to call the Enedis API
Are you able to do make the changes?
Sure, I may just need some help to understand how your app works and what I should implement
from bloom-contrib.
Related Issues (20)
- Integration: MyFitnessPal HOT 2
- purchaseType: add more categories for "Other services" HOT 4
- Transportation: have fallback trip times when endDatetime is not available HOT 2
- Tesla integration: Battery now flat HOT 4
- Use 2011 exchange rates for monetary emission factors calculations
- Replace last usage of Γ lands Index to new monetary emission factors
- Use country-by-country matrices from CPA to COICOP categories instead of global HOT 4
- Carbon Model: Capital Purchases b2b - how is CO2e allocated? HOT 1
- Add option to specify foot-passenger/passenger with vehicle in ferries HOT 3
- Add charging country to car with batteryElectric Engine Type HOT 3
- OV-Chipkaart data integration for NL users HOT 1
- Carbon Model: [Pizza]?utm_source=com.tmrow.greenbit
- Carbon Model: PSI Car models
- Add anchors to pages for sources HOT 1
- water treatment emissions HOT 4
- Please add name of day HOT 5
- Purchase model is not checking for identifier HOT 4
- Feedback North-app from an outsider :)
- Carbon Model: [ADD WHAT YOU'RE LOOKING FOR HERE]?utm_source=com.tmrow.greenbit
- Clean-up footprints.yml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bloom-contrib.