Page 1 of 1

New Alexa integration with OAuth2 account linking support

Posted: Sunday 02 November 2025 12:07
by dwmw2
I've been using Madgeni's original alexa_domo code for years, but I've finally been prompted to update it now that the Smart Home APIv2 is being switched off.

At https://github.com/dwmw2/alexa_domo is an almost completely rewritten version, supporting the Smart Home v3 API and a few new devices. It also supports proper account linking with OAuth2. I've added documentation and automation to make it as simple as possible to set up.

Re: New Alexa integration with OAuth2 account linking support

Posted: Monday 10 November 2025 22:43
by dwmw2
I concluded that this would all work better if it was integrated natively into Domoticz rather than suffering an external translation.
PR: https://github.com/domoticz/domoticz/pull/6423

Docs and some scripting to help users deploy it, https://github.com/dwmw2/domoticz/blob/ ... c/ALEXA.md

Re: New Alexa integration with OAuth2 account linking support

Posted: Monday 10 November 2025 23:01
by waltervl
Good job! I see the documentation is now on github. When integrated in Domoticz you better document this in the Domoticz wiki. Please request a wiki account at Gizmocuz so you can keep the wiki updated based on your future changes.

Re: New Alexa integration with OAuth2 account linking support

Posted: Tuesday 11 November 2025 10:12
by meal
Hello,

I am currently using Google Home and Google Assistant to vocally control the devices in my domoticz application.

The solution is based on the DZGA-Flask add on ( see https://github.com/DewGew/DZGA-Flask) which uses the OAuth concept.

I have 2 questions:

- Does the PR 6418 which implements a OAuth2 solution have an impact on the DZGA-Flask add on ?

- May I upgrade my Domoticz application safely without side effects on the DZGA-Flask solution ?

BR

Re: New Alexa integration with OAuth2 account linking support

Posted: Thursday 13 November 2025 17:40
by meal
Hello
I have upgraded Domoticz application to version 2025.2 build 16892 and confirm that the ALEXA integration with OAuth2 account linking has no side effect on the DZGA-Flask implementation with OAuth.
BR

Re: New Alexa integration with OAuth2 account linking support

Posted: Tuesday 02 December 2025 8:59
by waltervl
dwmw2 wrote: Monday 10 November 2025 22:43 I concluded that this would all work better if it was integrated natively into Domoticz rather than suffering an external translation.
PR: https://github.com/domoticz/domoticz/pull/6423

Docs and some scripting to help users deploy it, https://github.com/dwmw2/domoticz/blob/ ... c/ALEXA.md
I see that it is merged into Domoticz beta!
I do not see any documentation on the wiki yet.... So it will be difficult for other users to use this.

Re: New Alexa integration with OAuth2 account linking support

Posted: Thursday 11 December 2025 17:47
by dwmw2

Re: New Alexa integration with OAuth2 account linking support

Posted: Thursday 11 December 2025 22:05
by waltervl
dwmw2 wrote: Thursday 11 December 2025 17:47 https://github.com/domoticz/domoticz/bl ... t/ALEXA.md
Smart but that is not the location where this instruction should be. It should be somwhere in the wiki https://wiki.domoticz.com/Main_Page

Please request a wiki account @GizMocuz . I can Copy and paste this md into the wiki but you will have to maintain it....

Re: New Alexa integration with OAuth2 account linking support

Posted: Thursday 11 December 2025 22:16
by waltervl
tada: https://wiki.domoticz.com/Alexa_Smart_Home_Integration
And a link to it on the Alexa wiki page: https://wiki.domoticz.com/Amazon_Echo_(Alexa)

Please keep this one up to date and remove the md in the github source

Re: New Alexa integration with OAuth2 account linking support

Posted: Friday 16 January 2026 15:46
by renerene
some beginner questions:
1) where to set the alias name for a device in Domoticz (at the moment only found the option in Alexa)
2) Zwave blinds work, but only full close/open / "blinds % + stop" appear as on/off in Alexa
3) KaKu blinds however work more like a switch, only up/down/stop (=repeat) How to control KaKu blinds with Alexa
tried some different switch types, no luck so far:

Code: Select all

2026-01-16 15:58:16.280 Status: User: alexa stopped blind 779 via Alexa
2026-01-16 15:58:16.356 subtype = Wrong command received from application (0)
2026-01-16 15:58:16.356 Sequence nbr = 155
4) thermostats do not seem to work screenshot). Any tips, special device type required?
5) temperature devices show "oops something went wrong" polar bear

conclusion: only on/off switches seem to work

oh and tip, please add to wiki: "if login goes well on your smartphone, but Alexa can not receive devices but sure to check if you are in Domoticz BETA version 2025 earliest (no alexa sub page)"

Image
https://imgur.com/ostJNgL

Re: New Alexa integration with OAuth2 account linking support

Posted: Friday 16 January 2026 16:10
by waltervl
The "NOTE: Available from beta 2025.2" that already was on the page has also been added to the troubleshooting section. :)

Re: New Alexa integration with OAuth2 account linking support

Posted: Friday 16 January 2026 16:14
by renerene
waltervl wrote: Friday 16 January 2026 16:10 The "NOTE: Available from beta 2025.2" that already was on the page has also been added to the troubleshooting section. :)
i know, but re mention it in the troubleshoot section would have save me some hours ;-)