I’m putting together a quick proof-of-concept that talks directly to Tuya’s Cloud API and controls a Wi-Fi smart lock. The PoC only needs to run from the command line; no UI, no bells or whistles—just clean Java code that logs every request and response in plain-text so I can see exactly what’s happening under the hood. Here’s what the program must do, in sequence: • Authenticate with Tuya Cloud using my API Key credentials. • Create a temporary password on a designated lock that is valid for exactly one hour (now → now + 1 h). • Immediately fetch and print the list of existing temporary passwords so I can confirm the new one is present. • Delete that same temporary password and verify its removal. I can supply Tuya Cloud access along with one or more virtual devices for testing. Feel free to stick with pure JDK 21 or bring in something lightweight like Apache HttpComponents if you prefer; I’m not tied to any particular framework as long as everything compiles and runs from a standard Maven or Gradle build. Deliverables • Full, well-structured source code (Java 21 or lower) • A simple README with build/run instructions and any required environment variables (access/secret keys, device ID, etc.) • Console output that clearly shows each REST call and the matching response in plain text Once I can run it locally and see the correct create/list/delete flow working against my virtual lock, we’re done. Let me know if you have questions about the endpoints or test credentials.