Amazon amazonechocontrol:smartHomeDevice things in UNKNOWN state

Hi everyone,

I have a problem with the Amazon Echo Control Binding. The amazonechocontrol:smartHomeDevice things alternates from ONLINE to UNKNOWN states and back to ONLINE. All my ECHO device stays online, only the smartHomeDevice devices are impacted. Anyone can have an idea?

I’m running 2.5.11 on Centos7. I’ve tried other builds of Amazon Binding and it does the same. I don’t see anything in the logs.

Thanks!

I had a similar issue on OH3.
Try to increase the interval for status updates. I increased from 60 to 80 seconds. Seems to have solved it.

Hi,

Thank you for your reply. Here is my refresh settings :

 [discoverSmartHome=2, pollingIntervalSmartHomeAlexa=80, pollingIntervalSmartSkills=120]

But it doesn’t seems to be effective :

2020-12-14 08:49:30.748 [vent.ItemStateChangedEvent] - Serre changed from NULL to OFF
2020-12-14 08:51:03.862 [vent.ItemStateChangedEvent] - Serre changed from OFF to UNDEF
2020-12-14 08:51:45.968 [vent.ItemStateChangedEvent] - Serre changed from UNDEF to OFF

Coud there be 2 refreshing threads concurrently ?

Thanks.

Also what seems to be the refresh function starts every 10 seconds :

2020-12-14 09:20:09.203 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2020-12-14 09:20:19.204 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2020-12-14 09:20:21.269 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState finished
2020-12-14 09:20:31.269 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2020-12-14 09:20:41.270 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2020-12-14 09:20:51.271 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2020-12-14 09:21:01.271 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2020-12-14 09:21:01.723 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState finished
2020-12-14 09:21:11.724 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2020-12-14 09:21:21.724 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2020-12-14 09:21:31.725 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2020-12-14 09:21:41.726 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null

Is your smarthome device directly connected to Alexa or through a skill? In my case it was latter, so i changed pollingIntervalSmartSkills. I set it to 80, previously it was 60. BTW, i am on the Oh3 binding. There were many updates made, which i am not sure made it to OH2.x binding. Mentioning, just in case you are on that one.

No new features have been added to OH 2.5.x. I have asked for it in GitHub but it was denied.

Best, Jay

It seems to be holding on without disconnecting smartDevices since a couple of hours now. I’ve done 2 things,

  • build the latest 2.5.12 addons snapshot
  • remove 2 inexisting AmazonEcho devices (one smartDevice and one group) that was on the Paper UI Things.

Thank you.

Hi, I have the same behavior (UNKNOWN for 5 mins roughly every 30 mins) with OH3. Any hints or follow-ups? Thank you

Same issue with me on OH 2 with latest Binding SNAPSHOT 2.5.12 (it was the same with 2.5.11).

The problem started when BTicino Legrand modified (improved ???) their Alexa SKILL:

  • All B-Ticino Smart Home Devices changed their Things ID
  • All other SmartHome dvices (like led or bulbs) seems still OK but I have to verify
  • All B-Ticino Smart Home Devices are switching from UNKNOWN to ONLINE very frequently

In this way the Binding is not usable for me.

(it has been well working for few moonths before of this Legrand Update).

From the Alexa APP I needed to find again all devices but everything is now stable and working (I can command all my devices as usual).

