ibennani
(Ilias Bennani)
January 28, 2018, 6:41pm
1
Problem : My fully functional Philips Hue lights are not detected until a few hours after each time I restart my Home Assistant. Everything else is working flawless and when the Hues are finally detected, they all work as expected.
I can access the hue lights using the dedicated Philips hue Android-app and It all works fine.
Since I don’t know exactly when the hues appear in the frontend after a restart, I cannot look in the logs to se what is going on.
I have no other problems with my Wifi, Internet connection and so on.
System setup
Raspberry Pi 3B running latest Hassbian.
Home Assistant 0.62.0 (but the problem occurred in earlier versions as well).
Standard Philips Hue gateway and some lights (those work just fine).
Any Idea of where to start looking?
I did search but I could not find any similar post.
UPDATE
I have the lines below in my config:
# Philips HUE
light:
platform: hue
host: 192.168.0.16
Marie11e
(Marielle)
January 28, 2018, 7:04pm
2
Did you add Hue to your config? Or do you use the discovery every time?
ibennani
(Ilias Bennani)
January 28, 2018, 8:25pm
3
I have it in my config as shown below.
Sorry, I will update my post above with this information.
# Philips HUE
light:
platform: hue
host: 192.168.0.16
Marie11e
(Marielle)
January 28, 2018, 8:36pm
4
I’m not an expert but i have added the Hue slightly different to my config:
hue:
bridges:
- host: 192.168.0.65
I checked the documentation and it seems you are using older configuration. Please check: Hue Bridge
It is set up slightly different as far as i can see:
light:
- platform: hue
host: DEVICE_IP_ADDRESS
2 Likes
ibennani
(Ilias Bennani)
January 28, 2018, 8:49pm
5
Yes, you are right. I was using an older config. Have not touched that since forever when I dit my first install of Home Assistant.
After altering the config according to your suggestion, It all works fine now.
You help is really appreciated.
Marie11e
(Marielle)
January 28, 2018, 8:51pm
6
Great! Happy to help out.
cannfoddr
(Cannfoddr)
February 25, 2018, 8:22pm
7
I have the same issue here - I just updated my configuration to the new Hue scheme and restarted but there is no sign of my hue lights appearing. I am tailing the log and can’t find any mention of hue component - yet!!!
light:
platform: hue
bridges:
- host: !secret hue_bridge_ip
allow_hue_groups: true
allow_unreachable: true
allow_in_emulated_hue: false
Any hints on what might be slowing down discovery?
ibennani
(Ilias Bennani)
February 26, 2018, 9:23am
8
@cannfoddr do check the format of the code. Please also use the </> button when showing us your code.
chrisw
(Chris W)
February 26, 2018, 1:05pm
9
This solved a similar problem for me too. Was using the old light: format. Thanks!
cannfoddr
(Cannfoddr)
February 26, 2018, 6:45pm
10
Figured out the new format and all working for me now!