Tuya API PHP Script for Smart Lock

Job ID: 39575677

Budget: €12 – €18 EUR

I'm looking for a developer experienced with the Tuya OpenAPI to create a PHP script that automatically adds a 6-digit temporary code to a Tuya smart keyboard lock.

Objective:
Develop a PHP script that:

Authenticates using Tuya API (Access ID and Secret)

Generates and sends a 6-digit numeric code to the smart lock

Sets an expiration date/time for the code (e.g., valid for 24 hours)

Returns the generated code and confirmation of success

Technical Details:

I already have: Access ID, Access Secret, Project Code, and Device ID

The device is a Tuya Smart Lock with Keypad (supports temporary passwords)

Language required: PHP

Output should be JSON or logged to a file

Deliverables:

Clean, well-documented PHP code

Optional support with testing using my Tuya account

Possibility to extend the script in the future (e.g., multi-code generation or a basic web interface)

Credentials:
API credentials will be shared privately after project assignment.

Timeline:
This is a relatively simple task for someone with Tuya API experience. Expected delivery is within 2 to 4 days.

Budget:
Please propose a fair rate based on your experience.

Bonus:
Please include any similar IoT or API-based projects you’ve worked on, especially those involving Tuya, Zigbee, or RESTful API integrations.