Hello everyone, After lots of debugging with Patrick today I converted his script in a basic but functional weeWX driver. I wrapped the functions in his script in a class object to keep it separate from the class that inherits from weewx.drivers.AbstractDevice. Code is hosted in gitHub: https://github.com/jardiamj/BYOWS_RPi/blob/master/byows_rpi.py
Next steps are: - To incorporate the code in the other 3 files: bme280_sensor_2.py <https://github.com/jardiamj/BYOWS_RPi/blob/master/bme280_sensor_2.py>, ds18b20_therm.py <https://github.com/jardiamj/BYOWS_RPi/blob/master/ds18b20_therm.py> and wind_direction_byo_5.py <https://github.com/jardiamj/BYOWS_RPi/blob/master/wind_direction_byo_5.py>. To make it just one single file containing the driver. - Make the configuration variables available through the weewx.conf file. Jardi. -- 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.
