Skip to content

IOT Device displays info of current electricity price

Notifications You must be signed in to change notification settings

lenadrolopez/electricIOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electricIOT

IOT Device for display info of current electricity price from Spain.

Download/classify rates, and turns on a led on a nodemcu esp8266 depending on the price.

In Spain, electric rates are published everyday at 20h.

This project is a summer exercice for an 8 years child, just for fun.

How to use

Configure your wifi network and/or your mqtt server in the nodemcu sketch electric/electric.ino

Configure mqtt server in main.py

main.py must be running on a rpi or linux server. Every 15 minutes, downloads info from ree.es Red Eléctrica Española and classifies prices in 3 categories (expensive, medium and cheap). Every 5 minutes, checks current time, finds current price and sends an mqtt message with a string:

  • red - expensive

  • yellow - medium

  • green - cheap

Schema: alt text

Hardware

  • Rasperry Pi/linux server

  • nodemcu esp8266

  • 5 leds, different colours

  • 5 resistors

  • breadboard and wires

About

IOT Device displays info of current electricity price

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages