node-RED for connecting Amazon Echo-devices to openHAB

Yes, but but not detailed: On GitHub, open the original repository (applestrudel…), then open the code for the routine node and search for the text-command part. There you can see how the node expects the input payload. It works the same way as the other nodes.
That way you’ll know what you need to add in the dynamic filter node to hook up the additional node: Add one output under setup and the code under on message. A debug node will help in case it doesn’t work on the first try.

I already did rewrite a bunch of nodes to my needs, to re-import that would require a bit of an effort. but as far as I can see, there’s no issues with it! so I hope it’s ok, if I don’t test it… :wink:

Do you have a bit more insight on how far it’s gone already? is it planned for the upcoming 5.1-release?

Thx, was not clear for me to must scroll to the beginning.

Many thanks !

bests

Thank you for your work. Unfortunately, the instructions are far too brief for me to know exactly what to do.

I’ve installed Node-RED Flow and connected it to openHAB. I’ve already added an MQTT broker and a topic. The name in the command matches the device name.

But TTS isn’t working.

Error:

22.11.2025, 12:56:53node: Debug MQTT Raw
openhab/alexa/Bad/speak : msg : Object
object
topic: "openhab/alexa/Bad/speak"
payload: "Das ist ein Test"
qos: 0
retain: false
_msgid: "2eb0e7c5d28a6535"

@digitaldan said it’s almost finished👏. I don’t know the rules if it can still be picked for 5.1. But a jar would be great too.

Do you have the link to access that, please?

I’m just trying to finish it up today, but i’ll post a jar once i have something working.

4 Likes

awesome (although my workaround becomes obsolete). No hurry and Big Thanks👍

But we have learned a lot by that :flexed_biceps:

3 Likes

Ok a 5.1 jar is out, you can either download this and stick it in your addons folder AFTER removing the old version first

Or you can update the version in place directly from my repo using the openHAB cli like

update org.openhab.binding.amazonechocontrol https://github.com/digitaldan/openhab-addons/releases/download/amazonechocontrol-auth/org.openhab.binding.amazonechocontrol-5.1.0-SNAPSHOT.jar

Note that if you upgrade your system, it will overwrite installing from the CLI just FYI (so its not as permanent as adding to addons)

2 Likes

also i have a draft PR up for anyone that is interested, as soon as we confirm this works, i’ll remove some debugging and make it official

3 Likes

Hi Dan,
I’m very happy that you found a solution. As my installation in on 5.0.2, it would be nice, if you provide also a jar for this version for testing. I don’t know how much work this will be. So, only if possible. :wink:
Thank you very much for your effort. :+1:

the jar for 5.x is just one post above :face_with_monocle:.

You need org.apache.velocity too which can be downloaded here:
https://dlcdn.apache.org//velocity/engine/2.4.1/velocity-engine-core-2.4.1.jar

1 Like

quick feedback: Everything I tested immediately worked

  • all things online (without recreating)
  • TTS works
  • lastVoiceCommand is fast as never before
1 Like

Same here, all good, thx a lot :+1:

It asks for com.google.gson in version 2.13.0 while my oH 5.0.1 only has 2.11.0.
Anything i can do?

Error starting bundle 279: Could not resolve module: org.openhab.binding.amazonechocontrol \[279\]
Unresolved requirement: Import-Package: com.google.gson; version=“\[2.13.0,3.0.0)”

lsiepel was nice enough to post links to 5.0.x and 4.3 builds here

EDIT: the PR was merged and will be in 5.0.x, 4.3 and 5.1 builds

3 Likes

Nice!
Thanks for you work.
So Amazon is online again but iCloud went offline :frowning:
Still looking forward to a fix.

Thanks. This did the trick: [amazonechocontrol] Fix authentication by digitaldan · Pull Request #19690 · openhab/openhab-addons · GitHub

The binding seems to work. Thanks again.

The 4.3.x build has files dated 08/2025 vs 11/2025 date so I’m guessing the zip doesn’t contain the latest update in it. I reached out to him to look into the file dates.

Best, Jay