[weewx-user] Re: Suggestion: Debug-format - sensor packet on one row instead of multiple rows

2018-11-10 Thread Per Edström
So this is no longer a suggestion about new function, it is a fault report about functions not working as it should.. -- 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

[weewx-user] Re: Suggestion: Debug-format - sensor packet on one row instead of multiple rows

2018-11-10 Thread Per Edström
Oh I have been playing around with the file now.. Apparently the DEBUG-settings in wmr200.py doesn't work. The "if DEBUG_xxx: " don't work but the DEBUG_PACKETS_RAW is what I have been looking for. I had to # the if-statement in order to make it work.. *wmr200: MainThread: D Packet raw:d7 10 24

[weewx-user] Re: Suggestion: Debug-format - sensor packet on one row instead of multiple rows

2018-11-10 Thread vince
On Saturday, November 10, 2018 at 10:02:42 AM UTC-8, Per Edström wrote: > > I'm not that skilled in Python but I guess the code to adjust might be > this: > (wmr200.py) > > > > > > * if DEBUG_READS:buf = ''for > byte in report[1:report[0] + 1]:

[weewx-user] Re: Suggestion: Debug-format - sensor packet on one row instead of multiple rows

2018-11-10 Thread Per Edström
I'm not that skilled in Python but I guess the code to adjust might be this: (wmr200.py) * if DEBUG_READS:buf = ''for byte in report[1:report[0] + 1]:buf += '%02x ' % bytelogdbg('read_device(): %s' % buf)* Maybe