Open teald4347 opened 3 years ago
The code in the radonwave.py
script has only been tested on the "regular" AirThings Wave. I know that it doesn’t work for the AirThings Wave Plus (see issue #4) because the way in which one needs to talk to the device has changed a lot.
I do not have access to the Wave mini and no one has contributed a patch to make it work so far (but perhaps you find some code somewhere else). If it is similar to the regular Wave, it should be possible to get it to work with just a couple of changes to the source code (changing the UUID and leaving out the sensors that the mini doesn’t support). If it is similar to the Plus, it’s harder.
You may want to have a look at the Notes, where I describe how I found out the necessary UUIDs. You could try it yourself by connecting to the mini using the nRF connect app.
Thanks for that feedback Marcel. It is very much appreciated!
I decided to do a little more investigating and I removed the "if False" on line 32 and got these services and characteristics back from the unit using your code:
$ python3 radonwave.py 18:04:ED:61:D4:74
Services
Service
I'll use nRF Connect to poke around some more and see what else I can find. Regards, Dave T
I recently purchased an AirThings Wave mini and can connect to it with my phone, and some of the temperature & humidity Python scripts that I've found on Github. However, using radonwave.py (https://github.com/marcelm/radonwave/blob/master/radonwave.py) I get "service not found": Bluetooth error: Service b42e1f6e-ade7-11e4-89d3-123b93f75cba not found I'm thinking that the UUID specified (on line 41) has changed over the years since the code was posted by Marcel. Any ideas about what the UUID should be?
Regards, Dave T