Ross ROSS = Recommend OSS · open-source software intelligence for agents

codetheweb/tuyapi

🌧 An easy-to-use API for devices that use Tuya's cloud services. Documentation: https://codetheweb.github.io/tuyapi. observed · 2026-08-28

github.com/codetheweb/tuyapi · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

44/100

  • Activity 46
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3234
  • days_rel: 604
  • days_push: 328
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

2319 stars · 353 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

TuyAPI is a Node.js library that provides an easy-to-use API for communicating with smart devices built on Tuya's protocol, such as plugs, switches, and lights sold under many brand names. It supports discovering devices on the local network, connecting, and reading or setting their data points either via events or synchronous calls, largely without depending on Tuya's cloud.

Use cases

  • control Tuya smart plugs and switches from Node.js
  • communicate with Tuya devices over the local network instead of the cloud
  • read the current status of Tuya-branded smart home devices
  • toggle smart home devices programmatically in automation scripts
  • build custom integrations for Tuya-compatible IoT devices
  • work with devices that respond on port 6668 or work with the TuyaSmart app

When to choose

  • your project is in JavaScript/Node.js and talks to Tuya-compatible hardware
  • you want low-latency local control of devices without routing through Tuya's cloud
  • you need an event-driven or promise-based API to get and set device data points
  • you are building a custom smart home integration, bridge, or automation tool

When to avoid

  • your devices are not Tuya-based or do not work with the TuyaSmart app
  • you need full official cloud features like scheduling, scenes, or device provisioning
  • you want a polished end-user app rather than a developer library
  • your stack is not Node.js and you cannot integrate a JavaScript dependency

Facets

library · maturity stable

iot sdk iot tuya smart-home home-automation local-control device-protocol smart-plugs smart-switches javascript-library event-based-api automation nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
codetheweb/tuyapimain44

For agents

markdown · JSON · MCP: product_card(name="codetheweb/tuyapi")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem