hardillb / node-red-alexa-home-skill-web

Apache License 2.0
45 stars 28 forks source link

fahrenheit? #36

Closed dahlheim2 closed 6 years ago

dahlheim2 commented 6 years ago

i've got the Node-RED Alexa Home Skill Bridge working :)

however, i would like to change the units used by the thermostat functions from Celcius to Fahrenheit. could you point me in the right direction?

Thanks!

hardillb commented 6 years ago

You can set the temperatureReading.scale field in the response to either CELSIUS or FAHRENHEIT

dahlheim2 commented 6 years ago

cool!  thanks.  how does that apply to the msg.payload=false (failure) response?

On Monday, December 11, 2017, 8:42:48 AM MST, Ben Hardill <notifications@github.com> wrote:  

You can set the temperatureReading.scale field in the response to either CELSIUS or FAHRENHEIT

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

hardillb commented 6 years ago

It doesn't make sense for a failure as the temperatures are not reported iirc

hardillb commented 6 years ago

If you mean the range response (for out of range values) these have to be in Celsius

dahlheim2 commented 6 years ago

sorry, would you happen to know what to ask the Echo to query a thermostat's setpoint?  it always responds with the temperature reading...  :-/

On Monday, December 11, 2017, 11:31:37 AM MST, Ben Hardill <notifications@github.com> wrote:  

If you mean the range response (for out of range values) these have to be in Celsius

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

hardillb commented 6 years ago

The doc covers both, for GetTemperatureReading and GetTargetTemperature.

Or do you mean how to actually ask Alexa as in what words to say?

hardillb commented 6 years ago

Closing this due to no response