RepositoryPythonINẤn Độ
vineetchoudhary

vineetchoudhary/tuya-local-key

Get tuya local keys and complete device information for every tuya device via QR code login (no tuya Developer account required). Features a Web UI for Home Assistant and Docker, plus a CLI.

67sao
2fork
0issue
0lượt xem

🔑 Tuya Local Key — Lấy local key thiết bị Tuya qua QR code, không cần tài khoản developer

Lấy local key và thông tin đầy đủ cho mọi thiết bị Tuya qua đăng nhập QR, hỗ trợ Web UI, Docker và CLI.

Tuya Local Key giúp bạn lấy local key cùng thông tin thiết bị như ID, UUID, chi tiết sản phẩm, danh mục, trạng thái online và các data point từ tài khoản Smart Life / Tuya. Dự án sử dụng đăng nhập QR qua SDK chính thức của Tuya, kết hợp Home Assistant public device-sharing app registration — không cần tạo tài khoản IoT developer, cloud project hay Access ID/Secret.

✨ Điểm nổi bật

  • Web UI đăng nhập QR: hỗ trợ đăng nhập, danh sách thiết bị, lọc, sao chép local key, làm mới, đăng xuất và xuất CSV.
  • Chi tiết thiết bị đầy đủ: hiển thị mọi trường SDK trả về, bao gồm giá trị data point, spec và ánh xạ ID local.
  • CLI cùng luồng đăng nhập QR: sử dụng qua terminal.
  • Cache phiên đăng nhập: không cần quét QR lại mỗi lần.
  • Cache danh sách mã hóa: danh sách thiết bị được lưu qua khởi động lại.
  • Phát hiện thay đổi: theo dõi local key quay vòng và phiên bản giao thức mạng.
  • Quét mạng: tìm IP local và phiên bản giao thức Tuya (3.1, 3.3, 3.4, 3.5, device22), hỗ trợ qua VLAN.
  • Docker & Docker Compose: triển khai nhanh với hình ảnh GHCR đa kiến trúc.
  • Hỗ trợ Home Assistant app: cài đặt qua App Store trên HA OS.

💡 Vì sao đáng chú ý

Thay vì phải tạo tài khoản developer phức tạp và cấu hình cloud project, Tuya Local Key cho phép lấy local key ngay qua QR code — tiết kiệm thời gian và bớt bước cấu hình. Đặc biệt hữu ích cho người dùng Home Assistant muốn tích hợp thiết bị Tuya local mà không cần qua cloud.


#HomeAssistant #IoT #Tuya #LocalKey #Docker #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryGo
IceWhaleTech/CasaOS

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

37.4k
Sep 28, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

208.6k
Oct 25, 2026
RepositoryPython
home-assistant/operating-system

:beginner: Home Assistant Operating System

7.6k
Oct 20, 2026
RepositoryPython
al-one/hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成

6.2k
Oct 23, 2026
RepositoryPython
make-all/tuya-local

Local support for Tuya devices in Home Assistant

3.6k
Oct 20, 2026
RepositoryPython
FlagX/ha-ledvance-tuya-resync-localkey

pyscript for homeassistant to resync local keys from private tuya api

202
Oct 17, 2026
RepositoryPython
blakadder/tuya-uncover

List devices from Tuya OEM apps and reveal their local keys and uuid

57
Feb 23, 2025
RepositoryC
arendst/Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

24.9k
Oct 20, 2026
RepositoryC++
esphome/esphome

ESPHome is a system to control your ESP32, ESP8266, BK72xx, RP2040 by simple yet powerful configuration files and control them remotely through Home Automation systems.

11.9k
Oct 23, 2026