Short answer is *'if you run unmainted code then you need to freeze to a 
setup that works forever, or you need to handle it yoursel*f'.   Looks like 
you got 2to3 to get you python3 compatible (good) so you're most of the way 
there so I'd say keep going on your adventure since you're close....

log_success doesn't change debugging logging at all.

You'd have to point us to a copy of your modified driver to help for 
certain, but if you're starting with 
https://github.com/abillits/weewx-rmyro/blob/master/rmyro.py then it looks 
like it always runs with debugging messages chattering a lot.   Check out 
the genLoopPackets(self) routine around line 345  in the try: block for 
places where it says logdbg(something).  You can quiet things down at least 
temporarily by commenting those 5 lines in the try: part of the try/except 
block out.  Better long term fix would be to make it a little more 
configurable, but leave that for later.

try: raw_primary = self._station.get_primary_sensor_data() ##### 
logdbg("primary raw: %s" % _fmt(raw_primary)) data = 
Station.parse_primary_sensor_data(raw_primary) ##### logdbg("primary 
parsed: %s" % data) #if self._secondary is 'enabled': if "enabled" in 
self._secondary: raw_secondary = self._station.get_secondary_sensor_data() 
##### logdbg("primary raw: %s" % _fmt(raw_secondary)) data_secondary = 
Station.parse_secondary_sensor_data(raw_secondary) ##### logdbg("secondary 
parsed: %s" % data_secondary) data.update(data_secondary) packet = 
self._data_to_packet(data) ##### logdbg("mapped: %s" % packet) if packet: 
yield packet break 



You haven't provided any logs showing your WU double post issue, so I can't 
comment there.

-- 
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/4caa28b2-8fab-4280-a399-bfa9b9614eb2n%40googlegroups.com.

Reply via email to