https://github.com/redetection/bathroom-light
Automatic light control in the bathroom
https://github.com/redetection/bathroom-light
arduino home-automation led-strips smarthome
Last synced: 13 days ago
JSON representation
Automatic light control in the bathroom
- Host: GitHub
- URL: https://github.com/redetection/bathroom-light
- Owner: ReDetection
- Created: 2016-01-24T13:32:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-31T16:16:27.000Z (about 7 years ago)
- Last Synced: 2025-04-12T05:42:51.104Z (13 days ago)
- Topics: arduino, home-automation, led-strips, smarthome
- Language: C++
- Size: 1.13 MB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automatic LED light in my bathroom [](https://travis-ci.org/ReDetection/bathroom-light) #
It's so much useful so I even removed regular bulb — it became redundant.
## Features ##
- Automatic night mode 😴 (When it's dark in the apartment — turn on with 1% power)
- On motion detection trigger for N minutes (prolongation works)
- Buttons to change brightness or add 10 more minutes
- Automatically fades in and out
- Display how much time left
- Covered with tests! 🚀
- Modular source code 🔥

## "I have another microcontroller!", "I have Arduino board instead"... ##
It's okay. This code was initially written for Arduino Nano and later moved to single ATMega8 processor. Every Arduino should work fine, just change pins definition and you're done. It should be even compatible with ATTiny processors.
## Dependencies ##
* [SevSeg](https://github.com/DeanIsMe/SevSeg) for easy seven segment display operation
## License ##
MIT