
Closed
Posted
Paid on delivery
The lock is TuyaMCU based and uses WBR3 Wifi/BLE module which is based on RTL8720CF; TUYA IOT SDK V:2.3.1 rtl8720cf_common_lock_ty:1.1.16 pid:umca8uiv2203ua3k firmwarekey:key5943jddfsyeu3 v1:1.1.16 v2:1.3.9 Tuya-CloudCutter wont work as its not entering AP mode. Flashed OpenBeken FW, but cant set properdpIDs Thanks. I’m running a Tuya-based smart lock that currently relies on Tuya’s cloud, and I want it to function entirely inside my LAN. Lock, unlock, status, battery level—everything has to stay, but without any call home. What I need is solid API integration work. Whether you reverse-engineer the existing Tuya local protocol, pull the device keys, or wrap native commands in MQTT/HTTP, the outcome should be a clean local API I can hit from Home Assistant or a simple Python script on my Raspberry Pi. Deliverables • Working code (Python, Node, or equivalent) that locks/unlocks and reports state over the local network • Step-by-step guide for extracting any required keys or tokens without cloud access • Setup instructions that work on a fresh device • Confirmation—via packet capture or logs—that no outbound traffic is generated I can supply packet captures, serial console logs, and I’m comfortable flashing test builds if that helps. Ideally I’d like this wrapped up within two weeks, but let me know your realistic timeline and any prerequisites. Looking forward to keeping this lock private and fully under my control.
Project ID: 40698729
85 proposals
Remote project
Active 3 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
85 freelancers are bidding on average $127 USD for this job

Hi, I have experience in designing Circuits and can complete your project. I have expertise in the following: 1- Designing schematic and PCBA 2- Ordering the PCBA and getting boards manufactured. 3- Writing firmware for the PCBA to make sure everything works as expected. 4- I can also develop smartphone apps to communicate and control the hardware. If you wish we can discuss in chat. Thank you.
$140 USD in 7 days
7.2
7.2

A Tuya lock kept entirely on the LAN, callable from Home Assistant or a Python script on a Pi. The practical route is Tuya's local protocol with the device's local key rather than reverse engineering from scratch, since tinytuya already speaks it. How I would do it: - Extract the local key for your device, then talk to the lock over local protocol version 3.3 or 3.4 - Small Python service exposing lock, unlock, status and battery over MQTT and HTTP, with cloud access blocked at the firewall to confirm nothing calls home - Home Assistant integration through the MQTT lock entity, so it appears natively - Runs as a systemd service on the Pi, with reconnect logic since locks sleep aggressively I run Python and Node services in production on Linux and Docker. One honest caveat: some Tuya lock firmware refuses local control entirely. I would verify your model first and tell you before you commit. One question: which lock model and firmware version? Martin
$100 USD in 5 days
6.6
6.6

Hi, I can develop a fully local integration for your authorised Tuya smart lock, exposing lock, unlock, state, and battery data through MQTT and/or a small authenticated HTTP API for Home Assistant and Raspberry Pi clients. I’ll first identify the device chipset, firmware, protocol version, and data-point mappings. Depending on the hardware, the implementation may use the supported Tuya LAN protocol or a carefully validated custom-firmware route. Safety controls will include authentication, command confirmation, audit logs, timeouts, and protection against accidental lockout. Testing will cover reconnects, power loss, stale state, malformed commands, and physical/manual operation. Outbound isolation will be verified using firewall rules, DNS logging, and packet capture. Please note that zero-cloud provisioning on a factory-fresh device depends on whether its chipset and firmware expose a local pairing or flashing path. Three technical questions: 1. What is the exact lock model, chipset, firmware version, and Tuya protocol version? 2. Does it connect through Wi-Fi directly, Bluetooth, Zigbee, or a Tuya gateway? 3. Do you have physical recovery access and a spare unit for firmware or serial testing? Best regards, Houssame
$140 USD in 7 days
6.6
6.6

Your lock will phone home every time it checks for firmware updates or syncs state unless you firewall the device and intercept the local protocol before Tuya's SDK can establish an outbound TLS session. That's the risk you're solving for. Quick questions - do you already have the device ID and local key extracted from the Tuya IoT platform, or do you need the full extraction workflow documented? And are you running Home Assistant OS or a standalone Python environment on the Pi? Here's the architectural approach: - TUYA LOCAL PROTOCOL: Reverse-engineer the 3.3 protocol using tinytuya, extract device keys via packet sniffing or Tuya developer account, then build a Python wrapper that sends lock/unlock commands over UDP port 6668 without cloud dependency. - MQTT BRIDGE: Expose lock state and battery level as MQTT topics so Home Assistant auto-discovers the device, then map commands to Tuya's local API using a Node.js or Python service that runs as a systemd daemon on the Pi. - NETWORK ISOLATION: Configure firewall rules that block all outbound traffic from the lock's MAC address except local subnet communication, then validate zero cloud calls using Wireshark or tcpdump logs over a 48-hour test window. I've built similar local-first integrations for 4 IoT devices that manufacturers locked behind cloud APIs. Let's schedule a 15-minute call to confirm your current network setup and whether the lock supports fallback to local mode.
$130 USD in 3 days
7.1
7.1

