Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/conorfennell/pi-camera-bot
Simple bot for taking and sending photos from a raspberry pi to telegram
https://github.com/conorfennell/pi-camera-bot
Last synced: 10 days ago
JSON representation
Simple bot for taking and sending photos from a raspberry pi to telegram
- Host: GitHub
- URL: https://github.com/conorfennell/pi-camera-bot
- Owner: conorfennell
- Created: 2016-01-28T19:21:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-28T19:31:58.000Z (almost 9 years ago)
- Last Synced: 2023-03-19T17:45:27.661Z (over 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pi-camera-bot
Camera used:http://www.amazon.co.uk/gp/product/B00E1GGE40?ref_=pe_385721_51767431_TE_dp_4
Install node on your raspberry pi:
For Raspberry Pi 2 Model B
1. wget https://nodejs.org/dist/v4.2.6/node-v4.2.6-linux-armv7l.tar.gz
2. tar -xvf node-v4.2.6-linux-armv7l.tar.gz
3. cd node-v4.2.6-linux-armv7l
4. sudo cp -R * /usr/local/
5. node -v //sanity checkFor Raspberry Pi model A+ or B+
1. wget https://nodejs.org/dist/v4.2.6/node-v4.2.6-linux-armv6l.tar.gz
2. tar -xvf node-v4.2.6-linux-armv6l.tar.gz
3. cd node-v4.2.6-linux-armv6l
4. sudo cp -R * /usr/local/
5. node -v //sanity checkTo run pi-camera-bot:
1. clone down pi-camera-bot to /home/pi/
2. cd ./pi-camera-bot
3. npm install // Run from the command line to install any node modules referenced in the package.json
4. Put your own bot token in the bot.js file "var BOT_TOKEN = 'your-bot-token-provided-by-botfather';"
5. node bot.js // starts the bot; send '/photo' message from Telegram to take a pic.