merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
388 stars 61 forks source link

Xiaomi Philips Zhirui Downlight #214

Closed BuSHari closed 2 years ago

BuSHari commented 2 years ago

Device model philips.light.downlight

Device name Xiaomi Mijia Philips Zhirui Downlight https://www.aliexpress.com/item/4000977704276.html

Does the device require a MiCloud connection? Do not know

Anything special about the device? Its working only with off/on but cant set the Brightness and Color Temperature

Here is an error example from the logs

[10/02/2022, 09:25:11] [miot] [Philips Downlight 2] Device found: philips.light.downlight
[10/02/2022, 09:25:11] [miot] [Philips Downlight 2] Setting up miot device!
[10/02/2022, 09:25:15] [miot] [Philips Downlight 2] Successfully connected to MiCloud!
[10/02/2022, 09:25:15] [miot] [Philips Downlight 2] Getting device info from MiCloud!
[10/02/2022, 09:25:17] [miot] [Philips Downlight 2] Device setup finished! Miot device ready!
[10/02/2022, 09:25:17] [miot] [Philips Downlight 2] [Miot Device] Connected to device: philips.light.downlight
[10/02/2022, 09:25:17] [miot] [Philips Downlight 2] Doing initial property fetch.
[10/02/2022, 09:25:18] [homebridge-miot] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 200000 exceeded maximum of 333. See https://git.io/JtMGR for more info.
merdok commented 2 years ago

Did you force the device to use micloud or do you just have specified your micloud data globally?

BuSHari commented 2 years ago

Did you force the device to use micloud or do you just have specified your micloud data globally?

I just forced it to use the micloud and its working, there is a 5-10 seconds delay, is it something that can be resolved when it work localy?

merdok commented 2 years ago

Does it work also without forcing micloud? The on/off I mean?

BuSHari commented 2 years ago

Does it work also without forcing micloud? The on/off I mean?

Yes, on/off only without the Brightness and Color Temperature.

merdok commented 2 years ago

But you did remove the micloud credentials from your config.json and tried without them, right? And it still works? I need to make clear if the device requires micloud or not😅

BuSHari commented 2 years ago

But you did remove the micloud credentials from your config.json and tried without them, right? And it still works? I need to make clear if the device requires micloud or not😅

ohh understood, so i checked it now and its not working without the micloud

merdok commented 2 years ago

Good that we cleared that! So the device requires a micloud connection! I will add the device in the next update! Thanks!

merdok commented 2 years ago

The device is now added in version 1.0.4!

BuSHari commented 2 years ago

Thanks...