Hi there, I have carefully reviewed your requirements and understand that the goal is to remove the Tuya cloud dependency completely while preserving lock/unlock control, status reporting, battery information, and reliable Home Assistant/Raspberry Pi integration. With my mechatronics, embedded systems, firmware, and communication-interface experience, I can handle the full local-integration workflow, including protocol analysis, serial/network debugging, MQTT or HTTP API development, Python/Raspberry Pi integration, packet-capture verification, and documentation. I can work directly from your packet captures and serial logs, and I am comfortable testing firmware or alternative local-control approaches where required. The final solution will include clean working code, setup instructions, key/token provisioning steps where applicable, and verification that the lock operates without unwanted outbound cloud traffic. Given my skillset, I can move quickly on this project and target completion within your requested timeframe. Just send me a message with the lock model and available captures/logs so we can get started. Best regards, Samuel tshibangu
$140 USD in 1 day
5.7
5.7

Hi there, I'm Karthik, with over 15 years of experience in IoT and embedded systems. I understand your need for a fully local control solution for your Tuya-based smart lock. I can provide a solid local API integration that allows you to lock, unlock, and monitor the device status, all while ensuring no outbound traffic. My approach will include: - Reverse-engineering the existing Tuya local protocol to extract device keys. - Developing a clean API using Python or Node.js, compatible with Home Assistant or your Raspberry Pi. - Delivering a detailed step-by-step guide for setup and key extraction, ensuring you can operate independently of Tuya's cloud. - Providing confirmation via packet capture that your lock remains local. I can work efficiently within your two-week timeline. Let’s discuss any prerequisites you may have. I’m excited to help you regain control of your smart lock! Best, Karthik
$200 USD in 7 days
5.8
5.8

As a seasoned technologist with a deep understanding of API development, Node.js, and Python, I believe my skills align precisely with what your project demands. I have successfully executed similar projects where I transformed cloud-based systems into robust on-site solutions. With your Tuya-based smart lock, it's crucial to create a clean local API that facilitates all necessary functionalities while eliminating the need for any external communication - a task I'm more than equipped to handle. My experience is not solely limited to programming tasks but extends to providing comprehensive guides and instructions alongside the code I deliver. I can devise step-by-step methodologies for extracting keys or tokens without requiring cloud access, enabling you to maintain full control over your smart lock system. Moreover, my familiarity with Home Assistant and Raspberry Pi will ensure fluid integration and seamless functioning of the local network. Lastly, my approach is not only about solving immediate challenges but also about creating sustainable solutions that stand the test of time. My understanding of complex systems and knack for long-term planning makes me the ideal fit to turn your vision of private and fully controlled smart lock operation into reality. I assure you that my dedication, skillset, and zeal for high-impact digital products will deliver beyond your expectations
$30 USD in 5 days
5.3
5.3

I can create a local API for your Tuya smart lock that allows you to control it entirely within your LAN. My first step will be to analyze the existing communication protocol to identify the necessary keys and commands for local operation. Based in Toronto, I work efficiently and am always available for any questions or updates as we progress.
$50 USD in 3 days
4.9
4.9

Hi, I'm Luigi from Toronto. I appreciate the opportunity, but this project falls outside my core expertise. You need a specialist with deep experience in IoT protocol reverse-engineering — Tuya local API extraction, BLE/MQTT communication, packet capture analysis, and device key extraction without cloud dependency. This is embedded/IoT engineering work, not web or app development. While I understand general API and networking concepts, I don't have the hands-on expertise for reverse-engineering IoT protocols at this level. Wishing you the best in finding the right specialist. Luigi Tady
$200 USD in 2 days
5.0
5.0

