Rackspace Cloud Monitoring With Raspberry Pi LED has Kind of Official Guide. Extreme mod, kind of basic Internet of Things! Funny but useful. First, we have no contribution to the idea, you must read the original material from original source! The idea is of Nachiket Torwekar ( Racker ) and it is not a bad idea to make it better but keep the “less is more” motto. First make the local hardware things right! Read our Raspberry Pi Details and you will get a good looking transparent casing ( Photo ). Copy paste this URL in a new browser tab to check what Nachiket Torwekar did :
1 | http://www.rackspace.com/blog/light-of-pi-cloud-monitoring-with-leds/ |
We basically do not need to use lot of things which Rackspace offers, because we get the things in some visual way. Webhook notification is faster than an email will hit your inbox – quite logical, the path will be the same but there will be delay due to the protocol overheads. Practically he has the full stuffs but he out of excitement wrote in an way it is possibly difficult to use for the basic users who wants the fun. He has done everything :
1 | https://github.com/ynachiket/halo |
Rackspace Cloud Monitoring With Raspberry Pi LED
Buy the stuffs he has listed. Our local computer is the Raspberry Pi. Technically spectrum analyzer will look good, but let us do in the “default” method. The reason is, without a good modification, we will get the error as it is written for RGB LED String model LPD8806, with 32 leds/meter. So add a HDMI monitor to the Pi, a standard Ethernet cable for internet access, USB keyboard and mouse. Obviously you can use other method to access internet by the board, but Ethernet cable will be better over USB Modem connection. Username is pi
and password is raspberry
. Type starts
for graphical interface. This is our Monitoring Station
. Your servers are ready by installing Monitoring Tools. The web server of this Pi will run Flask as Web Server Software :
---
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # http://flask.pocoo.org # pi@raspberrypi ~ $ will be appended to mean Pi, # do not copy # that part pi@raspberrypi ~ $ sudo apt-get install python-pip pi@raspberrypi ~ $ sudo pip install flask pi@raspberrypi ~ $ sudo apt-get install git # you can remove git later pi@raspberrypi ~ $ git clone https://github.com/ynachiket/halo.git pi@raspberrypi ~ $ cd halo pi@raspberrypi ~ halo$ ls pi@raspberrypi ~ halo$ ledStrip README.md feed.py server.py # configure with your credentials and run pi@raspberrypi ~ halo$ sudo python server.py # you will get response like * Running on http://115.0.0.0:80/ * Restarting with reloader |
Rackspace Cloud Monitoring With Raspberry Pi LED : Whats Next?
Try to SSH to the Pi from your Mac or Linux PC. If you can not control it from another device, then you’ll not the whole fun. The thing Nachiket Torwekar did is great. But you can customize it more only with software. For example, When payload will increase more than 75%, it will start to beep. You can set logics and use other libraries to send alert to other devices like a Text Message to your mobile device.
Tagged With raspberry , paperuri:(57afe81d0045434cfbfd488f53c5b2f8)