
Smart Plug - Switch On/Off using Smart Meter Data
- or -
Post a project like this1960
$20/hr
- Posted:
- Proposals: 11
- Remote
- #3055557
- Awarded
AI & Data Science Engineer | Nodejs | Ruby On Rails | AWS | GCP | Python | React | Angular |

50963872274804348673534271713005840355043532178241088681216400031147434415542
Description
Experience Level: Entry
Estimated project duration: 1 day or less
I'm looking for someone to write some code (I have existing Ruby code) to:
1) poll my smart power meter API (Nuerio) and then
2) tell my Kasa TP Link smart plug to turn on
2a) if over a 10 min average solar generation exceeds my current consumption by say 700 Watts.
2b) It should then turn off if over a 10 min average solar generation does not exceed current consumption.
3) Write to a Google sheet (or similar) when it is turning the switch on and off, and the present Neurio power values as it does it
Essentially its a smart switch to divert power to other uses in the home rather than exporting to the grid. I'm very open to how exactly to do this. Both Nuerio and Kasa TP Link have applets on IFTT, but none have the functionality I need described above. Neuerio has an API available to access the raw power consumption data.
I had some current code written in Ruby and running on Heroku, but... although it worked fine for a few months, its stopped working recently - I have the code to share. Ideally I'd like the new code to run on a Raspberry Pi or similar, so at least I can more easily get to it and see what is happening if it's not working than using Heroku.
Some background reading below.
Neruio API info:
https://api-docs.neur.io/
https://www.neur.io/
Neruio Python API:
https://github.com/jordanh/neurio-python
Kasa TP Link and IFTT:
https://ifttt.com/kasa
https://www.kasasmart.com
Regards,
Mark
1) poll my smart power meter API (Nuerio) and then
2) tell my Kasa TP Link smart plug to turn on
2a) if over a 10 min average solar generation exceeds my current consumption by say 700 Watts.
2b) It should then turn off if over a 10 min average solar generation does not exceed current consumption.
3) Write to a Google sheet (or similar) when it is turning the switch on and off, and the present Neurio power values as it does it
Essentially its a smart switch to divert power to other uses in the home rather than exporting to the grid. I'm very open to how exactly to do this. Both Nuerio and Kasa TP Link have applets on IFTT, but none have the functionality I need described above. Neuerio has an API available to access the raw power consumption data.
I had some current code written in Ruby and running on Heroku, but... although it worked fine for a few months, its stopped working recently - I have the code to share. Ideally I'd like the new code to run on a Raspberry Pi or similar, so at least I can more easily get to it and see what is happening if it's not working than using Heroku.
Some background reading below.
Neruio API info:
https://api-docs.neur.io/
https://www.neur.io/
Neruio Python API:
https://github.com/jordanh/neurio-python
Kasa TP Link and IFTT:
https://ifttt.com/kasa
https://www.kasasmart.com
Regards,
Mark
Mark M.
100% (1)Projects Completed
2
Freelancers worked with
2
Projects awarded
75%
Last project
9 Mar 2020
New Zealand
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies
