tzachi-dar / LibreAllHouse

Use Raspberry pi devices to have all house coverage using the miaomiao device.
16 stars 12 forks source link

Using LibreAllHouse with MiaoMiao 1 and Libre 2 #10

Open JimmyJones102 opened 3 years ago

JimmyJones102 commented 3 years ago

Using Miaomiao 1 with Libre 2 and RPI 3 B for LibreAllHouse. phone has oop2 running for the libre 2 scan.py works and finds MAC address of miaomiao 1 OK,but after running Main.py get errors

INFO 2021-04-22 01:57:08,879 tryAgainAlowed numberOfCrcErrors = 2 NumberOfDiscnections = 0 2021-04-22 01:57:08.880: event wait ended, ret = True INFO 2021-04-22 01:57:08,881 We are still allowed to retry INFO 2021-04-22 01:57:13,887 Sending a request for more data after send failure INFO 2021-04-22 01:57:15,255 restarting since time from last packet is 6 already acumulated 369 40 50 we have enough data len = 369 checksum_ok1 = False checksum_ok2 = False checksum_ok3 = False INFO 2021-04-22 01:57:18,851 checksumok = False start byte = 40 end byte = 11 len = 369 battery = 100 <class 'str'> fw version = 39 hw version = 1 sensor serial number 0MH002L4H24 bad end byte 11 2021-04-22 01:57:18.870: event wait ended, ret = True INFO 2021-04-22 01:57:18,869 tryAgainAlowed numberOfCrcErrors = 3 NumberOfDiscnections_ = 0 INFO 2021-04-22 01:57:18,870 We are still allowed to retry INFO 2021-04-22 01:57:23,876 Sending a request for more data after send failure INFO 2021-04-22 01:57:25,248 restarting since time from last packet is 6 already acumulated 369 Followed by persistant error: Connecting... INFO 2021-04-22 01:58:29,073 cought btle.BTLEException Failed to connect to peripheral fa:03:f7:5f:ed:25, addr type: random 2021-04-22 01:59:28.998: event wait ended, ret = False