bspranger / Xiaomi

my Xiaomi Device Handlers for Smartthings
Apache License 2.0
521 stars 1.36k forks source link

Idea: Alexa Smartthings skill temperature reporting #77

Closed tylerdurden94 closed 6 years ago

tylerdurden94 commented 6 years ago

Currently, I can ask Alexa to tell me the current temperature reading on my thermostat device via the Smartthings Alexa skill. But it won't work on the temperature sensor. I'm wondering if this might be possible if the temp sensor DTH emulates the characterstics of a thermostat so that the ST Alexa skill will interact with it.

tmleafs commented 6 years ago

You need to install ask alexa or wait till echosistant v5 ti be released has a much easier setup (im on the beta team)

veeceeoh commented 6 years ago

I see the thread on the SmartThings Community forums where you've floated this idea.

Just as discussed there, the ST Alexa skill supports asking the temperature of thermostat devices. It's a bad idea to code the device handler of a temperature sensor to "pretend" to be a thermostat, because then all SmartApps would see the sensors as having full thermostat capabilities, leading to confusion by users on how to properly integrate them into their SmartThings setup.

Also, as mentioned in the thread, the Ask Alexa or the new upcoming version of Echosistant would be the best way to go.

However, by all means, end users are welcome to custom-modify device handler code to suit their needs. I use Alexa devices at home, and when my Xiaomi Aqara Temp / Humidity sensor arrives tomorrow, I can try experimenting with the device handler code to see whether adding the tag for thermostat capability works or breaks things, and then pass on what code modification would get it working (if any).

alecm commented 6 years ago

Just as a note - Alexa will also give me temperature from Ecobee sensors - instead of just the Ecobee - that's through its Ecobee integration of course - but still, maybe one doesn't need a full thermostat definition. Just a thought.

veeceeoh commented 6 years ago

So is it recognizing your Ecobee sensors through the Ecobee Alexa Skill or the SmartThings skill?

tmleafs commented 6 years ago

alexa is very limited thats why 'ask alexa' exists with smart home devices only the following commands can be used https://www.amazon.co.uk/gp/help/customer/display.html?nodeId=201749260

bspranger commented 6 years ago

should this request be closed?

alecm commented 6 years ago

Through the Ecobee skill... (to answer @veeceeoh ).

tmleafs commented 6 years ago

I vote close

foz333 commented 6 years ago

close... not a dt feature and can be acomplished with "ask alexa"

tylerdurden94 commented 6 years ago

Doesn't ask alexa require additional BT speakers?  Or is it fully functional with only the echo device? Other DTHs have done something similar such as enabling a garage door DTH to communicate as a switch for Alexa compatibility. 

On Wed, Feb 14, 2018 at 2:42 PM -0600, "foz333" notifications@github.com wrote:

close... not a dt feature and can be acomplished with "ask alexa"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.