Hallo Luc
Hallo Tom

the driver meteostick.py

                # message received via repeater
                # Calculate crc with bytes 0-5 and 8-9, result must be equal
                # to bytes 6-7
                chksum = (pkt[6] << 8) + pkt[7]
                for i in xrange(0, 6):    must ---> range not xrange in 
Python3
                    raw_msg_crc[i] = chr(int(parts[i + 2], 16))
                for i in range(6, 8):
                    raw_msg_crc[i] = chr(int(parts[i + 4], 16))
                Meteostick._check_crc(raw_msg_crc, chksum)
 the error only after 1 hour 

Hartmut 

Reply via email to