On 10/09/2020 10:55, NY wrote:
> "The Natural Philosopher" wrote in message
> news:rjcjf8$kee$1@dont-email.me...
>> I have a yen to make a weather station as well, one day.
>
> I have a Davis Vantage Vue weather station (a remote sensor unit which
> measures wind speed/direction, rainfall amount/rate, outside temperature
> and humidity) and communicates these to a base station by radio link
> (proprietary, not wifi). The base station has a USB output.
I've got an Oregon Scientific weather station which can communicate with
an Android app via Bluetooth LE. Someone reverse engineered the
protocol, so I can use a Python program on a Pi to download temperature,
humidity and pressure readings. I combine these with readings from
Htu21d and BME280 I2C sensors on other Pi's which are around the house
and shed, and log to an SQLite database.
> Some time, I will investigate uploading the data to an SQL database on
> the server so a PHP program can extract and display graphs of specified
> parameters over a specified interval of time.
I've got another Pi running nginx web server with uwsgi, so it can use a
Python program (rather than PHP) to retrieve data from the SQL database
and generate HTML+javascript to plot it using Google charts.
It wasn't too difficult to do, I can't really formally release it as
open source as it uses bits of stuff pulled from various other projects,
but I can give you some pointers if you like.
---druck
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|