File | Date | Author | Commit |
---|---|---|---|
License.md | 2018-10-08 |
![]() |
[9dec7e] Add some (minimal) documentation. |
PostgresPi.md | 2018-12-31 |
![]() |
[961f9c] Clean up markdown a bit |
ReadMe.md | 2018-10-08 |
![]() |
[1bd9d1] Use actual markdown emphasis |
wxRecordBME.py | 2018-10-08 |
![]() |
[083cd2] Make sure we have network and name resolution b... |
WxPi is a simple remote weather sensor for the Raspberry Pi ZeroW, running
Raspbian. It is designed to be a headless sensor, attached to a WiFi network
and recording data samples into a remote (currently PostgreSQL) database.
It is not designed to be a product, by any stretch of the
imagination.
To bring this up, you have to boot your ZeroW with a monitor and keyboard
(and optionally a mouse), get it attached to your network, and edit
the script with the name of your database server, or optionally install
PostgreSQL on the ZeroW and edit the script to use localhost. I may 'fix'
the database host, etc, in a configuration file at some point, who knows?
The sensor code is based on a BME280 library from Adafruit, currently
marked as deprecated. Adafruit have apparently come up with an entire
framework for doing IoT-ish things on Raspberry Pi, but I didn't want to
have to climb over their mountain of documentation to figure that out.
Get the 'outdated' library and be happy.
You may have to change the I2C address to match your BME280. Maybe I
should paramterize that too.
This code is distributed under the terms of the MIT License. Do with it
as you will, but if you use my code, include this ReadMe and the License
file with your distribution.