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

Hi!

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(LightStateConverter.java:234) ~[269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.LightStateConverter.toHSBType(LightStateConverter.java:222) ~[269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueLightHandler.onLightStateChanged(HueLightHandler.java:414) ~[269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueLightHandler.onLightAdded(HueLightHandler.java:468) ~[269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueBridgeHandler.notifyLightStatusListeners(HueBridgeHandler.java:647) [269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueBridgeHandler.access$7(HueBridgeHandler.java:636) [269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueBridgeHandler$2.doConnectedRun(HueBridgeHandler.java:243) [269:org.eclipse.smarthome.binding.hue:0.10.0.oh240]
	at org.eclipse.smarthome.binding.hue.internal.handler.HueBridgeHandler$PollingRunnable.run(HueBridgeHandler.java:101) [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 https://github.com/eclipse/smarthome/issues/6788). 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: