diyhue / Lights

DIY lights with support for diyHue
https://diyhue.org/
172 stars 99 forks source link

Lights won´t be discovered #58

Closed Jibbonator closed 5 years ago

Jibbonator commented 5 years ago

Hey Guys, I use a Wemos D1 mini With WS2812B Led Stripe. I have flashed the lights gui. (Lights/Arduino/Generic_WS2812_Strip/) I can change the color over the web interface, but when i try to discover it in HUE app, nothing ist found. I have several Tasmota devices that are found.

Do i have to config something to make it work?

Can someone help me.

philipphunger commented 5 years ago

I have the same problem, in the log it says unknown device

mariusmotea commented 5 years ago

Can you place the light near the wifi router? If the latency is too big the light will not be detected. Also you can see what is going on and put also the the debug output of the emulator during light scan.

mariusmotea commented 5 years ago

Forget one thing, in webgui only the lights added in groups are displayed, so new detected lights will not be there.

Jibbonator commented 5 years ago

My bridge is connected with lan an the ping from bridge to wemos is stable from 1,5 - 8,5ms.

Here is my log: Device: 192.168.0.60 all i can see is that it says unknown device. log.txt

mariusmotea commented 5 years ago

I don't understand why, but the light ip is detected when probes for yeelight and epshome are made (for this reason you see the ip 192.168.0.60 in the lists) but when the probe for native lights is made the ip is not displayed:

Search for "GET /detect HTTP/1.1"

I don't see .60 in the list:

2019-09-21 12:23:36,421 - root - INFO - [
    "192.168.0.1:80",
    "192.168.0.2:80",
    "192.168.0.3:80",
    "192.168.0.5:80",
    "192.168.0.12:80",
    "192.168.0.13:80",
    "192.168.0.25:80",
    "192.168.0.28:80",
    "192.168.0.39:80",
    "192.168.0.57:80",
    "192.168.0.58:80"
]
Jibbonator commented 5 years ago

i think i might found a solution. i´ve disconnected my device 192.168.0.39 and now it works. its a NAS. weird

philipphunger commented 5 years ago

If it is the nas, try searching the lights with the IP-range Argument on the cli. That works for me as i have a esxi server on the network.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 2 days if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been automatically closed as it has not had any recent activity. Thank you for your contributions.