https://github.com/gonzalo123/fan
Trigger my fan connected to wemo switch depending on BeeWi sensor
https://github.com/gonzalo123/fan
beewi-sensor fan humidity iot telegram telegram-bot temperature wemo-switch
Last synced: 3 months ago
JSON representation
Trigger my fan connected to wemo switch depending on BeeWi sensor
- Host: GitHub
- URL: https://github.com/gonzalo123/fan
- Owner: gonzalo123
- Created: 2016-08-09T16:53:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T20:28:14.000Z (almost 10 years ago)
- Last Synced: 2025-06-15T00:38:47.304Z (about 1 year ago)
- Topics: beewi-sensor, fan, humidity, iot, telegram, telegram-bot, temperature, wemo-switch
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fan
Summer pet project for a rainy holiday afternoon.
I've got a fan connected to a Wemo switch (http://www.belkin.com/us/p/P-F7C027/).
I also have one BeeWi temperature & humidity sensor http://www.bee-wi.com/bbw200,us,4,BBW200-A1.cfm.
The idea is simple: Switch on my fan when temperature is over a threshold and switch off the fan when temperature is below.
I also want to be informed when state changes via Telegram.
# how it works
* I use noble (bluetooth) to speak with the BeeWi sensor.
* I use wemo-client to speak with Wemo device
* I use telebot to send data to my Telegram Bot.
* The script runs with node within my Rasberry Pi 3
# future things (things that probably never will)
* Create a Telegram bot to see:
* The status of my fan.
* The temperature, humidity and battery status of my BeeWi device.
* Detect my Peeble watch and never switch on the fan when I'm not close to it.
# installation
* Install node dependencies (npm install)
* Rename conf.json.dist to conf.json with your api key and device's mac address
# references
* https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=139848