FlickElectricApi
FlickElectricApi copied to clipboard
instructions for install
Could you please give an example of how to use this the command line. I have installed nodejs, coffeescript but am not familiar with javascript so don't know how use it.
This is a library built in nodejs (a flavour of JavaScript). You will need to import this library into your application running nodejs code. As it is now, you will not be able to simply call this from the command line.
Heya, I built a little webapp for myself based on the information from this library. It can pull your price every x minutes. http://flick.it-innovation.systems
You can set your own threshold(s) to trigger an email, slack notification or IFTTT event. It also has a little graph, csv and xls export of all the data since using the app and I'll probably add more integrations as I add more IoT devices at home.
It's built with Joget 6 and I am happy to share the app file.
@Himmig how are the flick login details stored?
Hi Scotty, I don't store them - they are encrypted and temporarily used to obtain the token. Once the notification is set up they are deleted immediately. I wish Flick would use OAuth2 - then I wouldn't need it at all. Let me know if there's anything you'd like to see improved.