Tom - I can duplicate this here with 5.0.2 running vs. my wfudpsimulator 
tool since I don't have actual hardware any more

If registering is enabled, you get that error when the archive period rolls 
around.

I added some debugging to restx that might help. 

        # Delay the registration by a random amount so all stations don't 
hit the server
        # at the same time.
        _registry_dict.setdefault('delay_post', random.randint(0, 45))

        log.info("StationRegistry _registry_dict: %s", _registry_dict)

Which outputs....

2024-02-17T10:36:57.489015-08:00 raspberrypi weewxd[1902]: INFO 
weewx.restx: StationRegistry _registry_dict: {'log_success': True, 
'log_failure': True, 'station_url': 
'https://www.example.com/no-station-here', 'station_type': 
'WeatherFlowUDP', 'description': 'WeatherflowUDP Simulator test station', 
'latitude': 47.31, 'longitude': -122.36, 'station_model': <bound method 
WeatherFlowUDPDriver.hardware_name of 
<user.weatherflowudp.WeatherFlowUDPDriver object at 0xf6ff9670>>, 
'config_path': '/home/pi/weewx-data/weewx.conf', 'entry_path': 
'/home/pi/weewx-venv/lib/python3.11/site-packages/weewxd.py', 'delay_post': 
39}

 Notice the station_model value.  Looks a little odd....

The driver sets the following....

# Default settings...
DRIVER_VERSION = "1.10"
HARDWARE_NAME = "WeatherFlow"
DRIVER_NAME = 'WeatherFlowUDP'

Notice the single quotes around DRIVER_NAME there ?
Perhaps some obscure single vs. double quote thing going on ?


-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/182ff702-ec25-462f-a070-e75e9869b94en%40googlegroups.com.

Reply via email to