by Bill Wilkins Version: 0.1
A simple nodejs service that provides a HTTP weather service for the 1080 based USB Weather Station. Based on a lot of the work done by Jim Easterbrook and others on the pywws (Python) scripts. I have this installed on a Raspberry Pi running Wheezy.
- http://:/weather/settings - return JSON object for station settings
- http://:/weather/now - return JSON object for latest weather reading
- http://:/weather/recent - return JSON object for most recent readings with (limited) analysis (raining)
- http://:/weather/history - return JSON formatted full history on device
http://:/homepage/index.html - display a web page of data using KickStart and jQuery
- KickStart - included but a notable mention
- jQuery - referenced in UI components and awesome
- node-hid npm - made solving the USB parts a lot easier (thank-you)
- restify npm - makes the HTTP service elements so simple
- install nodejs
- install npms (node-hid, restify)
- Connect 1080 compatible Weather Station
- Run node whid.js (may require sudo on Mac/Unix)
In UK, Maplin stock at www.maplin.co.uk/p/black-usb-wireless-touchscreen-weather-forecaster-n96gy