Jason Barnett (from Cyantech) has written some excellent code to work with the new online-only bank "Monzo". Monzo have a programming interface that allows you to query your bank account. They have savings "pots" where you can squirrel away money for a rainy day, or for your kids pocket money! These […]
Speedtest & Scan4Pi.py If you follow my blog, or Twitter feed – you will know I love my current ePaper Hat for my Raspberry Pi. You will also know that I have created a tool that will allow you to check your internet speeds and find devices on your network. Well […]
Do you have many Raspberry Pi's on your network, with DHCP (dynamic IP addresses)? If so – then I have a script for you!I have put together a python script that will scan your network for Raspberry Pi's and then try and connect to them via SSH.So not only can you […]
A little while back, whilst at one of the evening Ipswich Makerspace nights, I was asked how easy it would be to design a plug-and-play speed testing tool from a Raspberry Pi. Thanks to existing libraries like “speedtest-cli” for python, the answer is – really easy. So I started work on […]
On Thursday 7th May 2015, the UK vote for who they want running the country next. Pete Taylor over at http://kimondo.co.uk/ devised a very cool “Swingometer” to track candidates that have signed up for “Concern World-Wide”. Well, I loved the thought of this – but decided to write some code that would track […]
My weather station has sat idle for a little while, but today that changed and I have added a new module that will display the inside and outside temperature on an attached LCD Module. I have pasted the sample code below. This uses the database SQLite output from Weewx Weather Station […]
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