mariusmotea / diyHue

Philips Hue emulator that is able to control multiple types of lights
Other
627 stars 107 forks source link

Couldn't discover Light #274

Closed dbambus closed 6 years ago

dbambus commented 6 years ago

Hello,

at first I honestly thank you for your work so far it is really great :-).

I downloaded the Generic RGB+CCT .ino, compiled it and run it on my H801 (ESP8266). It does work with the WebUI in my local network, but the Hue app does not discover the installed light.

To debug it I installed the HueEmulator again from scratch, erased the Flash of the ESP and also installed a SK6812 Stripe on an other ESP, that one was discovered without problems, but no light was discovered with the H801 setup.

mariusmotea commented 6 years ago

Hi,

  1. Can you ping the light ip from emulator host?
  2. curl http://lightip/detect return the detection json?
  3. nmap package is installed?
  4. what you see if you start the emulator manually with sudo ./HueEmulator3.py and perform light search?

update with one missing command

nmap 192.168.1.0/24 -p80 --open -n

replace the subnet with your, did the ip of the light is displayed?

dbambus commented 6 years ago

Hey,

Can you ping the light ip from emulator host?

Yes, I can.

curl http://lightip/detect return the detection json?

Yes, I got the json. {"hue": "strip","lights": 1,"modelid": "LST001","mac": "3:e5:b:xx:xx:xx"}

nmap package is installed?

Yes, the newest version is installed.

what you see if you start the emulator manually with sudo ./HueEmulator3.py and perform light search?

root@DietPi:/opt/hue-emulator# sudo ./HueEmulator3.py /bin/sh: 1: /opt/hue-emulator/./ssl_server2_diyhue: not found Config loaded /bin/sh: 1: /opt/hue-emulator/./ssl_server2_diyhue: not found starting ssdp... start ssdp broadcast sync with lights Starting httpd... Starting ssl httpd... ....

But, if I m looking for the lights with nmap i couldn't find them. I ll try to use another network setup with an other router to evaluate.