kpsuperplane / homebridge-wiz-lan

Control Wiz lights over LAN
Apache License 2.0
114 stars 37 forks source link

Philips WiZ Lights Not Appearing #104

Open crawfordifland opened 2 years ago

crawfordifland commented 2 years ago

I'm running HomeBridge on a Raspberry Pi. I've set up two A19 RGB WiZ lights through the WiZ app and they work fine. I've linked WiZ to Google Home and it works fine. But for some reason, the autodiscover is sending a discovery UDP broadcast, but it appears that it isn't getting a response.

I've tried the manual configuration as well, but that doesn't work either.

Logs when restarting HB are below:

[3/14/2022, 10:25:44 AM] [WizSmarthome] [Socket] Setting up socket on 192.168.86.138:38900

[3/14/2022, 10:25:45 AM] [WizSmarthome] [Discovery] Sending discovery UDP broadcast to 255.255.255.255:38899
[3/14/2022, 10:25:45 AM] [WizSmarthome] [Discovery] Sending discovery UDP broadcast to 192.168.87.105:38899
[3/14/2022, 10:25:45 AM] [WizSmarthome] [Discovery] Sending discovery UDP broadcast to 192.168.87.106:38899
[3/14/2022, 10:25:45 AM] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 35D0) is running on port 51159.

...and that's all the logs say as it pertains to WiZ. No matter what I try, I can't get the lights to show up in the Apple Home app after restarting HB. They do not show up in the HB accessories list, either.

Any ideas?

MoTechnicalities commented 2 years ago

Wrong WiZ. The WiZ lights for this plugin are not the Philips branded. You want these: image

kpsuperplane commented 1 year ago

Hm, I think it should work. Can you please double check if you have "Enable Local Communication" set to ON for these bulbs? thanks

bockensm commented 1 year ago

I'm having a similar issue. I have the local communication toggle turned on in the WiZ app. Even when adding hosts by IP as shown in the examples, I don't see any accessories in the Homebridge UI.

bockensm commented 1 year ago

I found out that putting the bulbs on a guest network while the Homebridge device was on the main LAN via ethernet was the issue. I moved the bulbs from the guest network to the main network and 4 of the 6 were discoverable without any additional config. I know I still have one on the guest network, but I can't explain why the 6th isn't appearing yet.

I'm using Philips WiZ 9290022671 and 9290024493 lights.

MoTechnicalities commented 1 year ago

@bockensm Get the local IP of you bulbs from your router, reserve the IP of each bulb in your router, and set up the configuration file with the IP addresses.

bockensm commented 1 year ago

The 5th bulb showed up on its own a bit ago. Now I'm just down to the 6th one that's known to be on the guest network still.