21:00:59.225 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:218a3bd5-f3e2-4065-8b51-a102af093ef8' changed from UNKNOWN: State not found to ONLINE
21:00:59.612 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Toilet_Fan' changed from UNKNOWN: State not found to ONLINE
21:00:59.987 [INFO ] [.eclipse.smarthome.model.script.rules] - Timer Spegnimento Ventola Doccia cancellato
21:01:00.128 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Entryway_Light' changed from UNKNOWN: State not found to ONLINE
21:01:00.496 [INFO ] [.eclipse.smarthome.model.script.rules] - Timer Spegnimento Luce Ingresso cancellato
21:01:00.617 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Hallway_Light' changed from UNKNOWN: State not found to ONLINE
21:01:00.949 [INFO ] [.eclipse.smarthome.model.script.rules] - Timer Spegnimento Luce Corridoio cancellato
21:01:01.057 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:LivingRoom_Light1' changed from UNKNOWN: State not found to ONLINE
21:01:01.320 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:LivingRoom_Light2' changed from UNKNOWN: State not found to ONLINE
21:01:01.482 [INFO ] [smarthome.event.ItemStateChangedEvent] - Toilet_Fan changed from UNDEF to OFF
21:01:01.596 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:LivingRoom_Light3' changed from UNKNOWN: State not found to ONLINE
21:01:01.747 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:MasterBedroom_Light' changed from UNKNOWN: State not found to ONLINE
21:01:01.942 [INFO ] [smarthome.event.ItemStateChangedEvent] - Entryway_Light changed from UNDEF to OFF
21:01:02.077 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:KidsRoom_LedStrip' changed from UNKNOWN: State not found to ONLINE
21:01:02.237 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Kitchen_Light' changed from UNKNOWN: State not found to ONLINE
21:01:02.495 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:KidsRoom_Light1' changed from UNKNOWN: State not found to ONLINE
21:01:02.763 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:KidsRoom_Light2' changed from UNKNOWN: State not found to ONLINE
21:01:02.993 [INFO ] [smarthome.event.ItemStateChangedEvent] - Hallway_Light changed from UNDEF to OFF
21:01:03.072 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Bathroom_Light' changed from UNKNOWN: State not found to ONLINE
21:01:03.231 [INFO ] [.eclipse.smarthome.model.script.rules] - Timer Spegnimento Luce Bagno Verde cancellato
21:01:03.400 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Toilet_Light' changed from UNKNOWN: State not found to ONLINE
21:01:03.632 [INFO ] [.eclipse.smarthome.model.script.rules] - Ventola già spenta
21:01:03.684 [INFO ] [.eclipse.smarthome.model.script.rules] - Timer Spegnimento Luce Doccia cancellato
21:01:03.793 [INFO ] [smarthome.event.ItemStateChangedEvent] - LivingRoom_Light1 changed from UNDEF to ON
21:01:03.869 [INFO ] [.eclipse.smarthome.model.script.rules] - Timer Accensione Ventola Cancellato
21:01:03.893 [INFO ] [home.event.GroupItemStateChangedEvent] - gLight changed from OFF to ON through LivingRoom_Light1
21:01:04.062 [INFO ] [smarthome.event.ItemStateChangedEvent] - LivingRoom_Light2 changed from UNDEF to OFF
21:01:04.148 [INFO ] [smarthome.event.ItemStateChangedEvent] - LivingRoom_Light3 changed from UNDEF to OFF
21:01:04.258 [INFO ] [smarthome.event.ItemStateChangedEvent] - MasterBedroom_Light changed from UNDEF to ON
21:01:04.388 [INFO ] [smarthome.event.ItemStateChangedEvent] - KidsRoom_LedStrip changed from UNDEF to OFF
21:01:04.495 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kitchen_Light changed from UNDEF to ON
21:01:04.564 [INFO ] [smarthome.event.ItemStateChangedEvent] - KidsRoom_Light1 changed from UNDEF to ON
21:01:04.632 [INFO ] [smarthome.event.ItemStateChangedEvent] - KidsRoom_Light2 changed from UNDEF to OFF
21:01:04.687 [INFO ] [smarthome.event.ItemStateChangedEvent] - Bathroom_Light changed from UNDEF to OFF
21:01:04.751 [INFO ] [smarthome.event.ItemStateChangedEvent] - Toilet_Light changed from UNDEF to OFF
21:01:08.725 [INFO ] [smarthome.event.ItemStateChangedEvent] - Latency_Mobile_Matteo changed from 622.0 ms to 625.0 ms
21:01:08.803 [INFO ] [smarthome.event.ItemStateChangedEvent] - Lastseen_Mobile_Matteo changed from 2021-01-25T21:00:07.731+0100 to 2021-01-25T21:01:08.547+0100
21:01:11.676 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:218a3bd5-f3e2-4065-8b51-a102af093ef8' changed from ONLINE to UNKNOWN: State not found
21:01:11.851 [INFO ] [smarthome.event.ItemStateChangedEvent] - Toilet_Fan changed from OFF to UNDEF
21:01:11.955 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Toilet_Fan' changed from ONLINE to UNKNOWN: State not found
21:01:12.183 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Entryway_Light' changed from ONLINE to UNKNOWN: State not found
21:01:12.386 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Hallway_Light' changed from ONLINE to UNKNOWN: State not found
21:01:12.624 [INFO ] [smarthome.event.ItemStateChangedEvent] - Entryway_Light changed from OFF to UNDEF
21:01:12.816 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:LivingRoom_Light1' changed from ONLINE to UNKNOWN: State not found
21:01:12.964 [INFO ] [smarthome.event.ItemStateChangedEvent] - Hallway_Light changed from OFF to UNDEF
21:01:13.112 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:LivingRoom_Light2' changed from ONLINE to UNKNOWN: State not found
21:01:13.278 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:LivingRoom_Light3' changed from ONLINE to UNKNOWN: State not found
21:01:13.449 [INFO ] [smarthome.event.ItemStateChangedEvent] - LivingRoom_Light1 changed from ON to UNDEF
21:01:13.581 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:MasterBedroom_Light' changed from ONLINE to UNKNOWN: State not found
21:01:13.716 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:KidsRoom_LedStrip' changed from ONLINE to UNKNOWN: State not found
21:01:13.857 [INFO ] [smarthome.event.ItemStateChangedEvent] - LivingRoom_Light2 changed from OFF to UNDEF
21:01:13.971 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Kitchen_Light' changed from ONLINE to UNKNOWN: State not found
21:01:14.146 [INFO ] [smarthome.event.ItemStateChangedEvent] - LivingRoom_Light3 changed from OFF to UNDEF
21:01:14.266 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:KidsRoom_Light1' changed from ONLINE to UNKNOWN: State not found
21:01:14.446 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:KidsRoom_Light2' changed from ONLINE to UNKNOWN: State not found
21:01:14.576 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Bathroom_Light' changed from ONLINE to UNKNOWN: State not found
21:01:14.746 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDevice:14efeb2c:Toilet_Light' changed from ONLINE to UNKNOWN: State not found

I tried to copy the .things into a fresh OH 3 and the binding is well behaving.
Now I’m puzzled asking why the OH 2 Binding is suddenly not working.

So I have the same problem. I am running 2.5.11 …
There is a connection to smarthome devices (in my case enet from Jung) an it works, however I have the problem that the status is changing from ONLINE to UNKNOWN every minute .
Who has any idea where to investigate what the reason for this ist …

some issue,
pollingIntervalSmartHomeAlexa=10, pollingIntervalSmartSkills=60

2021-09-01 10:39:25.822 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘amazonechocontrol:smartHomeDevice:396130968f:17fcf9d8-da11-4099-bb16-914a7265c797’ changed from ONLINE to UNKNOWN: State not found