the wiki has an example of how to do option 2 using file parsing:

https://github.com/weewx/weewx/wiki/add-sensor

the wiki also has an example of how to do option 2 using a separate thread:

https://github.com/weewx/weewx/wiki/multi-threaded-service

Reply via email to