kpsuperplane / homebridge-wiz-lan

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

Bulbs not found for Homebridge #14

Closed mweintr closed 3 years ago

mweintr commented 4 years ago

I installed v2.0.5.

Running Homebridge 1.1.1 (Node.js version 12.15.0) and I can't add my two Wiz bulbs to Homekit via this plugin. My config has this: { "platform": "WizSmarthome", "name": "WizSmarthome" },

mitch7391 commented 4 years ago

I don’t think I was able to find them until I had first set them up in the Wiz app. Not sure if you have tried that?

kpsuperplane commented 4 years ago

Agreed with @mitch7391, unfortunately I'm not quite sure how to troubleshoot this without more details. Are the bulbs all in the same subnet (and discoverable through UDP broadcast?)

iRayanKhan commented 3 years ago

Hey @kpsuperplane I just installed this plugin with a bulb on the same network as my Pi, and it doesn't seem to pickup my RGB bulb. Is there a command I can use to ping it for the plugin to pickup?

I am able to control it locally and see it on my Wi-Fi network.

code-in-progress commented 3 years ago

@kpsuperplane All my bulbs are in a separate vlan (192.168.107.0) and my HB server is multi-honed (192.168.20.0 and 192.168.107.0) and it's also not picking up any bulbs. I can see the discovery going out through debug, but nothing ever comes back to the HB server.

Any ideas?

kpsuperplane commented 3 years ago

Hey everyone,

Unfortunately I don't know what might be causing your issues. I also don't have any bulbs anymore to debug with as I've transitioned my home to the Hue ecosystem.

My best suggestion is to look into setting up homeassistant instead; they have an actively supported wiz implementation https://github.com/sbidy/wiz_light

code-in-progress commented 3 years ago

Unfortunately I don't know what might be causing your issues. I also don't have any bulbs anymore to debug with as I've transitioned my home to the Hue ecosystem.

LOL, I went the opposite direction: Hue > Wiz.

My best suggestion is to look into setting up homeassistant instead; they have an actively supported wiz implementation https://github.com/sbidy/wiz_light

I'm currently using that and it's actually really well done. I wanted to have my bulbs (40+ of them) in both HB and HA. The main reason is that with iOS14, Homekit seems to have some issues with HA's HomeKit bridge.

Thanks for chiming in @kpsuperplane. Much appreciated.

mitch7391 commented 3 years ago

@code-in-progress slightly off topic here, but given you have so many wiz bulbs. Do you have any issues with them emitting high frequency noises (quiet little beeps and chirps)? Iv taken two back due to the issue and now one that didn’t do it is starting to. It’s actually making want to move away from wiz; however, I really love the design of their large filament style bulbs.

iRayanKhan commented 3 years ago

So it turns out I'm just stupid and ran this plugin on the wrong Pi (diff network). I've since fixed it and 2 of my RBG bulbs work great in HomeKit. Thanks for the plugin!

code-in-progress commented 3 years ago

@code-in-progress slightly off topic here, but given you have so many wiz bulbs. Do you have any issues with them emitting high frequency noises (quiet little beeps and chirps)? Iv taken two back due to the issue and now one that didn’t do it is starting to. It’s actually making want to move away from wiz; however, I really love the design of their large filament style bulbs.

Yeah, the filament bulbs tend to do that but the color bulbs (which I have the most of), don't that I've noticed. I've seen this issue with some other WiFi bulbs and it turned out to be "noisy" wiring to the fixture (my house is almost 70 years old and a lot of the wiring is really starting to show its age). Once I replaced the wiring with new romex, the issue went away.

If you have a LOT of broadcast UDP traffic, commands sometimes seem to just vanish into thin air. The other thing I've noticed is that the new A21 bulbs (https://www.homedepot.com/p/Philips-Color-and-Tunable-White-A21-LED-100-Watt-Equivalent-Dimmable-Smart-Wi-Fi-Wiz-Connected-Wireless-LED-Light-Bulb-562405/313643239) seem to die a lot. Might just have been a bad batch, but I got 5 of them and 2 of them have died in the past week. :(

mitch7391 commented 3 years ago

Thanks for the update :) I will have to keep an eye on the filament bulbs then. Wiring hopefully wouldn’t be an issue as they were newly wired bedside pendant lights that I put these straight into (also the house is only 4 years old). The high pitch noise is so noticeable for me as it’s right next to me at night when everything else is quiet haha...

code-in-progress commented 3 years ago

The high pitch noise is so noticeable for me as it’s right next to me at night when everything else is quiet haha...

Are these in some sort of a dimmer or on a circuit with a dimmer type switch? That's the only other thing I can think of that would cause that (especially since you already replaced the bulbs). Does it happen in the same fixture or on the same circuit? If you throw another bulb in there (even one like a cheap, dumb LED bulb), does it still happen?

I would be ripping my hair out if it was that noticeable, so I can only imagine what it's doing to you. lol

mitch7391 commented 3 years ago

No dimmer switch, just a regular switch; the idea was that I knew I was going to have a smart bulb of some kind and that would handle the dimming. I might try another brand of bulb (I have some regular Hue laying around) to see if that happens, but I do know the one of my missus's side is not doing it and mine has done it twice (replacement didn't at first and does now when on, but the original was doing it while on and off).

It took me a week to realise it wasn't crickets in the house that I could faintly hear somewhere lol and eventually realised it only started once I got the lights installed, then I put my ear up against the bulb and could hear it very loudly... So yes, I was going crazy haha...

Martynet commented 3 years ago

Hi everyone, I had similar issue as above... Basically I installed Wiz plugin and the Light appeared in Homekit immediately and was working fine... But there was a "crack" in the light and seller sent me a replacement. After replacing the light, new one popped in my Homekit automatically and worked perfectly. But I wasn't sure how to remove the old one, as there was no option to remove it in Homekit app. Now I know that I have to remove it in Accessories section in Homebridge web page, but I didn't know that before... And I'm not sure exactly what I did, but both lights are gone now. I tried everything to bring it back, but no luck. I even deleted the Wiz app on my phone and completely re-installed whole Homebridge on my Synology NAS. But still no luck. Ring doorbell is working fine... The light works fine in Wiz app. It works in both Google and Alexa apps... The only place it doesn't work is Homebridge. It's making me crazy now :) If anyone can help, I'd really appreciate it. Thank you, Martin

kpsuperplane commented 3 years ago

Closing because v3.0.0+ should fix most issues, feel free to open another issue if you continue having problems :)