kakopappa / sinric

Amazon Alexa Smart home skill / Google Home Action for ESP8266 / ESP32 / Arduino
https://sinric.com
285 stars 166 forks source link

Set thermostat to Heat (python) #302

Open keerttttt opened 5 years ago

keerttttt commented 5 years ago

Hi, i'm trying to send that the thermostat is heating to sinric/google home. But it does not seem to recognise it. I can send my settemp and ambient temperature, but not the heating/cooling variable.

This is my code: message = getJSON("5d1ef3d8e2aeaaxxxxxxxx", value="heat", action="SetThermostatMode") ws.send(message) (i edited getJSON to make it possible to send the action.

Also tried some other methods, all didn't work.

What am i doing wrong?

thegoliathgeek commented 5 years ago

@keerttttt The code seems correct. Are you getting any error after sending it?

keerttttt commented 5 years ago

I have never seen any error.. I just send stuff and see if anything happens..

thegoliathgeek commented 5 years ago

Then it's the server side. @kakopappa will help you with this issue.

kakopappa commented 5 years ago

looks like the server is set to 'cool' always. will upload a fix soon

kakopappa commented 5 years ago

check now

keerttttt commented 5 years ago

Much better! Great!

Op zo 7 jul. 2019 06:03 schreef Aruna Tennakoon notifications@github.com:

check now

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kakopappa/sinric/issues/302?email_source=notifications&email_token=AALBGCEDAP2ETYOMUCLYXUTP6FTI5A5CNFSM4H6KWF32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZLEGUQ#issuecomment-508969810, or mute the thread https://github.com/notifications/unsubscribe-auth/AALBGCCLMMC6DFY4BGKIF5TP6FTI5ANCNFSM4H6KWF3Q .