I’m brand new to this, but I’ve exhausted the documentation I can find. Thank you in advance for any help.
I have Home Assistant running on one Raspberry Pi 4, and for simplicity, setup diyhue on a second rasperry pi4.
I am using the master branch of diyhue
I followed the setup instructions here: Home Assistant — diyHue 1.0 documentation
And, as far as I can tell, diyhue is seeing some of the lights (I’ve edited out links below since I’m a new poster and discourse rejects my post if I have more than two links):
sudo ./HueEmulator3.py --debug
2022-01-23 22:01:23,964 - root - INFO - Using Host 192.168.68.89:80
2022-01-23 22:01:24,002 - root - INFO - e45f017966f0
2022-01-23 22:01:24,002 - root - INFO - IP range for light discovery: 0-255
2022-01-23 22:01:24,003 - root - INFO - 127.0.0.1
2022-01-23 22:01:24,003 - root - INFO - Online Discovery/Remote API Enabled!
2022-01-23 22:01:24,005 - root - INFO - Config loaded
2022-01-23 22:01:24,011 - root - WARNING - Home Assistant Web Socket Client disconnected trying to (re)connect
2022-01-23 22:01:24,029 - root - INFO - Home Assistant WebSocket Connection Opened
2022-01-23 22:01:24,029 - root - INFO - Home Assistant Web Socket Client connected
2022-01-23 22:01:24,031 - root - DEBUG - starting ssdp…
2022-01-23 22:01:24,032 - root - DEBUG - start ssdp broadcast
2022-01-23 22:01:24,034 - root - INFO - sync with lights
2022-01-23 22:01:24,042 - root - INFO - Home Assistant Web Socket Authorisation required
2022-01-23 22:01:24,047 - root - INFO - Starting httpd…
2022-01-23 22:01:24,052 - root - INFO - Home Assistant Web Socket Authorisation complete
2022-01-23 22:01:24,054 - root - INFO - Starting ssl httpd…
2022-01-23 22:01:24,066 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1):
2022-01-23 22:01:24,104 - root - INFO - Found light.backyard_light
2022-01-23 22:01:24,104 - root - INFO - Found light.garage_entry_main_lights
2022-01-23 22:01:24,104 - root - INFO - Found light.kitchen_main_lights
2022-01-23 22:01:24,105 - root - INFO - Found light.great_room_pool_light
2022-01-23 22:01:24,105 - root - INFO - Found light.great_room_hallway_lights
2022-01-23 22:01:24,105 - root - INFO - Found light.dining_room_main_lights
2022-01-23 22:01:24,105 - root - INFO - Found light.great_room_stairs
2022-01-23 22:01:24,105 - root - INFO - Found light.great_room_accent_lights
2022-01-23 22:01:24,105 - root - INFO - Found light.library_main_lights
2022-01-23 22:01:24,105 - root - INFO - Found light.ethans_bedroom_main_lights
2022-01-23 22:01:24,105 - root - INFO - Found light.great_room_fireplace_lights
2022-01-23 22:01:24,105 - root - INFO - Found light.colins_bedroom_sconces
2022-01-23 22:01:24,106 - root - INFO - Found light.bedroom_hallway_main_lights
2022-01-23 22:01:24,106 - root - INFO - Found light.master_bedroom_main_lights
2022-01-23 22:01:24,743 - urllib3.connectionpool - DEBUG - “POST / HTTP/1.1” 200 6
{“ok”}
2022-01-23 22:01:34,064 - root - INFO - gracefully exit
192.168.68.57 - - [23/Jan/2022 22:01:51] “GET /api/hueess1c7cda11ec9282e45f017966f0 HTTP/1.1” 200 -
2022-01-23 22:01:53,097 - root - INFO - sync with lights
2022-01-23 22:01:54,787 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
2022-01-23 22:01:55,487 - urllib3.connectionpool - DEBUG - “POST / HTTP/1.1” 200 6
but, in HueEssentials, I see no lights.
I tried to go to 192.168.68.89/diyhue_ip/scan (the IP of my diyhue pi) and the response I get is:
[{“error”:{“type”:1,“address”:“/diyhue_ip/scan”,“description”:“unauthorized user”}}]
I’m not sure if the last matters, given that it seems to find some lights, but I’m assuming it might since I can’t see the lights in HueEssentials, even though I can connect to the bridge.
I expect I’m doing something ignorant here, but really appreciate any thoughts you might have.