Tuya Smart Help Center

Why does the remote unlock button disappear after I initiate a remote unlock request, exit, and then enter the control panel again?

Last Updated on2020-10-27 09:43:12
Why does the remote unlock button disappear after I initiate a remote unlock request, exit, and then enter the control panel again?
The logic for remotely unlocking a Wi-Fi door lock is as follows: Data contained in a remote unlock request does not represent the countdown time. Instead, the MCU sends data values, for example, 60, 59, and 58, every second to ensure the countdown effect. The app panel displays a remote unlock button until it receives a 0. If you tap the button in the app to open the door or reject the door unlock command before the countdown timer reaches 0, the hardware will execute your instruction and report 0 to the server to remove the button from the app. That is, the panel does not count down the time. After you initiate a remote unlock request, the panel will display an unlock button until you exit the page or it receives a 0. If the door is opened, a remote door unlock record will be reported independently. The preceding logic enables the MCU to control display and removal of the button in the app at any time. You can define the MCU report logic to achieve different rules and effects based on your requirements. For example, if you require a request waiting period of 180s, you can configure the MCU to deliver data values indicating the countdown timer at 1s or 2s intervals. If you want to retain the button in the app when the countdown timer reaches 60s and the app rejects the door unlock request, you can enable the MCU to send "false" before the countdown timer reaches 60s. If the app panel receives "false" within 60s, it will report 0 to end the request.
Click for services and help