raspberry pi weather storey
TRANSCRIPT
![Page 1: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/1.jpg)
A Raspberry Pi enabled weather station
Dom Storey, ([email protected])IBM Hybrid Integration, Senior Inventor24th March 2016
Weather Storey...
![Page 2: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/2.jpg)
Why?Given a Pi as a birthday present... Hate wasting things.
![Page 3: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/3.jpg)
Maplins also had a sale on…
I can’t resist a sale!
![Page 4: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/4.jpg)
http://www.weather.dragontail.co.uk/index.php?page=station_setuphttps://github.com/jim-easterbrook/pywws
Found this piece of Open Source
![Page 5: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/5.jpg)
Which publishes to Weather Underground using perl
![Page 6: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/6.jpg)
and also had the ability to tweet
Added “fortune” cookie tweets for variety!
@weatherStorey
![Page 7: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/7.jpg)
Unwanted attention!
![Page 8: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/8.jpg)
Section pageMore text on one line in this location if needed
From Twitter to Facebook
![Page 9: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/9.jpg)
How does it work?
![Page 10: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/10.jpg)
10
Raspberry Pi setup Raspberry Pi powers the WH1080 weather station and uses pywss to collect the weather
stats and publish them via a cron job every 10 minutes– Can power the base station as I have it connected to an Ethernet Powerline Adapter– These are then sent to a public weather underground api
http://www.wunderground.com/personal-weather-station/dashboard?ID=IHAMPSHI98– And tweeted
Every hour a fortune is also tweeted via cronjob using the pywss twitter perl script The Pi also runs “ddclient” and so can be contacted externally at a known domain
– uses http://mooo.com/ (https://samhobbs.co.uk/2015/01/dynamic-dns-ddclient-raspberry-pi-and-ubuntu)
– SSH port 22 mapped externally to stop simple hacking and ‘pi’ user disabled(http://raspi.tv/2012/how-to-create-a-new-user-on-raspberry-pi)
- Allows access to NAS drives
![Page 11: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/11.jpg)
11
Pi Negatives
Model B can be slow but the Pi 2 and especially Pi 3 are now comparable with PC’s from 15 years ago
– I remember spending £100 for a P120 rather than a P90! Only 100Mbs Ethernet Only 1GB RAM PiZero good for IoT low power applications Model B has been through 2 SD cards in 3 years of continuous running
– Backing up a must Runs an OS so not good for very low latency millisecond applications
– Computer not a microcontroller like an Arduino– Cannot Switch LED strips as they need ms addressing
![Page 12: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/12.jpg)
I now have several Pi’s and so am officially addicted to Pi
Model B - Home/ Weather station Pi
Model B+ - Son’s Scratch and Minecraft Pi
Pi 2 – MAME Arcade Machine Pi
Pi Zero – Plan to make a doorbell tweeter
Pi 3 - ???????
![Page 13: Raspberry pi weather storey](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ef5df21a28ab43478b4621/html5/thumbnails/13.jpg)
Any Questions?