UPDATE:
I removed the *INTERVAL, SERVER, *and *PROTOCOL *lines from the weewx.conf 
file, set *passcode *to *-1* and I'm once again uploading to CWOP, albeit 
at 15 minute intervals.

In an effort to shorten the interval to every 5 minutes, I inserted the 
line "interval = 300" into the conf file once again caused Python to choke 
with the following error:
---begin log snippet
 12:33:38 wx weewx[16277]: engine: Loading service weewx.restx.StdCWOP
Feb 12 12:33:38 wx weewx[16277]: restx: Shut down PWSWeather thread.
Feb 12 12:33:38 wx weewx[16277]: restx: Shut down Wunderground-RF thread.
Feb 12 12:33:38 wx weewx[16277]: engine: Caught unrecoverable exception in 
engine:
Feb 12 12:33:38 wx weewx[16277]:     ****  __init__() got an unexpected 
keyword argument 'interval'
Feb 12 12:33:38 wx weewx[16277]:     ****  Traceback (most recent call 
last):
Feb 12 12:33:38 wx weewx[16277]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 841, in main
Feb 12 12:33:38 wx weewx[16277]:     ****      engine = 
engine_class(config_dict)
Feb 12 12:33:38 wx weewx[16277]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 76, in __init__
Feb 12 12:33:38 wx weewx[16277]:     ****      
self.loadServices(config_dict)
Feb 12 12:33:38 wx weewx[16277]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 140, in loadServices
Feb 12 12:33:38 wx weewx[16277]:     ****      
self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Feb 12 12:33:38 wx weewx[16277]:     ****    File 
"/usr/share/weewx/weewx/restx.py", line 880, in __init__
Feb 12 12:33:38 wx weewx[16277]:     ****      **_cwop_dict)
Feb 12 12:33:38 wx weewx[16277]:     ****  TypeError: __init__() got an 
unexpected keyword argument 'interval'
Feb 12 12:33:38 wx weewx[16277]:     ****  Exiting.
--- end log snippet

On Sunday, February 12, 2017 at 12:21:36 PM UTC-5, Peter Dougherty wrote:
>
>     [[CWOP]]
>         # This section is for configuring posts to CWOP.
>
>         # If you wish to do this, set the option 'enable' to true,
>         # and specify the station ID (e.g., CW1234).
>
>         enable = true
>         station = w2irt
>         server = cwop.aprs.net:14580, cwop.aprs.net:23
>         interval = 180
>         protocol = CWOP
>
>         # If this is an APRS (radio amateur) station, uncomment
>         # the following and replace with a passcode (e.g., 12345).
>         #passcode = -1
>
>

-- 
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.

Reply via email to