GithubHelp home page GithubHelp logo

pauls-personal-projects / cheaper-electricity-switch Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 276 KB

🇬🇧 Electricity Price Dependent Switch. 🇪🇪 Elektrihinnast Sõltuv Lüliti.

License: MIT License

Python 100.00%
estonia nordpool nordpool-dayahead-prices nordpool-electricity-exchange python home-automation iot smarthome smartthings smartthings-api elering elering-api

cheaper-electricity-switch's Introduction

Cheaper-Electricity-Switch

🇬🇧

This is an Internet of Things Electricity Market Project that combines cheap Smart Plugs with Automated Python Scripts to Minimize the Use of Electricity at Peak Price Hours.

🔌 “Smart” Plugs

There are countless of Smart Plugs on the market these days and I did not conduct any research into which one would be the best. This project uses Osram/Ledvance’s Smart+ Wifi Plugs, because A: These work with most smart home services and B: It was widely available and cheap at 17€ in Bauhaus. Plus, it offered some other neat features like tracking the current and monthly power usage.

🐍 Smarter Script

Since Ledvance does not provide an API for controlling their devices, I had to figure out another way. While I would have preferred using Google Home or Amazon’s Alexa as the middleman, Samsung’s SmartThings ended up offering the easiest solution. As for the price of electricity, Elering’s API provides a quick and easy access to Nord Pool’s Day-Ahead prices. The only bit left was to figure out an algorithm that would deduce when is the price too high.

🇪🇪

See on Asjade Interneti Elektrituru Projekt, mis ühildab soodsad Nutipistikud Automatiseeritud Püütoni Skriptidega selleks, et Kasutada Vähem Elektrit Hinna Tipptundidel.

🔌 “Nutipistikud”

Kuigi tänaseks on müügile jõudnud hulk erinevaid nutipistikuid, siis mingit uuringut parima tuvastamiseks ma läbi ei viinud. Selles projektis ma kasutasin Osram/Ledvance Smart+ Wifi Nutipistikuid, kuna A: Need töötavad enamus nutikodu teenustega ja B: need on laialdaselt saadaval ja soodsad 17€ kandis Bauhausis. Lisaks, on neil paar kasulikku lisafunktsiooni, nagu hetke ja kuu elektritarbimise jälgimine.

🐍 Nutikam Skript

Kuna Ledvance ei paku rakenduseliidest seadmete juhtimiseks, pidin leidma teise tee. Kuigi ma oleksin eelistanud Google Home või Amazoni Alexat vahendajana, siis Samsungi SmartThings pakkus kõige lihtsamat lahendust. Elektrihinna saamiseks kasutan Eleringi rakenduseliidest, mis pakub kiire ja lihtsa ligipääsu Nord Pooli Päev Ette Hindadele. Viimane pusletükk oli välja mõelda algoritm mis otsustaks millal on hind liiga kõrge tarbimiseks.

Images / Pildid

Google_Kalender

Contributing / Toetamine

Open to any tips and feedback!

Credits / Tänusõnad

License / Litsents

MIT

cheaper-electricity-switch's People

Contributors

paulpall avatar

Stargazers

 avatar  avatar

cheaper-electricity-switch's Issues

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.