Hi, I see you're looking to transition your Tuya-based smart lock to operate solely within your LAN, eliminating any reliance on Tuya's cloud services. This is an exciting challenge and one that I'm well-equipped to handle. With my expertise in Python and API Development, I can help reverse-engineer the Tuya local protocol or wrap native commands in MQTT/HTTP to create a seamless local API. This will ensure you maintain full control over functions like lock, unlock, status checks, and battery level without external dependencies. To get started, could you share more about the current setup of your smart lock system? This will help me tailor the solution precisely to your needs. Looking forward to your response.
$30 USD in 7 days
5.1
5.1

Hi, Python on the Pi is the right fit here since it talks to the lock locally and I do this kind of protocol and API work often. Lets get in contact first.
$30 USD in 3 days
4.5
4.5

Nice to meet you , My name is Anthony Muñoz, I express my interest in working on your project after carefully reading the requirements and concluding that they match my area of knowledge and skills. I am currently the lead engineer for the IT agency DSPro and I have more than 10 years of experience in the field. I have successfully completed a large number of similar jobs and I consider your project to be a challenge in which I would like to work and be able to make it a reality. Please feel free to contact me, it will be my pleasure to help you. I greatly appreciate the time provided and I remain attentive to any questions or concerns. Greetings
$123 USD in 7 days
4.6
4.6

Hello, I saw your project involving a Tuya-based smart lock that you want to move completely away from the cloud, and I really liked the idea of keeping the lock fully private and under your control. What do you think if we reverse-engineer its local protocol, identify the required keys/tokens, and build a clean local API for Home Assistant or your Raspberry Pi? I’m an Electrical/Electronics Engineer with 15+ years of experience in embedded systems, STM32/PIC/ESP32 firmware, networking, PCB design, and industrial automation. I can analyze your packet captures and serial logs, identify the local communication protocol, and implement the required Python/Node solution. I can provide: • Local LAN API for lock/unlock, status and battery level • Key/token extraction and configuration procedure • Fresh-device setup instructions • MQTT/HTTP integration where appropriate • Packet-capture/log verification showing no outbound cloud traffic • Complete source code and technical documentation I’m also comfortable with firmware flashing, serial debugging, protocol analysis, and testing hardware directly. I can target your two-week timeframe, depending on the available device access and captured data. Best regards, Electrical/Electronics Engineer STM32 | Embedded Systems | PCB Design | Motor Control
$90 USD in 4 days
4.4
4.4

As an experienced full-stack developer with a focus on automation systems and API development, I am confident in my ability to meet the unique requirements of your project. From building AI agents and chatbots to handling full production infrastructure and creating robust web applications – I've got it covered. Having successfully completed projects involving complex integrations with multiple tools and technologies, I can provide you with a clean local API in Python, Node.js or any equivalent framework you prefer. My deep understanding of Tuya IoT SDK and exemplary coding skills will allow me to not only unlock and lock the smart lock but also report its state over your local network. Moreover, I understand that maintaining absolute privacy and control over your devices is important to you, which is why I will provide a detailed step-by-step guide for extracting the required keys without compromising your preferences. With my seamless skills in both MQTT/HTTP and Python script development on Raspberry Pi, I'm confident I'm the right person for ensuring this smart lock operates entirely within your Local Area Network.
$30 USD in 1 day
4.5
4.5

As an experienced and highly skilled Python developer, I am confident that I am the right fit for this project. I possess a deep understanding of API integrations, reverse engineering, and protocol wrapping; skills which are squarely aligned with your need for solid local integration work. My expertise in working with systems like Home Assistant and Raspberry Pi further underscores my suitability for this task. My aim is always to deliver clean, well-documented code that aligns with the project's objectives. Alongside the working code you require, I commit to providing you with a detailed guide on extracting any necessary keys or tokens without cloud access and clear setup instructions for future use. Additionally, you can count on me to ensure all outbound traffic is eliminated through packet captures or logs; keeping your lock and information private. Moreover, my fluency in English ensures clarity of communication throughout the project. Having worked extensively with architectural designs and 3D modeling, I understand the intricate nature of your need for control over every aspect of your home. I guarantee your satisfaction through meeting your realistic timeline while providing high-quality deliverables that empower you to keep your Tuya Smart Lock entirely within your LAN. Let's bring peace of mind to your home security, together!
$140 USD in 7 days
4.1
4.1

Hello, keeping your Tuya smart lock fully private is really about replacing cloud dependence with a reliable local control path. I work regularly with Python, API Development, and HTTP, which fits closely with what you’re trying to accomplish. I’d start by reviewing your packet captures, serial logs, and current device setup, then handle local command mapping and a clean Python or Node.js API layer in a structured way, testing lock/unlock, state reporting, and outbound traffic checks as I go rather than leaving validation until the end. The goal would be to deliver a working LAN-only control solution that is private and fully under your control. I can begin right away and should have this completed within two weeks. One thing I’d like to confirm before starting: do you already have the device keys or should I plan around extracting them from your provided captures? Best regards, Miguel
$250 USD in 14 days
3.9
3.9

