Hue Binding stops working after a week or so - reboot solves the problem


I finally found the time to post. I encounter a pretty nasty error for a few month now.
After 7 - 10 days my hues won’t react when trying to control them via alexa.
After a short investigation i found out that the problem must be the hue binding but i don’t really know how to solve this issue.

Here’s the logs:

2019-04-11 08:48:28.867 [ERROR] [ue.internal.handler.HueBridgeHandler] - An exception occurred while calling the BridgeHeartbeatListener
java.lang.IllegalArgumentException: Hue must be between 0 and 360
	at org.eclipse.smarthome.binding.hue.internal.handler.LightStateConverter.fromHSBtoHSBType( ~[269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.LightStateConverter.toHSBType( ~[269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueLightHandler.onLightStateChanged( ~[269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueLightHandler.onLightAdded( ~[269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueBridgeHandler.notifyLightStatusListeners( [269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueBridgeHandler.access$7( [269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueBridgeHandler$2.doConnectedRun( [269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueBridgeHandler$ [269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]

I am running OH 2.4.0 on a mac.

Thank you!

Hi Jonas,

In the OH 2.4.0 version of the Hue binding there was a bug related to the hue value (see I has been fixed a while ago. The fix should be part of OH 2.5.0.M1 milestone build.

1 Like

Thank you for your reply!
I updated and now we will see if it is fixed :slight_smile: