Amazon Echo Skill - Unresponsive

Hello
First time posting here - kinda new to Hubitat but not to debugging, I do this for a living.
Did spend a few hours reading any info in past support tickets - no luck.

Basically, I was attempting to connect HE (C8 Pro running latest 2.4.3.171) to my amazon echo.
Did install the Amazon Echo Skill, did the login to link, selected my HE hub, everything was smooth sailing.
I added all the devices, Alexa found them fine after a discovery.
Also, when I add or remove devices in the skill, get synced flawlessly with Alexa app.

What doesnt work:

  1. Cant set any setpoint temperature from Alexa
  2. Alexa doesnt display the correct actual temp of the termostat.

To simplify debugging, I finally removed all devices, remove the sync, redid it from scratch with a single thermostat.

However:

  • When trying to set temp using Alexa app, I get "Device not responding"
    -- Tried with the option to spoof the response, same result

  • When I change the temp on any thermostat (manually on the termostat or within HE), I see that a notification made to 'tell' the Echo Skill that the temp changed e.g. 'Thermostat Bureau thermostatSetpoint is 22.0°C'

  • But alexa never 'get' the modified value

  • In fact, Alexa always shows 16 and 21 for setpoint and current temp, which was never set

  • Looking further in the logs, at exactly the same second I manually changed the temps, I can see this error message:
    Error making Call to Alexa message gateway: {"header":{"namespace":"System","name":"Exception","messageId":"ASRLS_63611fed-4349-4704-84cf-ce2e4a42bb5f_1765834074353.0..ASRLS_63611fed-*****-4704-84cf-ce2e4a42bb5f_1765834074353"},"payload":{"code":"INVALID_REQUEST_EXCEPTION","description":"Cannot read the request payload as: Cannot construct instance of com.amazon.iota.driver.v3.StateReportProperty, problem: value\n at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: com.amazon.iota.driver.directive.v3.MessageEnvelope$V3Builder["context"]->com.amazon.iota.driver.directive.v3.Context["properties"]->com.amazon.iota.driver.v3.StateReportPropertyArray[2])"}}

  • I also noticed that the Amazon Echo Skill has a run-once scheduled job: "getAlexaAccessToken" but it never completes, it always gets rescheduled 1h in the future whenever it runs

  • Each time it run, I get a very similar error message:
    Error making Call to Alexa message gateway: {"header":{"namespace":"System","name":"Exception","messageId":"ASRLS_ba6bd260-e184-4dec-9c43-547a3161fc9a_17658******.0..ASRLS_ba6bd260-e184-4dec-9c43-547a3161fc9a_1765834537565"},"payload":{"code":"INVALID_REQUEST_EXCEPTION","description":"Cannot read the request payload as: Cannot construct instance of com.amazon.iota.driver.v3.StateReportProperty, problem: value\n at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: com.amazon.iota.driver.directive.v3.MessageEnvelope$V3Builder["context"]->com.amazon.iota.driver.directive.v3.Context["properties"]->com.amazon.iota.driver.v3.StateReportPropertyArray[1])"}}

  • I tried rebooting the hub, same result.

  • But I do get this error message after a reboot:
    Error making Call to Alexa message gateway: {"header":{"namespace":"System","name":"Exception","messageId":"609344f1-5a3e-42d4-bbba-5a664dc06926"},"payload":{"code":"INVALID_REQUEST_EXCEPTION","description":"com.amazon.iota.container.exception.NoCorrelationSessionFound: No active session found for correlation token : SUdTVEs6AAE6AAg6ey******zZjljMTBmLWZhMjYtNGY5NS04YTIzLTEwMTg0ZDE3NzE4NCIsInVyaSI6Imh0dHBzOi8vZC1hY3JzLW5hLXAtN2UzLTRkYzk4ZDViLnVzLWVhc3QtMS5hbWF6b24uY29tOjk0NDQiLCJzZXNzaW9uSWQiOiIyNjQwZmJjNC1kMzJmLTQ0NTctYjNkMS1lNTA4MDM2ZWY2ODgifQ=="}}

I checked my firewall as some tickets mentionned calls to api.amazon were blocked and could cause this issue, it is not the case for me, everything is allowed from HE and from my Echo devices.
I made sure to have HE updated to the latest release as some post mentionned that was the fix.

If I had to guess, HE is unable to get its Amazon access token working, and that affect all api calls triggered to 'update' changed data to Amazon.

What is weird, if I add a device in Amazon Echo Skill on HE, few seconds later Alexa sees it. So the 'login' sync from HE to Amazon seems to be working.

Is there any more debugging I can turn on ?

I am at lost to debug this further. Any help would be much appreciated.

Sounds like you have some deeper issues, but you may want to make sure these are enabled in the app. You should be able to tell Alexa to set Heating Setpoint or Cooling Setpoint with that checked.

image

Hello
Thanks !

  1. Respond immediately without waiting for device, already tried that. No change
  2. Will try the 'advanced termostat", remove my single thermostat first and reinstall. Then report in a few minutes

Finally, moving forward...

I set both the options mentionned above. Removed the 1x thermostat in Alexa Skill, made sure it was no longer visible in alexa and added ALL thermostats back.

On the alexa app, I could only LOWER the temp setpoint on my initial termostat... strange.

Using the smart house display on my amazon echo, I could see all thermostat but only one was showing as supported, where could change the temp...

That thermostat was setup slightly different.
I have Sinopé thermostat, dont know if this has to be done on all thermostat during installation.

I had to send all my thermostats, once, a command of 'Set thermostat mode' to 'Heat'.
When I initially set up all the thermostats in the house, seem I did that only for that single thermostat. That one I did was the only one responding to Alexa voice or Alexa App commands properly.

In HE, i could set the thermostats setpoint without issues, regardless if I had sent them the heat thermostat mode or not. Alexa refuses to manage the temp if the mode isnt done.

Once I did send this command to all my thermostats, removed them all and added them again, it all works now.

I also tried if the 'Advanced thermostat' setting was still required. Yes it is, doesnt work without it

So now
a. I can do voice commande to lower temp, query temp or increase temp of a thermostat
b. On the Echo Show, I can see all the thermostat, see the current and set temp and change the set temp
--All the reported temps are exact.

It is better but something is still weird...

On Android latest, using the Alexa App latest, when I select a thermostat, I get displayed
TARGET and HEAT TO, with each a circled + and - button to change the temp.
Kinda weird to have both temps modifyable.
The Current Temp is also displayed below.

And I get the following behavior:
a) Current temperature displayed is simply wrong
b) I can change target temp number, both lowering and increasing by using the + and - icon, and after a few seconds I still get the dreaded "device unresponsive" message. Closing and coming back the app, the set temp has not changed
c) I can lower (the - button) on the HEAT TO and the termostat immediately respond and temp is changed but the + button simply doesnt do anything ! No change in temp at all.

Basically the thermostat controls on Echo Show are working fine, the voice commands to Alexa too but the android app still has a few hiccups controlling thermostats...

I'm curious, does someone have the same behavior on Alexa Android App as me ?

Anyway, at least now I can move on to some other devices to set up!