Closed danielwaw closed 2 years ago
Can you post the homebridge debug log from during startup so i can check why it is not responding for you?
Hi Marcin,
Please see the debug logs below, it seems the configuration is ok while I still can not control the lamp using homekit.
[9:55:12 ] Registering platform 'homebridge-miot.miot' [9:55:12 ] Loaded 3 cached accessories from cachedAccessories. [9:55:12 ] [homebridge-miot] [Bedroom lamp] Got device configuration, initializing device with name: Bedroom lamp [9:55:12 ] Homebridge v1.4.1 (HAP v0.10.2) (homebridge-miot) is running on port . [9:55:12 ] [homebridge-miot] [Bedroom lamp] Model known: philips.light.zyceiling! [9:55:12 ] [homebridge-miot] [Bedroom lamp] Initializing device! [9:55:12 ] [homebridge-miot] [Bedroom lamp] Using module class for device type Light, indentified by miot spec! Not all features might work! [9:55:12 ] [homebridge-miot] [Bedroom lamp] Initializing device services [9:55:12 ] [homebridge-miot] [Bedroom lamp] Device services: [ "light" ] [9:55:12 ] [homebridge-miot] [Bedroom lamp] Initializing device properties [9:55:12 ] [homebridge-miot] [Bedroom lamp] Device properties: [ "light:on", "light:brightness", "light:color-temperature", "light:mode" ] [9:55:12 ] [homebridge-miot] [Bedroom lamp] Initializing device actions [9:55:12 ] [homebridge-miot] [Bedroom lamp] Device actions: [ "light:toggle" ] [9:55:12 ] [homebridge-miot] [Bedroom lamp] Successfully created a Light device! It is a Unknown light device. [9:55:12 ] [homebridge-miot] [Bedroom lamp] Initializing accessory! [9:55:12 ] [homebridge-miot] [Bedroom lamp] Accessory successfully initialized! [9:55:12 ] [homebridge-miot] [Bedroom lamp] Registering 1 accessories! [9:55:12 ] [homebridge-miot] [Bedroom lamp] Everything looks good! Initiating property polling! [9:55:13 PM] [homebridge-miot] [Bedroom lamp] Device found: philips.light.zyceiling [9:55:13 PM] [homebridge-miot] [Bedroom lamp] Setting up miot device! [9:55:13 PM] [homebridge-miot] [Bedroom lamp] Device setup finished! Miot device ready! [9:55:13 PM] [homebridge-miot] [Bedroom lamp] Connected to device: philips.light.zyceiling [9:55:13 PM] [homebridge-miot] [Bedroom lamp] Doing initial property fetch. [9:55:13 PM] [homebridge-miot] [Bedroom lamp] Starting property polling.
发件人: @.> 发送时间: 2022年6月19日 18:28 收件人: @.> 抄送: @.>; @.> 主题: Re: [merdok/homebridge-miot] philips.light.zyceiling (Issue #287)
Can you post the homebridge debug log from during startup so i can check why it is not responding for you?
― Reply to this email directly, view it on GitHubhttps://github.com/merdok/homebridge-miot/issues/287#issuecomment-1159682433, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUWKM6YP7PBRYNVTJYEO6K3VP3Y33ANCNFSM5ZFT57AQ. You are receiving this because you authored the thread.Message ID: @.***>
Hi, thanks for that! Unfortunately that is not the complete log and this is not a debug log.
Anyway, i strongly suspect that the device requires a micloud connection. You would need to set the forceMiCloud
flag to true and provide your mi cloud credentials in the MiCloud section.
Hi Marcin,
Thank you for your quick reply. I’m sure the lamp do not require micloud connection. I’ll run deug later and send the log to you. Many thanks for your time.
Regards, Daniel
发件人: @.> 发送时间: 2022年6月19日 23:46 收件人: @.> 抄送: @.>; @.> 主题: Re: [merdok/homebridge-miot] philips.light.zyceiling (Issue #287)
Hi, thanks for that! Unfortunately that is not the complete log and this is not a debug log. Anyway, i strongly suspect that the device requires a micloud connection. You would need to set the forceMiCloud flag to true and provide your mi cloud credentials in the MiCloud section.
― Reply to this email directly, view it on GitHubhttps://github.com/merdok/homebridge-miot/issues/287#issuecomment-1159760905, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUWKM65433ASPF2TS64ERK3VP46GTANCNFSM5ZFT57AQ. You are receiving this because you authored the thread.Message ID: @.***>
Ok, but it seems like an older device (prior 2020) which does not use the miot protocol. If that is really the case then micloud will be required since that will emulate the protocol over the cloud.
Device model philips.light.zyceiling
Device name Mi Philips Zhirui Ceilling Light
Does the device require a MiCloud connection? No
Anything special about the device? Does it already work with the plugin with a limited scope (can be controlled using the auto created switch)?
I have added the device while it is not responding. I have used homebridge-mi-philips-light plugin before, but the plugin is out of date and slowing down the hombridge. I'm very glad if you could add philips.light.zyceiling in the support device list. Thx.