driannaude / pyflick Goto Github PK
View Code? Open in Web Editor NEWPython API For Flick Electric in New Zealand
License: MIT License
Python API For Flick Electric in New Zealand
License: MIT License
Hey,
Thanks for doing this.
I had been using another guys API info (which is much the same as yours) which I ported over to Arduino, and it was working, but recently they seemed to have changed the protocol and my forecast request is not returning the right stuff, but the Auth is still working and the current Price Request is.
I thought I would go back to basics and verify everything again, and so tried using https://apitester.com/ to test, and I cant even get the Auth workin on that.
Just curious if you have tried this yourself, and have any idea why the basic info for Auth is resulting in a HTTP/1.1 400 Bad Request, and states Auth failed invalid_request Missing required parameter(s) [:response_type, :client_id, :redirect_uri].
This is sending the same info as what you state in your readme.
Has me baffled.
Any help would be appreciated. I have no idea how to use Python so sadly your code is of no real help to me.
I am using it to control my hot water element, and I use the forecast in the 2nd half of the 30 minute window and cut the power off early if the forecast in the next 30 mins is outside my limits, as the switch over does not seem to be quite as accurate as Flic suggest, and if there is a really high rate predicted in the next period then it can start to sting you before that period actually arrives, so I cut things off early.
But currently forecasts are not working at all.
Any help would be appreciated
Cheers
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.