This repository has been archived on 2024-01-30. You can view files and clone it, but cannot push or open issues or pull requests.
trev/README.md

46 lines
1.8 KiB
Markdown
Raw Normal View History

2016-01-11 21:16:48 +01:00
# Home Automation
## Vision
This should work in such a way that the user logs into a web interface where they then should be able to easily control their home. A lot like heimcontrol.js, however with a cleaner interface and less wasted space. On the technical side it would be nice to have a better protocol than the one used by duino, which seems counterintuitive. Its not a binary protocol, but rather a text based one, which is odd. It would also be nice if there were a easier way to set up device maybe I could use receivers to learn patterns of, for example IR-remotes, that I then could replicate with the transmitter. It would also be nice to have the capability to schedule tasks. Turning on the radio to wake me up or being able to switch of the lights automatically for example.
## Links
- [duino](https://github.com/ni-c/duino)
- [heimcontrol.js](http://ni-c.github.io/heimcontrol.js/)
- [serialport](https://www.npmjs.com/package/serialport)
2016-01-17 12:26:04 +01:00
# Dependicies and Requirements
## Hardware
2016-01-11 21:16:48 +01:00
- [x] Raspberry Pi
- [x] Arduino Uno Rev3
- [x] Heat-Sensor
- [x] Light-Sensor
2016-01-16 21:58:05 +01:00
- [x] RC-Transmitter (Receiver?)
2016-01-17 12:18:41 +01:00
- [x] IR-Transmitter
- [ ] IR-Receiver
2016-01-11 21:16:48 +01:00
- [x] RC-Poweroutlets
- [x] LEDs
2016-01-17 12:26:04 +01:00
## Software
2016-01-11 21:16:48 +01:00
- [x] [Node.js](https://nodejs.org/en/)
2016-01-14 00:48:45 +01:00
- [ ] [MySQL](http://www.raspberry-projects.com/pi/software_utilities/mysql)
2016-01-11 21:16:48 +01:00
- [ ] [Passport?](http://passportjs.org/)
- [x] [Serialport](https://www.npmjs.com/package/serialport)
- [ ] [mysql](https://www.npmjs.com/package/mysql)
2016-01-14 00:48:45 +01:00
- [x] [Express](http://expressjs.com/)
- [x] [AngularJS](https://angularjs.org/)
2016-01-17 12:26:04 +01:00
- [x] [Ino](http://inotool.org/)
- [x] Raspberry Pi Arduino Package (`sudo apt-get install arduino`)
2016-01-16 21:58:05 +01:00
2016-01-17 12:26:04 +01:00
# Pins
## Analog
2016-01-17 12:18:41 +01:00
|Pin | Function |
|--- |------------- |
|A0 | Temperature |
|A1 | Light |
2016-01-16 21:58:05 +01:00
2016-01-17 12:26:04 +01:00
## Digital
2016-01-17 12:18:41 +01:00
|Pin | Function |
|--- |--------------- |
2016-01-17 12:21:09 +01:00
| ~3 | IR-Trasmitter |
| 4 | LED |
|~11 | RC-Trasmitter |