syssi / philipslight

Xiaomi Philips Lights integration for Home Assistant
Apache License 2.0
70 stars 19 forks source link

Xiaomi philips connected ceiling is not available #57

Closed vtainc closed 2 years ago

vtainc commented 2 years ago

Hello.

Trying to connect this devices, but something is wrong.

Philips connected ceiling IP: 172.23.82.6

Token: ***

MAC: 34:CE:00:BC:A9:FE

Model: philips.light.ceiling

Region: cn

logging does't help:

2021-12-17 11:58:33 INFO (MainThread) [custom_components.xiaomi_miio_philipslight.light] Initializing with host 172.23.82.6 (token fce93...) 2021-12-17 11:58:34 DEBUG (SyncWorker_3) [miio.click_common] Unknown model, trying autodetection. None None 2021-12-17 11:58:39 DEBUG (SyncWorker_3) [miio.miioprotocol] Unable to discover a device at address 172.23.82.6 2021-12-17 11:59:09 DEBUG (SyncWorker_1) [miio.click_common] Unknown model, trying autodetection. None None 2021-12-17 11:59:14 DEBUG (SyncWorker_1) [miio.miioprotocol] Unable to discover a device at address 172.23.82.6 2021-12-17 11:59:39 DEBUG (SyncWorker_2) [miio.click_common] Unknown model, trying autodetection. None None 2021-12-17 11:59:44 DEBUG (SyncWorker_2) [miio.miioprotocol] Unable to discover a device at address 172.23.82.6 2021-12-17 12:00:09 DEBUG (SyncWorker_4) [miio.click_common] Unknown model, trying autodetection. None None 2021-12-17 12:00:14 DEBUG (SyncWorker_4) [miio.miioprotocol] Unable to discover a device at address 172.23.82.6

syssi commented 2 years ago

What's the IP address of your Home Assistant host? It must be the same subnet as the lamp.

vtainc commented 2 years ago

What's the IP address of your Home Assistant host? I must be the same subnet a the lamp.

The lamp is in another subnet, but homeassistant can ping it and vice versa. But yes, they are not one the same LAN.

syssi commented 2 years ago

In this case the discovery of the device cannot work. The device firmware is unable to handle cross subnet traffic and you are unable to receive broadcasts probably.

vtainc commented 2 years ago

OK, I understand