Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.17 KB

README.md

File metadata and controls

24 lines (19 loc) · 1.17 KB

wemo-auto-kotatsu

Turns on my kotatsu when the light is turned on

Info

This is purpose built for my house. I am too lazy to turn the power on the other side of the room.

I have a belkin Wemo insight smart plug, that I monitor the power usage of. Scenario is to auto turn on & and off a light on the other side of the room, based on the insight smart plug.

Features

  • When the power usage goes higher than a specific amount I know that the light is turned on, I turn on another adapter on the other side of the room.
  • When the light turns off, I turn off the other side.
  • I let the other side of the room be on for up to 15 minutes, to facilitate prewarming the kotatsu.
  • added ability to specify multiple always on times
    • --on-time=18:45-21:00 --on-time=23:40-2:00

Files explained

files explanation
flask_prog.py python webserver that calls open and close garage door
Dockerfile makes the container that deals with the kotatsu
docker-compose.override.yml docker-compose to start this project with right network settings
pyproject.toml poetry project file
poetry.lock poetry lock file