Open SystemFuchs opened 1 year ago
Sorted it out.
Could you merge your go bluetooth repo changes with the actual 0.5.0 version? Regarding Github an automic merge seems possible!
Best regards & thx for you efforts.
Hey folks, is there an update on this? It seems like the same issue persists.
Thanks for your efforts so far!
It's been a while (2 years!) since I last touched this project. I have since moved my b-parasites to ESPHome + BTHome + HomeAssistant (see docs), which I think it's an easier, cheaper and more battle tested way of integrating them into Home Assistant.
If someone wants to bring this project to a better shape, here's what I would suggest:
It seems that an actual bluez stack forces parasite-scanner to crash.
pi@raspberrypi:~/parasite-scanner$ ./parasite-scanner -config example_config.yaml panic: unable to initialize the BLE stack: MapToStruct: Field not found: Roles
goroutine 6 [running]: main.(*ParasiteScanner).Run(0x200e2b0) /home/pi/parasite-scanner/ble.go:95 +0x13c created by main.main /home/pi/parasite-scanner/main.go:33 +0x194 pi@raspberrypi:~/parasite-scanner$ uname -a
Linux raspberrypi 5.15.56-v7+ #1575 SMP Fri Jul 22 20:28:11 BST 2022 armv7l GNU/Linux
pi@raspberrypi:~/parasite-scanner$ cat /etc/debian_version 11.4
pi@raspberrypi:~/parasite-scanner$ bluetoothctl --version bluetoothctl: 5.55