Skip to content

gonzalo123/home-automation

Repository files navigation

home automations

Summer pet project

My stuff:

tempReaderWorker.js

  • gearman worker
  • it reads temperature and humidity from my BeeWi sensor via BTLE

worker.js

  • gearman worker
  • yes I know. It's ugly, but I need to add this worker. tempReaderWorker finish (process.exit()) after sending data to this worker. I don't want to free bt interface to be able to have more scripts using it. That's a fast and ugly solution but it works.

bot.py

  • Telegram bot
  • The following commands are available:
  • /switchInfo: get switch info
  • /switchOFF: switch OFF the switch
  • /help: Gives you information about the available commands
  • /temp: Get temperature
  • /switchON: switch ON the switch

sniff.py

  • detects when I'm close to my home and sends me a message via Telegram with the temperature.
  • It's a network sniffer
  • It detects when my mobile phone send a ARP package to my router (aka when I connect to my Wifi). It happens before I enter in my house, so the telegram message arrives before I put the key in the door :)

bulb.py

  • control BeeWi Smart LED Color Bulb.

## alarm/crontab

  • crontab to turn on/off and set the color of the bulb

supervisor.conf

  • all scripts are running in my Raspberry Pi3.
  • I need to keep alive all. So I supervisor to ensure process are up

#References https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=117729 https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=139848

About

my home automation project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published