How it works
When a guest checks in, Taskyinn calls the Tuya cloud API to generate a PIN tied to the stay window. The PIN is stored on the reservation, shown to the front desk, and embedded in the guest message with the `{{door_lock_code}}` placeholder. At check-out the PIN is revoked automatically and a new one rotates in for the next reservation.
- Per-stay PIN generation with check-in/check-out time bounds
- Auto-revocation at check-out — no manual cleanup
- {{door_lock_code}} placeholder resolves in WhatsApp / email templates
- Audit log of every PIN issued and revoked
