ttlock / Android_SDK_Demo

TTLock is a global provider of solutions for smart locks. We provide PCBA and softwares for lock manufactures and end users. We provide open API/SDK for developers. With these APIs/SDKs, you can develop your own applications to manage smart locks. The SDK here is for mobile app to communicate with locks via bluetooth.
23 stars 24 forks source link

Push notification when unlock #1

Open quanghd96 opened 5 years ago

quanghd96 commented 5 years ago

How to I intergrate push notification when unlock?

ttlock commented 5 years ago

the push funtion is developing for open platform.

quanghd96 commented 5 years ago

Now I want to intergrate it with Google Assistant and my system. How to know state of the lock when it changes state? Thank you!

ttlock commented 5 years ago

you need a gateway which will bind lock nearby automatically and then call this api https://open.sciener.cn/doc/api/v3/lock/queryOpenState

quanghd96 commented 5 years ago

Thank for your support! I want to catch the event when locking status changes. Is there any way? Does the gateway receive the changed state of the lock?

quanghd96 commented 5 years ago

Is there any way when the gateway receives a status change lock event, does it call one of our api?

kind3r commented 3 years ago

Any updates on how to subscribe to activity notifications (like a realtime operations log) from the lock over BLE (without gateway) ?

chaymankala commented 3 years ago

Any update on Push Notifications?