Taking the Home Automation further I have been using the Pi-Mote all summer to control a fan and a light, but I want more from my Pi Home Automation setup. So I am taking this further. In this series of posts I will detail what I am doing, any pitfalls and the […]
Over on ClassThink.com I have posted a new part to my Vocal Intruder warning system, adding in photo capture of the person/thing that moved passed the PIR. For this we are using the fantastic Raspberry Pi Camera modules. The camera costs around £20 and plugs into one of the special sockets […]
Over on classthink.com I have guest posted a quick tutorial of how you can use a simple module to turn your Raspberry Pi into a intruder warning system. Thanks to the GPIO pins on the Raspberry Pi, you can attach a lot of external sensors. One such sensor that is excellent […]
What it does
This script will find the most recent raw file that PYWWS has produced in its data path, look for the last line and then look for the wind speed value (value 9- or counting from 0 as list arrays do – it is the 8th).
Once it has found the value it will go through a check to see if it is mild, windy or gale-force.
1 light = What Wind?
3 lights = rustling the leaves
6 lights = inside out umbrellas
12 lights = inside out houses
When I first installed the Weather Station image to the disk, it worked fine for the intermittent updates (hourly, daily for example). But I wanted to update live statistics to the Weather Underground.
Now, although the script was already there to run, it crashed repeatedly meaning several hours would go by without an update. This was not what I wanted so I searched around and finally came up with the solutions. One was a better script to run the live updates as a “DAEMON” and the other was to put this into “CRON” and run it every minute of every day.
Over the Christmas period I have been setting up a Maplin USB Wireless Weather station that is connected to my RaspberryPi using PyWWS drivers.
My RaspberryPi uploads the raw data to the Weather Undergrounds Personal Weather Station site (PWS for short). You can do this yourself using the same simple tools described in this post.
Getting Started With Python on the Raspberry Pi – ClassThink.com. I am a guest poster over on ClassThink.com. Check out my recent article on getting started with Python. This is only a very simple script as I just wanted it to be a primer to get people used to using nano […]