Matthew Thanks for the response I have tried and got errors the report from console is pasted below. I did notice that the line to add to the configuration referred to rain_bucket_size and the wlink.py refers to rain_bucket_type Regards John
default 09:47:31.507409 +0000 Python engine: Caught unrecoverable exception in engine: default 09:47:31.507495 +0000 Python **** invalid syntax (wlink.py, line 114) default 09:47:31.507972 +0000 Python **** Traceback (most recent call last): default 09:47:31.508063 +0000 Python **** File "/Users/Shared/weewx/bin/weewx/engine.py", line 865, in main default 09:47:31.508205 +0000 Python **** engine = engine_class(config_dict) default 09:47:31.508329 +0000 Python **** File "/Users/Shared/weewx/bin/weewx/engine.py", line 71, in __init__ default 09:47:31.508442 +0000 Python **** self.setupStation(config_dict) default 09:47:31.508551 +0000 Python **** File "/Users/Shared/weewx/bin/weewx/engine.py", line 95, in setupStation default 09:47:31.508671 +0000 Python **** __import__(driver) default 09:47:31.508777 +0000 Python **** File "/Users/Shared/weewx/bin/user/wlink.py", line 114 default 09:47:31.508902 +0000 Python **** if rain_bucket_type = 1: default 09:47:31.509029 +0000 Python **** ^ default 09:47:31.509132 +0000 Python **** SyntaxError: invalid syntax default 09:47:31.509239 +0000 Python **** Exiting. > On 2 Dec 2017, at 20:57, mwall <[email protected]> wrote: > > john, > > please try the attached wlink 0.12rc1.py > > you will have to set the bucket size in the configuration like this: > > [WeatherLink] > ... > rain_bucket_size = 1 # 0=0.01inch; 1=0.2mm; 2=0.1mm > > please let us know how it goes (you can thank tom for the solution - i just > pinched the code from the vantage driver :) > > m > > -- > You received this message because you are subscribed to a topic in the Google > Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/ER4cyPQmEak/unsubscribe > <https://groups.google.com/d/topic/weewx-user/ER4cyPQmEak/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > <wlink-0.12rc1.py> -- 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.
