Re: [weewx-development] MQTTSubscribe.py installing as service

2020-05-02 Thread Wysiwyg
Hello everybody, There is issue and maybe an improvement that could be done in the driver but I'm not sure to understand correctly. My understanding is that: def __init__(self, **stn_dict): is executed at weewx start while : def genLoopPackets(self): is executed at each packet lookp The

Re: [weewx-development] MQTTSubscribe.py installing as service

2020-01-14 Thread Ralph Underwood
I am using WeeWx 4.0.0.b8 (latest development version) and I copied MQTTSubscribe from your GitHub. I did not install via wee_extension. My plan was to replace my standalone python program which subscribes to MQTT and writes a file for the filepile.py extension. I converted it to Python3 so

Re: [weewx-development] MQTTSubscribe.py installing as service

2020-01-14 Thread Rich Bell
Ralph, What version of WeeWX and MQTTSubscribe? Did you install via wee_extension? If you post a copy of your config (making sure to remove any sensitive information), I’d be happy to take a look. We should probably move this out of the wxMesh thread... Rich On Tuesday, 14 January 2020 14:48:03

Re: [weewx-development] MQTTSubscribe.py installing as service

2020-01-14 Thread Ralph Underwood
I was replying to a post on an earlier page. I just found Rich's MQTTSubscribe.py and have started to experiment with it as a service. I managed to get to this: Jan 14 11:23:16 TestPi weewx[4983] CRITICAL weewx.engine: Caught unrecoverable exception: Jan 14 11:23:16 TestPi weewx[4983] CRITICAL