Page 24 of 36
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Wednesday 19 April 2017 22:03
by qwerk
qwerk wrote:nice, I got a lot further.
The names and alexa_names are ok now.
I can get temperature readings ( in test) . It will only read temp devices not thermostat devices. Is that a amazon/alexa "thing" Or do I need to reconfigure somethings? I already tried the Whatami settting in your test template.
I do not get the temperature in "normal use"
Alexa says that the question does not work on the device xxxxx
It is seen as a temp device in the smart home list.
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Wednesday 19 April 2017 22:06
by Madgeni
i've only tried this on dummy temp devices - so really been testing this functionality blind!
Does the skill discover your thermostat devices ok? It's possible that even if it does, it may not be interpreting them correctly when I call domoticz internal APIs for controls.
Ok, seen your update. can you add
Code: Select all
console.log(devArray)
console.log(devType)
after line 444 - var devArray = callback.results;
and let me know what it says?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Thursday 20 April 2017 0:31
by fergalom
have a query on thermostats
My device is named "Heating"
I ask "alexa, set heating to 20"
Alexa responds "Sorry which device did you want?"
I say "Heating"
Alexa "Setting heating heat to 20"
Is this normal?
Is it a 2 step process?
I've tried renaming the device but same result.
Also whats the question for asking Alexa a device temperature and do you expect it to be available on the Ireland/UK sites
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Thursday 20 April 2017 8:29
by Madgeni
No, that's not normal, it should be the same as all the other commands.
re: get temperature - the amazon documentation says: "Alexa, what is the temperature of device name?” - presumably this will become available in other regions eventually
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Thursday 20 April 2017 11:53
by Madgeni
fergalom wrote:have a query on thermostats
My device is named "Heating"
I ask "alexa, set heating to 20"
Alexa responds "Sorry which device did you want?"
I say "Heating"
Alexa "Setting heating heat to 20"
Is this normal?
Is it a 2 step process?
I've tried renaming the device but same result.
the amazon documentation says:
“Alexa, set the
room name to number degrees”
“Alexa, stelle
Raumname auf Anzahl Grad”
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Thursday 20 April 2017 11:58
by fergalom
Madgeni wrote:fergalom wrote:have a query on thermostats
My device is named "Heating"
I ask "alexa, set heating to 20"
Alexa responds "Sorry which device did you want?"
I say "Heating"
Alexa "Setting heating heat to 20"
Is this normal?
Is it a 2 step process?
I've tried renaming the device but same result.
the amazon documentation says:
“Alexa, set the
room name to number degrees”
“Alexa, stelle
Raumname auf Anzahl Grad”
Ok will try the room name instead. Was using device name
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Thursday 20 April 2017 12:00
by Madgeni
Think it's device name (or whatever controls temp) - but maybe specify degrees?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 21 April 2017 15:28
by fergalom
hmmm, tried that and specified degrees - same result.
Anyway to debug this easily - cloudwatch?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 21 April 2017 15:32
by Madgeni
really strange. the alexa app is reporting the correct device? It's hearing you ok?
Re: RE: Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 21 April 2017 15:34
by fergalom
Madgeni wrote:really strange. the alexa app is reporting the correct device? It's hearing you ok?
Yeah pretty sure it is on both counts, will do some more comprehensive testing over weekend.
Sent from my SM-G930F using Tapatalk
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Friday 21 April 2017 15:37
by Madgeni
Ok, i'll try and look at how we can capture something useful there also
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 24 April 2017 12:41
by simon_rb
Hey,
Been reading through this thread and appears to be 3 ways of getting Echo to play nicely with Domoticz
1. HA-Bridge:- Easiest to Setup, only On/Off Dim as emulates a bulb
2. Domoticz-Alexa-Bridge:- Most difficult to setup however gives you temp sensors etc.. Have to say Alexa. tell home to... (for example)
3.Alexa-Domo:- This uses the home automation skill.. don't need to say tell home to/domoticz to etc.. after the work Alexa.. Does this do temp sensors also?
Have I got this right? I would like install the Alexa-Domo one however there isn't anything in the readme to explain how to do this..
Any advice would be great. I currently had Domoticz and HomeKit playing well together and just wanted another device to speak too
(They don't nag back at you like the wife.. not yet anyways)
Thanks!
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 24 April 2017 12:45
by Madgeni
Hi simon_rb -
so, there's a reasonably comprehensive doc here:
https://github.com/madgeni/alexa_domo/D ... Manual.pdf
It does include temperature controls also.
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 24 April 2017 13:45
by simon_rb
Thanks for quick reply. I found the pdf moments after posting. I am stuck on the Lambda service as the Alexa-smart-home-skill-adaptor blueprint no longer exists. What should I do? I have tried Ireland and N.Virginia, still not there..
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 24 April 2017 13:51
by qwerk
I can tell Alexa to set my thermostat to 19 degrees. that works fine.
I cannot increase it, or query it.
I have a few temp sensors and I can not query anyone.
I run all in the US.
is there a setting to be set in domoticz, or can I create a manual device that an be queried?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 24 April 2017 14:07
by Madgeni
@qwerk - No settings in Domoticz need to be changed, probably my code - will double check. I code some of these device controls blind
@simon_rb - they love to change things without telling anyone. You can use the default, and in the trigger, select Smart Home - think that does it.
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 24 April 2017 14:11
by simon_rb
@Madgeni - I just found the post a few pages back and went to post it here and you have already replied. Top man!
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 24 April 2017 14:28
by Madgeni
Need to rework some logic to handle incremental/decremental changes - should have something tomorrow
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 24 April 2017 15:04
by simon_rb
I have got as far as trying to add the skill and search for devices. Although it says account linking required and when I click enable I get Unable to link your Skill.
Is there something simple I have missed?
Re: Amazon Echo to Domoticz Bridge: switches, sensors & more
Posted: Monday 24 April 2017 15:07
by Madgeni
did you create your security profile etc and configure your skill to use this?