marcus, you basically already said it, but here are some options:
option 1: direct serial. write a driver, say elv.py, that gets serial data from the device and puts it into the LOOP packets that weewx will process. since you already have code that reads from serial, this should be pretty easy - just translate it into the weewx driver framework. you can use the texas weather instruments driver as an example: https://github.com/matthewwall/weewx-twi/blob/master/bin/user/twi.py the Station class encapsulates the actual capture of serial data, and the Driver class maps the data to the weewx constructs. this is about as simple as you can get (and still have some plumbing to make testing and diagnostics easy). option 2: adjust the output from your existing software so that it emits name=value pairs to a file. then use the fileparse driver (in the extensions directory of the weewx distribution) to read poll the file and pull the data into weewx. option 3: write a decoder for rtl_433, then use the weewx-sdr driver and a sdr to collect data directly from the sensors. you'll need to be familiar with C for this one, and you'll have to do some RF decoding. rtl_433 provides quite a few tools and examples, but there is a learning curve. m -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
