[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 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 15 0a 0b 12 40 fe 00 27 6e 00 00 
1a 03*

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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]:buf += '%02x ' % 
> bytelogdbg('read_device(): %s' % buf)*
>
> Maybe it doesn't loop properly before writing to syslog?
>

One of the fun things about weewx is that 'you' can make it do what you 
want.
Save the existing code someplace for safekeeping and hack/play any way you 
want.

Tom always appreciates pull requests to review and perhaps integrate tweaks 
from the community

 

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 it doesn't loop properly before writing to syslog?

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.