On Thursday, January 19, 2017 at 8:54:26 PM UTC-8, [email protected] wrote: > > > Dr Bob (name taken from the old Muppet sketch per chance???), > Indeed! I loved that show! :-)
> I can put in a delay (with the delay length driven by an optional > parameter with a default of 5 seconds). I must admit that the network > traffic didn't bother me on my home local network (especially when you look > at the garbage my Apple TV puts onto the network) but this is a good idea. > Great! > Also I'll add in the suggestion for the systemctl file. In the 'readme' I > mention that you should put in references to make sure the network is up > and running so the Weewx daemon will not cause problems on startup. > Well, all I did was take the util/systemd/weewx.service that you can find in the "setup.py" version of weewx and modify it for the "deb" locations and added the Restart and RestartSec commands. > Any thoughts about sampling the SDETUP packet more often to detect console > unit changes or is just telling people to restart Weewx OK? > Well, if you want to worry about that, then you probably have to check the SETUP in each loop packet. Which is kind of yucky. The really yucky part is that the output of NOWRECORD depends on what units the console is displaying. Bob
