Home
Name Modified Size InfoDownloads / Week
License.md 2018-10-08 1.1 kB
ReadMe.md 2018-10-08 1.3 kB
Totals: 2 Items   2.3 kB 0

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.

Source: ReadMe.md, updated 2018-10-08