You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting similar error to drndos/mikettle-ha#3 (comment) in my HA. So I went further and I'm trying to troubleshoot the root cause.
I'm trying to run demo.py but I'm getting the following error:
$ python demo.py connect AB:CD:EF:12:34:56 275
DEBUG:mikettle.mikettle:Init Mikettle with mac AB:CD:EF:12:34:56 and pid 275
Authenticating
Getting data from mi Kettle
Traceback (most recent call last):
File "/tmp/mikettle/mikettle/demo.py", line 78, in <module>
main()
File "/tmp/mikettle/mikettle/demo.py", line 74, in main
args.func(args)
File "/tmp/mikettle/mikettle/demo.py", line 46, in connect
print("FW: {}".format(kettle.firmware_version()))
File "/tmp/mikettle/mikettle/mikettle/mikettle.py", line 99, in firmware_version
self.auth()
File "/tmp/mikettle/mikettle/mikettle/mikettle.py", line 181, in auth
self._p.writeCharacteristic(_HANDLE_AUTH_INIT, _KEY1, "true")
File "/tmp/mikettle/venv/lib/python3.9/site-packages/bluepy/btle.py", line 543, in writeCharacteristic
return self._getResp('wr')
File "/tmp/mikettle/venv/lib/python3.9/site-packages/bluepy/btle.py", line 407, in _getResp
resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout)
File "/tmp/mikettle/venv/lib/python3.9/site-packages/bluepy/btle.py", line 368, in _waitResp
raise BTLEGattError("Bluetooth command failed", resp)
bluepy.btle.BTLEGattError: Bluetooth command failed (code: 3, error: Attribute can't be written)
@djmalin, how did you fix your your issue?
Any ideas what might be wrong?
The text was updated successfully, but these errors were encountered:
I'm getting similar error to drndos/mikettle-ha#3 (comment) in my HA. So I went further and I'm trying to troubleshoot the root cause.
I'm trying to run demo.py but I'm getting the following error:
@djmalin, how did you fix your your issue?
Any ideas what might be wrong?
The text was updated successfully, but these errors were encountered: