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
DEBUG:mikettle.mikettle:Init Mikettle with mac B8:7C:6F:A9:08:61 and pid 1116
Authenticating
Getting data from mi Kettle
FW: 7.5.10
Traceback (most recent call last):
File "/home/pi/kettle/demo.py", line 77, in
main()
File "/home/pi/kettle/demo.py", line 73, in main
args.func(args)
File "/home/pi/kettle/demo.py", line 47, in connect
print("Name: {}".format(kettle.name()))
File "/home/pi/kettle/mikettle/mikettle.py", line 87, in name
self.connect()
File "/home/pi/kettle/mikettle/mikettle.py", line 82, in connect
self._p = Peripheral(deviceAddr=self._mac, iface=self._iface)
File "/usr/local/lib/python3.9/dist-packages/bluepy/btle.py", line 391, in init
self._connect(deviceAddr, addrType, iface)
File "/usr/local/lib/python3.9/dist-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral B8:7C:6F:A9:08:61, addr type: public`
The kettle gives a peep sound (With other product id it does not, so I think that part is right) but it's not able to fully connect to the Mi Kettle. Any ideas?
The text was updated successfully, but these errors were encountered:
I'm Executin the following:
`pi@pi:~/kettle $ python3 demo.py connect B8:7C:6F:A9:08:61 1116
DEBUG:mikettle.mikettle:Init Mikettle with mac B8:7C:6F:A9:08:61 and pid 1116
Authenticating
Getting data from mi Kettle
FW: 7.5.10
Traceback (most recent call last):
File "/home/pi/kettle/demo.py", line 77, in
main()
File "/home/pi/kettle/demo.py", line 73, in main
args.func(args)
File "/home/pi/kettle/demo.py", line 47, in connect
print("Name: {}".format(kettle.name()))
File "/home/pi/kettle/mikettle/mikettle.py", line 87, in name
self.connect()
File "/home/pi/kettle/mikettle/mikettle.py", line 82, in connect
self._p = Peripheral(deviceAddr=self._mac, iface=self._iface)
File "/usr/local/lib/python3.9/dist-packages/bluepy/btle.py", line 391, in init
self._connect(deviceAddr, addrType, iface)
File "/usr/local/lib/python3.9/dist-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral B8:7C:6F:A9:08:61, addr type: public`
The kettle gives a peep sound (With other product id it does not, so I think that part is right) but it's not able to fully connect to the Mi Kettle. Any ideas?
The text was updated successfully, but these errors were encountered: