Page 32 of 36
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 09 June 2017 23:25
by markk
Madgeni wrote: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.
Thanks @Madgeni
I just forgot all bar one of my temperature sensors from the Alexa app and "Alexa, what is the temperature inside" is working for me too.
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Saturday 10 June 2017 13:05
by qwerk
@madgeni,
perfect, i can query all my temp sensors, not only inside.
what the temperature in the backyard,
what the temperature in the lobby,
they all work
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Saturday 10 June 2017 16:59
by markk
@querk
Have you added your temperature sensors to groups, ie Lobby, in the Alexa app?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Saturday 10 June 2017 19:22
by qwerk
@markk no not to groups, they are all "standalone"
I have several sensors, I just named them to their location.

- Knipsel13.JPG (15.74 KiB) Viewed 5294 times
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Sunday 11 June 2017 0:44
by markk
Ok, thanks. I'll try that.
My sensors are shown as Temp and Humidity. As a matter of interest, what thermostat do you have in your living room?

- temp sensors.jpg (27.03 KiB) Viewed 5290 times
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Sunday 11 June 2017 8:27
by qwerk
as far as I know, amazon bridge can't handle "double" sensors at this moment.
In domoticz I split them into seperate sensors.
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Sunday 18 June 2017 11:56
by qwerk
lately I am getting a lot of : device is not responding. but the action is still performed.
so basically it works, but there seems to be no feedback from domoticz.
anything I can do ?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Sunday 18 June 2017 12:22
by Madgeni
any specific type of device?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Sunday 18 June 2017 20:14
by qwerk
no logic found so far.
I do see some ( groups and scenes) offline in the alexa webpages. I can still use them.
Tried discover of course, same result.
I does work, but feedback is not as expected and the offline items are never seen before.
As nobody ( until now) reports the same experience I think I am alone with this.
I will make time to come back with more detailed info.
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Sunday 18 June 2017 21:18
by Madgeni
ok - well, i've not changed the code in 11 days - so could be an intermittent Alexa issue?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Sunday 18 June 2017 22:29
by cryonic90
Also here I see in the Smart Home overview that the scenes are offline and found that there's an error in the manual.
The domo-code folder should be added to the zip as well, which is not mentioned in the manual, maybe good to add?

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 19 June 2017 0:45
by Swifty
My temperature and setpoint devices are both separate devices.
What's the recommended naming for this ? - ideally I'd like to be able to say "what's the temperature of <room>" and "set <room> to 20 degrees".
I tried setting both devices with the same Alexa name, hoping it would realise which was correct based on the type of request (" set" or "what's the") but Alexa just moaned about multiple devices..
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Tuesday 27 June 2017 20:10
by Madgeni
Hi all -
so, it's been really great working on this skill, and how it's helped some of you integrate Domoticz with Alexa. However, for some, the steps necessary have been a pain, and often, unworkable. With that in mind, i've been working on a 'true' Smart Home skill for Alexa.
To do so, i've had to create a site which allows people to store their credentials (in the same way all other smart home solutions do), which once you've registered, would allow you to enable a skill from Alexa, link it to your credentials, and you're done. I've implemented Oauth2, so again, you're passing an access token, rather than credentials.
The site is protected by a valid SSL cert (not self-signed), and your personal credentials on my site are either hashed, or encrypted, which means at least a reasonable amount of protection is afforded to you in terms of security and protection.
If anyone is interested, ping me, and i can add you to the Amazon Beta program to help me iron out any kinks. Functionality for Domoticz should be identical to the existing skill i've written.
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Tuesday 27 June 2017 20:13
by sach
Highly recommend you guys check this out.
Madgeni has done more amazing work and I'm been fortunate to be on the beta over the last week.
Keep up the great work dude!
Sach
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 30 June 2017 8:53
by Freemann
Yesterday I configured AWS for my Echo Dot and Domoticz.
I have been able to discover my devices, but now my Dot isn't finding devices.
Also the "discover test" is failing:
Code: Select all
{
"errorMessage": "Cannot find module './domo-code/Control'",
"errorType": "Error",
"stackTrace": [
"Function.Module._load (module.js:276:25)",
"Module.require (module.js:353:17)",
"require (internal/module.js:12:17)",
"Object.<anonymous> (/var/task/domapi.js:2:21)",
"Module._compile (module.js:409:26)",
"Object.Module._extensions..js (module.js:416:10)",
"Module.load (module.js:343:32)",
"Function.Module._load (module.js:300:12)",
"Module.require (module.js:353:17)"
]
}
What is it that I'm doing wrong?

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 30 June 2017 9:16
by Madgeni
hi -
just to check, did you include the domo-code folder in your zip file?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 30 June 2017 9:32
by Freemann
The pdf-manual don't say to include that folder, so no.
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 30 June 2017 9:34
by Madgeni
I know i know, sorry! it will be updated as soon as i get a chance
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 30 June 2017 9:38
by Freemann
Ah, OK will try it as soon I'm home.
Maybe for now change the first post?
Cheers!
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 30 June 2017 10:31
by Freemann
OK, updated the Lambda and ran the discover test again with the following result;
{
"errorMessage": "2017-06-30T08:27:05.730Z e5daa7c0-5d6d-11e7-9083-893583f251fb Task timed out after 1.00 seconds"
}
[edit]
My Domoticz locally is running on port 8080, from the outside world its accessabel on a different secured port.
Which port should I configure in the Config file?
LAN 8080 or WAN XXXX ?