Amazon Echo to Domoticz Bridge: switches, sensors & more
Moderator: leecollings
-
- Posts: 74
- Joined: Thursday 24 September 2015 11:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
nothing showing in the logs so I guess not, am using eu-west and english uk so may try switching.
-
- Posts: 74
- Joined: Thursday 24 September 2015 11:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Switched to English U.S, and my lambda is in N.Virginia and worked first time!Madgeni wrote:hmm is the skill firing the lamdba - can you check the logs?
I think there's some general problems with skills linking to lambda functions. My skill is using English U.S, and my lambda is in N.Virginia if that helps.
Thanks!!
-
- 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
Perfect! That's really good - welcome 

Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
- heggink
- Posts: 978
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
So if i wanted UK english, is that currently an issue?
Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk
Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- 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
well, i believe nigels0 has it working in Ireland with English UK but i have the US English one, and it makes no difference to the usage to me. It understands my commands just fine. Latency is <1sec for discovery, <0.5s for interactions. Quicker than my direct Hue integrated lights for sure.
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
- heggink
- Posts: 978
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
My accent is British
️
Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk

Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- 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
i am very british 

Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
- heggink
- Posts: 978
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
And can talk to it successfully?
Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk
Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- 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
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 74
- Joined: Thursday 24 September 2015 11:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Thanks, this works a treat.
Couple of feedback items:
Couple of feedback items:
- 1. On/off work perfect, dimming does not work well, i.e. asking for 10% will result in 35% for example
2. Thermostat - works perfect for me - only thing is the Alexa confirmation is "Setting Thermostat to unknown temperature" i.e. Alexa does not repeat back the setpoint temperature - not a big deal but would be nice.
3. Temperature devices - what is the correct syntax for asking Alexa the temperature?
4. Are multi-selector switches supported?
-
- 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
1. Argh! This seems to be a very strange issue, where it seems fine for some people, and wrong for others. What type of Dimmers do you have out of interest?
2. I'll take a look - not sure what happens to the payload, as the integer seems to be there, so not sure why Alexa doesn't interpret it
3. I'm afraid that currently Alexa doesn't support asking via the Smart Home Skill. As soon as it does, i'll implement it. The only way to get this would be to rebuild it as a Custom skill (Alexa, ask 'Home' what the temperature is in the front room etc etc) - but would be a piece of work to do this. I'm loathe to whilst this is allegedly on Alexa's roadmap for Smart Home
4. Can you give me a couple of user stories for multi-selector switches to work with?
2. I'll take a look - not sure what happens to the payload, as the integer seems to be there, so not sure why Alexa doesn't interpret it
3. I'm afraid that currently Alexa doesn't support asking via the Smart Home Skill. As soon as it does, i'll implement it. The only way to get this would be to rebuild it as a Custom skill (Alexa, ask 'Home' what the temperature is in the front room etc etc) - but would be a piece of work to do this. I'm loathe to whilst this is allegedly on Alexa's roadmap for Smart Home
4. Can you give me a couple of user stories for multi-selector switches to work with?
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 221
- Joined: Thursday 23 January 2014 12:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Yes, all the above is true. I've built 2 of these and both worked no problem with the EU-West and UK English parameters. Latency is about the same (it generally switches before I get the 'OK')Madgeni wrote:well, i believe nigels0 has it working in Ireland with English UK but i have the US English one, and it makes no difference to the usage to me. It understands my commands just fine. Latency is <1sec for discovery, <0.5s for interactions. Quicker than my direct Hue integrated lights for sure.
-
- Posts: 74
- Joined: Thursday 24 September 2015 11:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
They are all dummy dimmers - Type: Light/switch - Switch: DimmerMadgeni wrote:1. Argh! This seems to be a very strange issue, where it seems fine for some people, and wrong for others. What type of Dimmers do you have out of interest?
2. I'll take a look - not sure what happens to the payload, as the integer seems to be there, so not sure why Alexa doesn't interpret it
3. I'm afraid that currently Alexa doesn't support asking via the Smart Home Skill. As soon as it does, i'll implement it. The only way to get this would be to rebuild it as a Custom skill (Alexa, ask 'Home' what the temperature is in the front room etc etc) - but would be a piece of work to do this. I'm loathe to whilst this is allegedly on Alexa's roadmap for Smart Home
4. Can you give me a couple of user stories for multi-selector switches to work with?
Using multi-selectors to enable various airplay speakers around the house, quickly set heating modes, select & play some radio channels.
Interestingly if you ask alexa to set a multi-selector switch to a percentage, it works sort of (the dimming issue skews it).
-
- Posts: 8
- Joined: Thursday 09 June 2016 21:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Just a curious question for Echo/dot owners: Can this device communicate in English, but use metric system? (I don't want to receive answers in miles, pounds or lbs, but metres, kg, etc.)
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: RE: Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Yes I have UK Echo Dots and there is a setting for metric temperature and distance units.Bororo wrote:Just a curious question for Echo/dot owners: Can this device communicate in English, but use metric system? (I don't want to receive answers in miles, pounds or lbs, but metres, kg, etc.)
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
- l0gic
- Posts: 107
- Joined: Tuesday 08 October 2013 9:35
- Target OS: Linux
- Domoticz version: Latest
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Got to the bottom of this. I had a defined room that I hadn't populated with any units.l0gic wrote:Hi,
just updated to latest code and I'm getting the following in the lambda logs
This seems to be while running a discovery.Code: Select all
2016-11-29T10:48:53.222Z 691f17c3-b621-11e6-a006-c9681d09aea6 TypeError: Cannot read property 'length' of undefined at /var/task/domapi.js:401:42
If I understand it correctly, is should also discover temperature set point units, these do not appear in discovered devices but I guess that could well be down to the code not completing.
Control of the discovered units seems to be ok still.
All the best
Kevin
Worth bearing in mind when doing a discovery.
All the best
Kevin
Non credus crepitus
-
- 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
Yep, it's a well known 'feature' - basically i do no error handling on there being no room plans, or no devices IN room plans. I'll fix it shortly
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
- heggink
- Posts: 978
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Does amazon charge anything for the Lambda function?
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- 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
No, they have a free tier, which is huge for this purpose:
1M free requests per month and 400,000 GB-seconds of compute time per month
https://aws.amazon.com/lambda/pricing/
1M free requests per month and 400,000 GB-seconds of compute time per month
https://aws.amazon.com/lambda/pricing/
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
- heggink
- Posts: 978
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Good to know. If I get an invalid character error, any ideas on where to look for a solution? Followed your doc (only thing missing seemed to be listing the endpoint).
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Who is online
Users browsing this forum: No registered users and 1 guest