I have experience with embedded systems, local network protocols, and Python based automation, including working with local API integrations for IoT devices. I’m familiar with the Tuya local key extraction process and tools like TinyTuya, which allow full local control over lock, unlock, status, and battery reporting without any cloud dependency once the local key is pulled. I can deliver working Python code that talks to the lock directly over your LAN, a clear step by step guide for extracting the local key without cloud access, setup instructions for a fresh device, and packet capture confirmation showing zero outbound traffic once configured. Two weeks is realistic for this scope. I would just need the lock model or firmware details and your packet captures to start confirming the exact protocol version in use.
$140 USD in 5 days
3.5
3.5

Hi-Abror Here From Uzbekistan. "Fully Local Tuya Smart Lock Control" - I can build a LAN-only API using local Tuya protocols, Python, MQTT, and HTTP integration. I can analyze packet captures and device behavior, identify local communication requirements, implement lock commands, status, battery reporting, and Home Assistant or Raspberry Pi compatibility. I will provide reproducible setup instructions, isolate cloud dependencies, validate network behavior with logs or captures, and deliver tested code with clear documentation. Can you provide the smart lock model and available packet captures to determine its local protocol? Could you please clarify the following questions to help me better understand the project? : 1. Does the lock currently expose a local IP or Bluetooth interface? 2. Can you provide packet captures from lock and unlock operations? Looking forward to working with you.
$340 USD in 5 days
3.2
3.2

Hi, I can build a LAN-only control layer for your Tuya smart lock that handles lock/unlock, state, battery, and local status checks without any cloud dependency. I’d start by inspecting the packet captures and logs to identify the device’s local protocol path, then implement the control path in Python or Node.js using local socket communication, MQTT, or direct Tuya local-device commands where applicable. If the lock uses encrypted payloads or key extraction is needed, I can document the exact steps and build the local API around the extracted device key/token flow. The setup can be structured so it’s easy to maintain on a Raspberry Pi and simple to expose to Home Assistant or a small HTTP wrapper later. I’ll keep the code modular so commands, polling, and device discovery are separated and easy to update if Tuya changes behavior. For delivery, I’ll validate lock/unlock, status reporting, and battery reads against your test device, then confirm with packet capture or logs that there is no outbound cloud traffic. I’m available in Pakistan timezone and can work directly with your captures, serial logs, and flashed test builds. I’m ready to move forward and deliver the local-only solution you need.
$100 USD in 2 days
3.2
3.2

Hi, I can help build a local-control API for your owned Tuya smart lock so lock/unlock, status, and battery data can be used inside your LAN through Home Assistant or a Raspberry Pi script. The best solution is to first review the lock model, firmware version, LAN behavior, packet captures/logs, and your preferred interface such as MQTT, HTTP, Python, or Node.js. Then I’ll design a clean local service that exposes safe commands, reports state, logs activity, and avoids unnecessary cloud dependency where the device allows it. I’m comfortable with Python, Node.js, MQTT, HTTP APIs, Home Assistant integrations, Raspberry Pi deployment, LAN device control, IoT debugging, packet/log review, state polling, error handling, and setup documentation. Deliverables will include: * Local lock/unlock API * Status and battery reporting * MQTT or HTTP interface * Raspberry Pi setup support * Home Assistant-ready usage notes * Configuration file * Logs for command/status flow * No-cloud traffic verification notes * Step-by-step setup guide * Two-week delivery target I’ll only work on devices you own or are fully authorized to modify, and I’ll avoid unsafe bypasses or anything that weakens physical security. I’ll focus on a reliable local-control setup that is private, documented, and maintainable. Best regards Ankit
$100 USD in 2 days
3.3
3.3

Lahore, Pakistan
Payment method verified
Member since Sep 3, 2014
$30-250 USD
$10 USD
$20 USD
€10 EUR
$30-250 USD
$30-250 CAD
$25-50 USD / hour
₹1500-12500 INR
$15-25 USD / hour
₹1500-12500 INR
£250-750 GBP
$250-750 USD
₹12500-37500 INR
₹750-1250 INR / hour
₹12500-37500 INR
₹12500-37500 INR
$2-8 AUD / hour
₹37500-75000 INR
₹12500-37500 INR
$20000-50000 USD
$250-750 USD
$250-750 USD
₹12500-37500 INR
₹12500-37500 INR
₹12500-37500 INR