merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
383 stars 62 forks source link

Mi Bedside Lamp (yeelink.light.bslamp1) cannot switch off in Home app #390

Closed scegg closed 1 year ago

scegg commented 1 year ago

Describe the bug In iOS Home app, Mi Bedside Lamp can switch on and modify brightness and color, but not able to switch off. The Mi Bedside Lamp shows 4 controls in Home App: Brightness, Switch A, Switch B and color selection. It seems that Switch A and B are for different working mode. When either A or B is on, the light is on. When switching one to on, another is switched off automatically. BUT, when switch one from on to off, it reverts to on automatically. So there is no way to turn off the light in Home app.

Expected behavior The both switches can be set to off.

Your config.json { "name": "Mi Bedside Lamp", "ip": "xxx.xxx.xxx.xxx", "token": "83f3b254649cf2e900f26ec2df7ecf2f", "deviceId": "88347109", "model": "yeelink.light.bslamp1", "pollingInterval": 10, "deepDebugLog": false, "micloud": { "username": "", "password": "", "country": "cn" }, "buzzerControl": true, "ledControl": true, "childLockControl": true, "modeControl": true }

merdok commented 1 year ago

I am not sure what you exactly mean but you have to tap on the brightness slider to turn off the lamp...

scegg commented 1 year ago

I am not sure what you exactly mean but you have to tap on the brightness slider to turn off the lamp...

Actually, taping the brightness bar will set the brightness instead of turning off. But I find out the way to close that: touch the brightness bar and pull down below the bottom. That works.