Airthings / waveplus-reader

MIT License
133 stars 61 forks source link

Can't get it working #26

Open iGit-iGit-oGott opened 3 years ago

iGit-iGit-oGott commented 3 years ago

I've followed the readme. but in the end I'm getting this error. Scanning the device works fine.

Linux raspberrypi 5.4.83+ #1379 Mon Dec 14 13:06:05 GMT 2020 armv6l GNU/Linux Python 2.7.16

Traceback (most recent call last): File "read_waveplus.py", line 221, in waveplus.connect() File "read_waveplus.py", line 139, in connect self.curr_val_char = self.periph.getCharacteristics(uuid=self.uuid)[0] File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 475, in getCharacteristics rsp = self._getResp('find') File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 377, in _getResp resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout) File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 340, in _waitResp raise BTLEException(BTLEException.COMM_ERROR, "Error from Bluetooth stack (%s)" % errcode) bluepy.btle.BTLEException: Error from Bluetooth stack (comerr)