kakopappa / sinric

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

Smart lock #218

Open teohell opened 5 years ago

teohell commented 5 years ago

Hi, would it be possible to have an example on how to control a smart lock? Many thanks! Matteo

kakopappa commented 5 years ago

Few users have reported that there is a problem with the lock controller asking for a PIN (for Alexa). I have not figured that part yet. (I think it requires to disable security sesstings. ) However, you can use a switch sketch to turn on/off if it does not work for you.

Have you tried creating a Lock device and handling Unlock and Lock operations? https://developer.amazon.com/docs/device-apis/alexa-lockcontroller.html

I am bit busy with few other things these days. I will upload an example when i get a chance.

teohell commented 5 years ago

Hi, many thanks for your kind reply I'd like to try creating lock device but I cannot find reference for how the payload is constructed for a lock device. If you mind referencing the type of action in the payload, I'll give it a shot!

strange-07 commented 3 years ago

Hi, many thanks for your kind reply I'd like to try creating lock device but I cannot find reference for how the payload is constructed for a lock device. If you mind referencing the type of action in the payload, I'll give it a shot!

@teohell Any luck in finding " the type of action in the payload"?

teohell commented 3 years ago

Unfortunately not I'm currently using a switch device and then I handle everything else with Alexa routines

Inviato da iPhone

Il giorno 30 dic 2020, alle ore 08:27, strange-07 notifications@github.com ha scritto:

 Hi, many thanks for your kind reply I'd like to try creating lock device but I cannot find reference for how the payload is constructed for a lock device. If you mind referencing the type of action in the payload, I'll give it a shot!

@teohell Any luck in finding " the type of action in the payload"?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

strange-07 commented 3 years ago

Unfortunately not I'm currently using a switch device and then I handle everything else with Alexa routines Inviato da iPhone Il giorno 30 dic 2020, alle ore 08:27, strange-07 @.***> ha scritto:  Hi, many thanks for your kind reply I'd like to try creating lock device but I cannot find reference for how the payload is constructed for a lock device. If you mind referencing the type of action in the payload, I'll give it a shot! @teohell Any luck in finding " the type of action in the payload"? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

@teohell Okay Thakyou...