dnandha / miauth

Authenticate and interact with Xiaomi devices over BLE
GNU Affero General Public License v3.0
28 stars 10 forks source link

unable to register MCCGQ02HL #14

Open newfix opened 1 year ago

newfix commented 1 year ago

After having modified miauth/ble/blue.py to replace self.p.connect(self.mac, btle.ADDR_TYPE_RANDOM) by self.p.connect(self.mac, iface=0) I am able to connect to my device MCCGQ02HL.

However, when invoking python -m miauth.cli "my:ma:ca:dd:re:ss" --register I am repeatedly shown a message saying: Please press power button within 5 secs after beep: but pushing the only button that my device has does not appear to have any effect.

Any help would be appreciated.