zu2 / wp6003

https://www.zukeran.org/shin/d/2020/12/19/co2-sensor-2/
21 stars 7 forks source link

Troubleshooting advice #4

Open svendickman opened 3 years ago

svendickman commented 3 years ago

Hello, I'm trying to connect from my Raspberry Pi Zero with python 3.7.3. I seem to find the device and get a connected, but then get traceback errors ending in dbus.exceptions.DBusException: org.bluez.Error.Failed: No discovery started, Error in atexit._run_exitfuncs: Can you give me any advice for troubleshooting?

I have previously connected to from this Pi to Mijatemp sensors with http://www.d0wn.com/using-bash-and-gatttool-to-get-readings-from-xiaomi-mijia-lywsd03mmc-temperature-humidity-sensor/ My M5stickC seems to be able to connect to the WP6003 without problems. Thanks in advance. Sven

johol commented 3 years ago

Try updating bluez to a version >= 5.51 but I think, the highest version available for rasbian buster is 5.50. You have to compile the higher version by your self. 5.54 is in debian buster-backports.