Hue Bridge needs pairing after every restart

Everytime I restart my system, the openhab log tells me:

Creating new user on Hue bridge 192.168.XX.XX - please press the pairing button on the…

I have a things file with the following:

Bridge hue:bridge:1 [ ipAddress=“192.168.0.13” ] {
0210 bulb1 [ lightId=“1” ]
0210 bulb2 [ lightId=“2” ]
0210 bulb3 [ lightId=“3” ]
}

Do I need something else to get automatic pairing to work?

Stu

When you press the button on the bridge to allow pairing, a user name entry is written to the openhab log. This username must be added to the things configuration:

Bridge hue:bridge:1 [ ipAddress=“192.168.0.13”, userName="abcdefghijklmnopqrstuvwxyz" ] {
0210 bulb1 [ lightId=“1” ]
0210 bulb2 [ lightId=“2” ]
0210 bulb3 [ lightId=“3” ]
}

Thank you, I saw this in the docs but I read it as not being necessary!

Stuart

Hello! I am sorry to reopen this old topic, but the solution does not work for me. I do exactly what ist written here (copying the username string to the things file) but even immediatly when saving the config file, the log viewer says “press button…”. restarting the hue binding (with the user in the config file) dows not help…
Does anybody have a hint?