I see. I did attempt to contact Amazon via chat today, but spent an hour repeating that it wasn’t an issue with my echo device. The rep simply kept telling me to power cycle my Sonos Ones to see if it fixed the problem
Will try again next week and hope to get through to the right person.
This is a lost cause; you would need to have a contact within the Alexa development department (which will be a worldwide development team is my guess). No C/S representative will ever be able to get to you to correct person nor will they even understand what your asking them.
If you really want to go down that route, look at LinkedIn.
I believe two things happened with this last voice command issue.
it was a security issue
they realized that other systems (like OH, Homekit, etc.) was using this field to trigger stuff externally from the Amazon eco system and they want everything to flow through their eco system.
How much delay is acceptable for lastVoiceCommand and lastSpokenText? I have a solution, but it currently has a 15 second delay between the start of the conversation (i.e. the detected wake word “Alexa”) and the update of the channel.
The reason is that Amazon sends an event when Alexa starts recording something, but no event when the conversation ends, so the binding needs to actively request the activity record from the server. For me 15 seconds is a compromise that works fine, nearly every conversation (e.g. “What time is it” - “It is five minutes past eight”) is shorter, but it does not produce a delay that is too large.
Those on openHAB 4 can try to download this file, uninstall the binding and then drop the kar in the addons folder. Please note that some Browsers rename .kar files to .mid during download, please make sure the file extension is .kar when dropping the file in the addons folder.
I upgraded to openHAB 4 so I could give this .kar package a go. Thank you for taking the time to put it together. Unfortunately I can’t get it to work as you have described. There doesn’t seem to be any change in behaviour i.e. lastVoiceCommand does not receive updates, even after 15s.
lastSpokenText was a new one for me, and I can’t see it in the binding documentation (is it brand new?) …anyway, I added an Item for it but it’s not getting any updates either. Have I missed a configuration step?