Just add his passcode to the config file. His passcode is 21994 Joe On Monday, November 18, 2019 at 12:02:23 AM UTC-5, Mickael Hoareau wrote: > > Hello, > > > I would like to report a problem I encountered when configuring CWOP rest > service. > > I was configuring weewx for a user migrating from Weatherlink IP (Davis > Vantage Pro2). He is a radio amateur from Reunion (France), in Indian Ocean. > In the weatherlink configuration, the link with CWOP was settup with the > ID and without passcode and it has been working for a long time. > > In the weewx.conf, I then did this : > [[CWOP]] > enable = true > station = FR5ZU > post_interval = 300 > > > > But I kept getting this error message in the log : > APRS station FR5ZU requires passcode > > > In the restx.py file, the problem was in the test line 1048 here : > https://github.com/weewx/weewx/blob/3eb97346b92b588beb451449d67aab30b30ad6f3/bin/weewx/restx.py#L1048 > This test return false for the "FR5ZU" id. > > > If I comment all the "if ... else" code and try this : > _cwop_dict.setdefault('passcode', '-1') > #if re.match(StdCWOP.valid_prefix_re, _cwop_dict['station']): > # # It does not. > # _cwop_dict.setdefault('passcode', '-1') > #elif 'passcode' not in _cwop_dict: > # syslog.syslog(syslog.LOG_NOTICE, > # "APRS station %s requires passcode" % > # _cwop_dict['station']) > # return > > *=> It works juste fine.* > > I am not really familiar with CWOP, but isn't there a problem with the > *StdCWOP.valid_prefix_re* regexp ? > > Have a nice day, > Mickael >
-- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/0140ca20-00b3-4070-a8fe-3df9b22f22d7%40googlegroups.com.
