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
ok that's very strange, it's working for me. That doesn't actually look like the right one - I changed FriendlyDescription to either 'Group' or the Device.Type
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
Sorry - my mistake - I didn't see that you had made some changes - I'll try again
-
- 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
It works!
The 'Open bedroom blinds left' also works - but is back to front - Open closes them and close Opens them!
I'm also getting MANY more devices available - a real step change.
The 'Open bedroom blinds left' also works - but is back to front - Open closes them and close Opens them!
I'm also getting MANY more devices available - a real step change.
-
- 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 can see how that's quite counter intuitive - Open = On, Close = Off - is that how it is in Domoticz?
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
Here's what I get
With four blinds set as an Alexa group:
'Alexa, Turn On the blinds' closes them when in an Alexa group.
'Alexa, Open the blinds' returns 'I'm not sure how I can help you with that'
'Alexa, Turn Off the Blinds' Opens them
'Alexa, Close the blinds' ... Opens them (!)
maybe I need a better keyword for the Open the Blinds one...
Individually:
'Alexa, Turn on the bedroom blinds left' Closes the blind
Alexa, Open the bedroom blinds left' Closes them (!)
'Alexa, Turn off the bedroom blinds left' Opens them
'Alexa, Close the bedroom blinds left' Opens them (!)
With four blinds set as an Alexa group:
'Alexa, Turn On the blinds' closes them when in an Alexa group.
'Alexa, Open the blinds' returns 'I'm not sure how I can help you with that'
'Alexa, Turn Off the Blinds' Opens them
'Alexa, Close the blinds' ... Opens them (!)
maybe I need a better keyword for the Open the Blinds one...
Individually:
'Alexa, Turn on the bedroom blinds left' Closes the blind
Alexa, Open the bedroom blinds left' Closes them (!)
'Alexa, Turn off the bedroom blinds left' Opens them
'Alexa, Close the bedroom blinds left' Opens them (!)
-
- 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
in Domoticz - i'm assuming these are switches?
Don't forget we're limited to the words we can use in the Smart Home Skill
Don't forget we're limited to the words we can use in the Smart Home Skill
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
I've set them up as blinds in Domoticz, but yes, they are switches so it's a bonus I get open and close as keywords. Not sure why Domoticz has them upside down - probably a Dutch thing . Is there no way to change this in your code?
-
- 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
If i do that, it starts to be *your* code
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
Not sure what that means - I would think all users of this who have blinds would want them to work the right way up!
-
- 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
ah ok - it's a Domoticz 'feature'? I misunderstood
I can fix that.
try it now - NB: You'll need to do a Discovery first
I can fix that.
try it now - NB: You'll need to do a Discovery first
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
I see what you've done in the code - must admit I tried that too, but for some reason it didn't change anything - Open is still on, Close is off. I'm not convinced though it's your code but something screwy is going on.
If I run
(one of the blinds) it closes the blind, and
opens it...
So On and Off Closes and Opens as you would expect - just Open and Close seem to reverse going through Alexa.
Close and Open works well with lights BTW, so it seems that open and on, close and off are synonymous in Alexa's vocabulary so I can't understand why it is reversed on blinds!
Either way Open and Close for the blinds are good - just need to remember!
If I run
Code: Select all
192.168.0.52:8080/json.htm?type=command¶m=switchlight&idx=194&switchcmd=On
Code: Select all
http://192.168.0.52:8080/json.htm?type=command¶m=switchlight&idx=194&switchcmd=Off
So On and Off Closes and Opens as you would expect - just Open and Close seem to reverse going through Alexa.
Close and Open works well with lights BTW, so it seems that open and on, close and off are synonymous in Alexa's vocabulary so I can't understand why it is reversed on blinds!
Either way Open and Close for the blinds are good - just need to remember!
-
- 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
weird!
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
update - Scene commands weren't working - they are now (stoopid typos).
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 16
- Joined: Sunday 13 March 2016 14:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Firstly, thanks off for creating this and providing the necessary instructions. I've downloaded the code from Github, modified it, created my Lambda function and linked it to a new skill. I can test the Lambda function successfully by modifying the "Hello World" test with the DiscoverAppliancesRequest test, and that works as I would expect it to. I can also see the new skill (which I've called "Alexa2Domoticz") in the Echo App, but on attempting to get Alexa to discover new devices she is unable to find anything. I do not see any events in the CloudWatch which indicates to me that the skill is not calling the Lambda function, but I can't work out why this is. The only time I see entries in the CloudWatch logs is when I run the tests manually (as described above).
I've checked that the Application ID set for the Trigger of the Lamda function matches that of the Skill, and I've checked that the ARN of the Lamda function matches that configured in the Service Endpoint Type for the skill. My region is set to US East (N. Virginia) .... which my ARN seems to reflect correctly (i.e. it is "arn:aws:lambda:us-east-1:xxxxxxxxxxxx:function:alexa2Domoticz" (where xxxxxxxxxxx is a number). I didn't see a reference to the "Service Endpoint Type" in the instructions for setting up the Skill, but it does appear to be required and I can't progress without configuring one.
Any pointers appreciated as I feel I'm really close to getting this working.
Thanks,
Simon
I've checked that the Application ID set for the Trigger of the Lamda function matches that of the Skill, and I've checked that the ARN of the Lamda function matches that configured in the Service Endpoint Type for the skill. My region is set to US East (N. Virginia) .... which my ARN seems to reflect correctly (i.e. it is "arn:aws:lambda:us-east-1:xxxxxxxxxxxx:function:alexa2Domoticz" (where xxxxxxxxxxx is a number). I didn't see a reference to the "Service Endpoint Type" in the instructions for setting up the Skill, but it does appear to be required and I can't progress without configuring one.
Any pointers appreciated as I feel I'm really close to getting this working.
Thanks,
Simon
-
- 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
You may be connected but the lambda isn't accessing your Domoticz server. Try this first:
You can also check the lambda is reaching Domoticz by, instead of using the hello world test, copy the discovery code from the instructions and see if the lambda gets connection to your Domoticz server by seeing the devices appear when running test.
Once you are sure that the lambda connects to domoticz, then check the service endpoint type in the skill. You get this from the lambda. It is shown in the top right if I remember correctly
You can also check the lambda is reaching Domoticz by, instead of using the hello world test, copy the discovery code from the instructions and see if the lambda gets connection to your Domoticz server by seeing the devices appear when running test.
Once you are sure that the lambda connects to domoticz, then check the service endpoint type in the skill. You get this from the lambda. It is shown in the top right if I remember correctly
-
- Posts: 16
- Joined: Sunday 13 March 2016 14:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Thanks Nigel. It was your post on the Echo Facebook group that alerted me to this thread in the first place.
If I was connected I think I'd expect to see a hit in the CloudWatch logs. As per my post above, I have used the discovery code from the instructions to see if the Lambda function can indeed access my Domoticz server. Output as per below confirms this does indeed work :
I'll double check that the Endpoint Type in the Skill matches that of the Lambda function. Would you mind confirming the Lambda function role that you have set? Is it "service-role/BasicExecutionRole" or "lambda_basic_execution" ?
If I was connected I think I'd expect to see a hit in the CloudWatch logs. As per my post above, I have used the discovery code from the instructions to see if the Lambda function can indeed access my Domoticz server. Output as per below confirms this does indeed work :
Code: Select all
{
"header": {
"namespace": "Alexa.ConnectedHome.Discovery",
"name": "DiscoverAppliancesResponse",
"payloadVersion": "2"
},
"payload": {
"discoveredAppliances": [
{
"applianceId": "73",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Vestibule - Mirror LEDs",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "31",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Lounge - Corner Light",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "30",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Lounge - Media Centre",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "106",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Family Room - Desk Lamp",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "111",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Family Room - Mirror LEDs New",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "32",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Lounge - TV Corner Light",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "18",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Front Door",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "107",
"manufacturerName": "RFXTRX433E",
"modelName": "ARC",
"version": "On/Off",
"friendlyName": "Dan's Room - Cupboard LEDs",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "106",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Family Room - Desk Lamp",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "81",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Master - Bookshelf LEDs",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "110",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Lounge - TV LEDs New",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "56",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "Dimmer",
"friendlyName": "Study - Main Light",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Dimmer",
"WhatAmI": "light"
}
},
{
"applianceId": "46",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Garage Double Door",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "24",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Stair Lights",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "62",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "Dimmer",
"friendlyName": "Family Room - Lights",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Dimmer",
"WhatAmI": "light"
}
},
{
"applianceId": "45",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Back Door",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "62",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "Dimmer",
"friendlyName": "Family Room - Lights",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Dimmer",
"WhatAmI": "light"
}
},
{
"applianceId": "111",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Family Room - Mirror LEDs New",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "85",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Patio - Deck Lights",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "59",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "Dimmer",
"friendlyName": "Lounge - Lights",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Dimmer",
"WhatAmI": "light"
}
},
{
"applianceId": "21",
"manufacturerName": "RFXTRX433E",
"modelName": "ARC",
"version": "On/Off",
"friendlyName": "Master - Simon's Light",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "86",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Patio - Right Socket",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "86",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Patio - Right Socket",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "32",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Lounge - TV Corner Light",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "24",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Stair Lights",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "68",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Garage LEDs",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "81",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Master - Bookshelf LEDs",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "46",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Garage Double Door",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "69",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Garage Door Socket",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "73",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Vestibule - Mirror LEDs",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "30",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Lounge - Media Centre",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "21",
"manufacturerName": "RFXTRX433E",
"modelName": "ARC",
"version": "On/Off",
"friendlyName": "Master - Simon's Light",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "59",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "Dimmer",
"friendlyName": "Lounge - Lights",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Dimmer",
"WhatAmI": "light"
}
},
{
"applianceId": "31",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Lounge - Corner Light",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "85",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "On/Off",
"friendlyName": "Patio - Deck Lights",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "107",
"manufacturerName": "RFXTRX433E",
"modelName": "ARC",
"version": "On/Off",
"friendlyName": "Dan's Room - Cupboard LEDs",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "110",
"manufacturerName": "RFXTRX433E",
"modelName": "COCO GDR2",
"version": "On/Off",
"friendlyName": "Lounge - TV LEDs New",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "56",
"manufacturerName": "RFXTRX433E",
"modelName": "LightwaveRF",
"version": "Dimmer",
"friendlyName": "Study - Main Light",
"friendlyDescription": ".",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Dimmer",
"WhatAmI": "light"
}
}
]
}
}
-
- 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
Thats' good - solves half the problem . With regard to your question;I have lambda_basic_execution.
You should think about changing the ARN to Ireland as it is closer, likely to respond faster and will not tire out your photons. It works well for me.
You should think about changing the ARN to Ireland as it is closer, likely to respond faster and will not tire out your photons. It works well for me.
-
- Posts: 16
- Joined: Sunday 13 March 2016 14:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
I've just tried updating the Lambda region to "EU (Ireland)", but on attempting to create the Lambda function I get :
As per the Amazon AWS documentation, and the doc provided by Madgeni, I understood that the region HAD to be "US East (N. Virginia)".
Code: Select all
"Your Lambda function "AlexaToDomo" was successfully created, but there was an error creating the trigger: Could not create alexa-smart-home event source"
-
- 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
No, works well in Ireland now. Did you change the ARN (and as a EU ARN) in the Skill as well?
Worst case (which really isn't that bad) - delete the lambda function and start again.
Worst case (which really isn't that bad) - delete the lambda function and start again.
Who is online
Users browsing this forum: No registered users and 1 guest