Amazon Echo to Domoticz Bridge: switches, sensors & more
Moderator: leecollings
-
- Posts: 1571
- Joined: Friday 25 March 2016 17:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Hi - your config looks fine - just to check, you've configured the handler to be called domapi?
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
This looks really nice, will try it today.
But i have a question, do i need to set a password/user and needs the folder domo-code also in the upload zip folder?
But i have a question, do i need to set a password/user and needs the folder domo-code also in the upload zip folder?
-
- Posts: 1571
- Joined: Friday 25 March 2016 17:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
yes, you need a username/password, and i'd recommend using https - https://www.domoticz.com/wiki/Native_HT ... SL_support.
Once you've done that, then the files/folders you need are domapi.js, conf.json, /node_modules, /domo-code.
Once you've done that, then the files/folders you need are domapi.js, conf.json, /node_modules, /domo-code.
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Thanks got it working
I do not have a alexa Echo but i have installed Alexa on the rpi 3 using this link https://www.youtube.com/watch?v=baec1CbV6A0

I do not have a alexa Echo but i have installed Alexa on the rpi 3 using this link https://www.youtube.com/watch?v=baec1CbV6A0
-
- Posts: 76
- Joined: Saturday 31 December 2016 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
I've just had the 'What's new with Alexa?' email come through from Amazon, and it looks like it's possible to set light colours for Hue, Hive etc.. by saying things like 'Alexa, make the living room gold'.
I'm not sure if this is smarthome API stuff, but is setting colours of RGB devices supported/possible using alexadomo?
(Apologies if it's there already, my setup is currently not internet facing, so I'm unable to play around with the skill until I fix that later today
)
I'm not sure if this is smarthome API stuff, but is setting colours of RGB devices supported/possible using alexadomo?
(Apologies if it's there already, my setup is currently not internet facing, so I'm unable to play around with the skill until I fix that later today

-
- Posts: 1571
- Joined: Friday 25 March 2016 17:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Hi - it's there already (but mostly untested) - so if you want to be my guinea pig, please try it out and let me know 

Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 99
- Joined: Friday 10 March 2017 22:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Germany
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Could you add a link to the GitHub Repository to your signature? I've to search for it everytime i come hereMadgeni wrote:Hi - it's there already (but mostly untested) - so if you want to be my guinea pig, please try it out and let me know

A post of you will nearly always be on the latest page, so it's easier for me and newbies.
(I know, favorites would do the deal too, but im not a big fan of them

Migration done, hello Home Assistant.
-
- Posts: 76
- Joined: Saturday 31 December 2016 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Thanks - I hope to get some time to expose domoticz back to the internet later, so I will try this out!Madgeni wrote:Hi - it's there already (but mostly untested) - so if you want to be my guinea pig, please try it out and let me know
What's the format for the commands, something like 'Alexa, set [lightname] to [basic_colour]' ?
Where basic_colour is something common like red, green, blue etc..
Is there any was this can work with multiselect switches which have levels with the same name? - I have some wifi (Hyperion) RGB lights, which are controlled by multiselect switches - I have a number of levels to choose from in domoticz named, red, green, blue etc..
I had to do it this way, due to the lack of a virtual RGB dimmer in Domoticz that allows you to retrieve the selected colour value.
-
- Posts: 111
- Joined: Wednesday 12 October 2016 14:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Hey @madgeni,
I have been using HA-Bridge for some time after attempting to set up alexa_domo and failing miserably.
Having a quiet afternoon at work so decided to try it again and the Skill has discovered devices, so looking forward to going home and testing it out.
All well a beer or 2 will be making its way to you
I see you are from Bromley......I live in Shortlands
I have been using HA-Bridge for some time after attempting to set up alexa_domo and failing miserably.
Having a quiet afternoon at work so decided to try it again and the Skill has discovered devices, so looking forward to going home and testing it out.
All well a beer or 2 will be making its way to you

I see you are from Bromley......I live in Shortlands

-
- Posts: 1571
- Joined: Friday 25 March 2016 17:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
@swifty - yep, the commands in the Readme on my repo on github (link now in my sig!).
Yay @sach - go Bromley
Any Qs, ping me here
Yay @sach - go Bromley

Any Qs, ping me here
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Hey all,
any progress in getting the temperature reading and setting, going again?
Or am I the only one struggling with this?
any progress in getting the temperature reading and setting, going again?
Or am I the only one struggling with this?
-
- Posts: 111
- Joined: Wednesday 12 October 2016 14:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
No luck with temps here yet either.
-
- Posts: 1571
- Joined: Friday 25 March 2016 17:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Set is working fine - gettemp isn't, but i think it's alexa struggling to understand
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 76
- Joined: Saturday 31 December 2016 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Thanks!Madgeni wrote:@swifty - yep, the commands in the Readme on my repo on github (link now in my sig!).
I got around to fixing my DynDNS tonight and tested out.
It doesn't appear to work with the multiselect switches that I mentioned earlier (I was hoping it might map the names or something

My switch is setup like this;

The only way I seem to be able to control it is to tell alexa to set that device to a percentage, which then corresponds to one of the switches levels - however it's not very user friendly, unless I can train the family to remember what levels map to what colour

-
- Posts: 1571
- Joined: Friday 25 March 2016 17:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
not good, can't see that passing the wife acceptance factor!
let me put some logging in for you, see if we can capture what's happening
let me put some logging in for you, see if we can capture what's happening

Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 1571
- Joined: Friday 25 March 2016 17:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
is that standard Domoticz behaviour for those switches?Swifty wrote: It doesn't appear to work with the multiselect switches that I mentioned earlier (I was hoping it might map the names or something)
My switch is setup like this;
The only way I seem to be able to control it is to tell alexa to set that device to a percentage, which then corresponds to one of the switches levels - however it's not very user friendly, unless I can train the family to remember what levels map to what colour
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 76
- Joined: Saturday 31 December 2016 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Not sure to be honest.. i'm not over familar with Domoticz yet, and it's the first one I've setup - but in the GUI when configuring the switch it seems to automatically assign 'levels' in increments of 10;

I'm not sure how the backend bits work, are the colours available hardcoded by amazon ?
If not, and it's possible to get the Domoticz 'name' of the level recognised, rather than the level value - it would be a great way to get generic multi select switches working, eg: 'Alexa, set livingroom media to sky tv'

I'm not sure how the backend bits work, are the colours available hardcoded by amazon ?
If not, and it's possible to get the Domoticz 'name' of the level recognised, rather than the level value - it would be a great way to get generic multi select switches working, eg: 'Alexa, set livingroom media to sky tv'

-
- Posts: 1571
- Joined: Friday 25 March 2016 17:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
hah! I get the feeling i'll need to do some hard-coding for this, which i'm happy to do if it's a common use-case. Are those colours defaults when you create the switch or do you configure them manually?
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 76
- Joined: Saturday 31 December 2016 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
They are manually set when the switch is created.
If you add the "dummy switch" hardware to domoticz, then just create a new switch of "selector" type you should see something like the screenshot above, just with 3 default levels.
Happy to try anything out for you to grab logs etc. Just let me know!
Thanks for the efforts
If you add the "dummy switch" hardware to domoticz, then just create a new switch of "selector" type you should see something like the screenshot above, just with 3 default levels.
Happy to try anything out for you to grab logs etc. Just let me know!
Thanks for the efforts

-
- Posts: 1571
- Joined: Friday 25 March 2016 17:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
quick update re: Get temp.
This now works IF you have one thermostat - "Alexa, what is the temperature inside" - this seems to currently be a limitation of the smart home skill api. I'll keep chipping away at it, but this seems to be working consistently.
This now works IF you have one thermostat - "Alexa, what is the temperature inside" - this seems to currently be a limitation of the smart home skill api. I'll keep chipping away at it, but this seems to be working consistently.
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Who is online
Users browsing this forum: No registered users and 1 guest