[SOLVED] Hue: cannot delete user on bridge

Dear all

due to network upgrade I had to do a factory reset on my Hue Bridge (square).

According to the hints in the log I tried to replace the previous user:

20-Mai-2018 18:04:24.929 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - User KdUL58anz8KrK184IdcXWz5U9RLUpf4fQOB8jvOQ is not authenticated on Hue bridge 192.168.1.44
20-Mai-2018 18:04:24.929 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - Please configure a valid user or remove user from configuration to generate a new one.
20-Mai-2018 18:04:25.180 [INFO ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - Creating new user on Hue bridge 192.168.1.44 - please press the pairing button on the bridge.
20-Mai-2018 18:04:34.989 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - User KdUL58anz8KrK184IdcXWz5U9RLUpf4fQOB8jvOQ is not authenticated on Hue bridge 192.168.1.44
20-Mai-2018 18:04:34.989 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - Please configure a valid user or remove user from configuration to generate a new one.
20-Mai-2018 18:04:35.213 [INFO ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - Creating new user on Hue bridge 192.168.1.44 - please press the pairing button on the bridge.
20-Mai-2018 18:04:35.230 [INFO ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - User '8Ohtm159URbKLFP5L645mLEv7ydicCBqZdhA5Z1U' has been successfully added to Hue bridge.
20-Mai-2018 18:04:45.037 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - User KdUL58anz8KrK184IdcXWz5U9RLUpf4fQOB8jvOQ is not authenticated on Hue bridge 192.168.1.44
20-Mai-2018 18:04:45.037 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - Please configure a valid user or remove user from configuration to generate a new one.
20-Mai-2018 18:04:55.089 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - User KdUL58anz8KrK184IdcXWz5U9RLUpf4fQOB8jvOQ is not authenticated on Hue bridge 192.168.1.44
20-Mai-2018 18:04:55.090 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - Please configure a valid user or remove user from configuration to generate a new one.
20-Mai-2018 18:05:05.148 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - User KdUL58anz8KrK184IdcXWz5U9RLUpf4fQOB8jvOQ is not authenticated on Hue bridge 192.168.1.44
20-Mai-2018 18:05:05.149 [WARN ] [pse.smarthome.binding.hue.handler.HueBridgeHandler] - Please configure a valid user or remove user from configuration to generate a new one.

Means:

  • deleted the existing user from the thing file --> saved without user
  • log file hinted my to push the pairing buttong --> done
  • new user appeared in log file --> copied to thing filed --> saved

But still this WARN appears that I have to remove the old user.

What can I do?

Thanks & regards
John

Did not try it yet myself, but I would edit the JsonDB org.eclipse.smarthome.core.thing.Thing.json:

  "hue:bridge:yxyxyxyxyxyxyxyxyx": {
    "class": "org.eclipse.smarthome.core.thing.internal.BridgeImpl",
    "value": {
      "label": "PhilipsHueWZ (192.168.2.37)",
      "channels": [],
      "configuration": {
        "properties": {
          "ipAddress": "192.168.2.37",
          "pollingInterval": 10,
          "userName": "yxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxy"
        }
      },

Stop openHAB, delete the user, start openHAB.

Well done @sihui :+1:

in the json file was still the old user name - just replaced it with the new one and now it’s working.

Thanks a lot & much appreciation for your help.
Regards
John

1 Like

I upgraded the firmware in my Hue bridge and now I cannot generate a new user.

For how long should I press the button on the Hue bridge and should this be done before or after adding the Hue in PaperUI?

Thanks!