first I am not a developer, so pardon me in advance: I am getting the following error with interceptor: TypeError: ord() expected string of length 1, but int found.
This appears to be in line 338: def _fmt_bytes(data): if not data: return '' * return ' '.join(['%02x' % ord(x) for x in data]) * It appears the ord() changed between Python 2 and 3 and that is causing the problem. Not a developer but looked around for some suggested fixes and found this proposed fix: print (return ' '.join(['%02x' % byte for byte in data])) I can confirm that this is running when traffic is sniffed. E.g., when I print out ' '.join(['%02x' % byte for byte in data]) the I get b8 27 eb cd 62 d8 fc 34 97 77 30 f8 08 00 45 00 00 2c 2c 1c 40 00 fe 06 40 c8 c0 a8 32 09 22 e8 fa 4d e9 92 00 50 0c bf 8c d3 00 00 00 00 60 02 16 80 ee 5d 00 00 02 04 05 a0 b8 27 eb cd 62 d8 fc 34 97 77 30 f8 08 00 45 00 00 28 2c 1d 40 00 fe 06 40 cb c0 a8 32 09 22 e8 fa 4d e9 92 00 50 0c bf 8c d4 52 bd 4e 94 50 10 16 80 64 a5 00 00 b8 27 eb cd 62 d8 fc 34 97 77 30 f8 08 00 45 00 02 4e 2c 1e 40 00 fe 06 3e a4 c0 a8 32 09 22 e8 fa 4d e9 92 00 50 0c bf 8c d4 52 bd 4e 94 50 18 16 80 6d ea 00 00 47 45 54 20 Despite the change in the line I am not seeing further results from interceptor so I am not sure if it is not getting the right format of data or not. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d037e041-cf1a-4c8c-93c5-87cbd1f80b58n%40googlegroups.com.