[SOLVED] Hue Lights not controllable from OH 2.5

Tags: #<Tag:0x00007fc1f8c8aed0> #<Tag:0x00007fc1f8c8ae08>

Hi all,
Not sure when this started happening get a feeling it could have been after the upgrade to 2.5.1 but couldn’t swear to it.

Alexa can control my Hue lights just fine, as can the Hue mobile app, and although the OH logs looks like it has no issue the lights do not turn on or off from OH. As we mostly control them through Alexa it took a while to realise that control from OH had been lost.

In have groups set and I have tried switching lights on and off using the group name and ON/OFF commands also tried sending 0 to turn off too all without a change. Tried using sitemap, and rules both have the same outcome.

I have also tried sending ON/OFF/0/100 commands to the individual lights that make up the groups too, as these are configured in PaperUI It is a little harder to show them here, but I present one as an example.

I have included an example log of me trying to set the device off using both a group name and then each individual name in turn.

ITEMS

Group:Dimmer:AVG gKT_Light_Dimmer												["Light"]
{
  "link": "http://192.168.0.4:8080/rest/items/KTLight1_Brightness",
  "state": "100",
  "editable": true,
  "type": "Dimmer",
  "name": "KTLight1_Brightness",
  "label": "Brightness",
  "category": "DimmableLight",
  "tags": [],
  "groupNames": [
    "MF_Kitchen",
    "gKT_Light_Dimmer",
    "chartpersist",
    "gVLights"
  ]
}

In this log example I have a test.rule that trys to turn off the group and then trys to turn off each light in the group. It does not matter if I try only the lights individually or only the group same outcvome so it is not the number of commands.

2020-01-21 17:27:04.950 [INFO ] [se.smarthome.model.script.Test.rules] - Test turned OFF.
==> /var/log/openhab2/events.log <==
2020-01-21 17:27:04.968 [ome.event.ItemCommandEvent] - Item 'gKT_Light_Dimmer' received command 0
2020-01-21 17:27:04.972 [ome.event.ItemCommandEvent] - Item 'KTLight1_Brightness' received command 0
2020-01-21 17:27:04.978 [ome.event.ItemCommandEvent] - Item 'KTLight2_Brightness' received command 0
2020-01-21 17:27:05.052 [ome.event.ItemCommandEvent] - Item 'KTLight3_Brightness' received command 0
2020-01-21 17:27:05.064 [ome.event.ItemCommandEvent] - Item 'KTLight4_Brightness' received command 0
2020-01-21 17:27:05.207 [ome.event.ItemCommandEvent] - Item 'KTLight3_Brightness' received command 0
2020-01-21 17:27:05.346 [ome.event.ItemCommandEvent] - Item 'KTLight1_Brightness' received command 0
2020-01-21 17:27:05.368 [ome.event.ItemCommandEvent] - Item 'KTLight4_Brightness' received command 0
2020-01-21 17:27:05.386 [ome.event.ItemCommandEvent] - Item 'KTLight2_Brightness' received command 0
2020-01-21 17:27:05.388 [nt.ItemStatePredictedEvent] - KTLight1_Brightness predicted to become 0
2020-01-21 17:27:05.402 [nt.ItemStatePredictedEvent] - KTLight2_Brightness predicted to become 0
2020-01-21 17:27:05.409 [nt.ItemStatePredictedEvent] - KTLight3_Brightness predicted to become 0
2020-01-21 17:27:05.422 [nt.ItemStatePredictedEvent] - KTLight4_Brightness predicted to become 0
2020-01-21 17:27:05.499 [nt.ItemStatePredictedEvent] - KTLight3_Brightness predicted to become 0
2020-01-21 17:27:05.506 [nt.ItemStatePredictedEvent] - KTLight1_Brightness predicted to become 0
2020-01-21 17:27:05.518 [nt.ItemStatePredictedEvent] - KTLight4_Brightness predicted to become 0
2020-01-21 17:27:05.531 [nt.ItemStatePredictedEvent] - KTLight2_Brightness predicted to become 0
2020-01-21 17:27:05.555 [vent.ItemStateChangedEvent] - KTLight1_Brightness changed from 100 to 0
2020-01-21 17:27:05.557 [GroupItemStateChangedEvent] - gKT_Light_Dimmer changed from 0 to 75.00000000 through KTLight1_Brightness
2020-01-21 17:27:05.558 [GroupItemStateChangedEvent] - gKT_Light_Dimmer changed from 75.00000000 to 50.00000000 through KTLight2_Brightness
2020-01-21 17:27:05.558 [vent.ItemStateChangedEvent] - KTLight2_Brightness changed from 100 to 0
2020-01-21 17:27:05.559 [GroupItemStateChangedEvent] - gKT_Light_Dimmer changed from 50.00000000 to 25.00000000 through KTLight3_Brightness
2020-01-21 17:27:05.561 [vent.ItemStateChangedEvent] - KTLight3_Brightness changed from 100 to 0
2020-01-21 17:27:05.562 [GroupItemStateChangedEvent] - gKT_Light_Dimmer changed from 25.00000000 to 0.00000000 through KTLight4_Brightness
2020-01-21 17:27:05.563 [vent.ItemStateChangedEvent] - KTLight4_Brightness changed from 100 to 0
``

Anyone have an idea?

Thanks
Paul

One question I can assist with is. Did you check that the hue bridge and lights said online in the paper ui configuration under things?

Also make sure your hue bridge did not get assigned a new IP address.

Your tagging is incorrect here, it should be [“Lighting”] if using skill version 2.

Here’s a link for a tag checker to verify the correct tag is being use:
https://us-central1-new-assistant-test.cloudfunctions.net/connectionChecker

See doc’s here for differences in v2 and v3 tagging.
https://www.openhab.org/docs/ecosystem/alexa/#item-tag-v2-support

Thanks @H102 the change from Light to Lighting fixed it.
Please note that the item checker does not support Alexa only google home.

Regards
Paul

1 Like

Thanks for letting me know as I haven’t used it lately. :+1: