Re: [weewx-development] Developing a WeeWX-Driver for custom weather station hardware (adding custom sensors)

2019-02-15 Thread Henry Denston
Got it, thank you. I'm testing my driver right now and I noticed some strange behavior. *My driver works like this:* It queries an external MySQL database and selects all datasets (rows, and one row contains a timestamp, the value of sensor1, sensor2 etc.) that have not been processed by WeeWx

Re: [weewx-development] Developing a WeeWX-Driver for custom weather station hardware (adding custom sensors)

2019-02-15 Thread Thomas Keffer
If you're going to all the trouble of creating a custom database schema, you can certainly make additional changes to suit your needs. Just be careful not to drop something you'll need for your reports. However, you'll find removing unused observation types does not save as much space as you

Re: [weewx-development] Developing a WeeWX-Driver for custom weather station hardware (adding custom sensors)

2019-02-15 Thread Thomas Keffer
Yes, your strategy would work, and your names (radiation1, radiation2, and radiation3) are sensible names to give the extra sensors. You would have to change the database schema to accommodate the extra sensors. Do you have an existing database, to which you want to add the new observation

Re: [weewx-development] Developing a WeeWX-Driver for custom weather station hardware (adding custom sensors)

2019-02-15 Thread Henry Denston
Hi Tom, thank you very much for your great reply! :) I do not have an existing database yet. I already read the *Adding a new type to the database *section in the Customizing Guide, however was confused as I thought this only applies in

[weewx-development] Developing a WeeWX-Driver for custom weather station hardware (adding custom sensors)

2019-02-15 Thread Henry Denston
Hello everyone! I'm currently developing a custom weather station (a microcontroller collecting data from custom sensors and forwarding it to a RaspberryPi). I already read the customization guide multiple times and started to develop a custom weewx-driver for my custom weather station. The