Universal Tuya docsHomeSupported devicesRequest a deviceFAQChangelogArchitectureKnowledge baseCreditsSourcesContributing

Performance helpers, protocol helpers, profiles and pairing pieces (hand-written reference)

Written 2026-11-15 for the documentation coverage work (P3290, queue item 5), continuing MODULES_MANAGERS_MIXINS_AND_PAIRING. Each entry says in our own words what the module is for, how it is bounded and where it is wired. "Importers" counts the other files under lib/, drivers/ and app.js that require() it on master at the time of writing; 0 means nothing loads the module today (kept for reference, candidate for a later review, never removed without a check). Modules only reached through lib/performance/index.js or lib/pairing/index.js count that index as their single importer.

Battery and pairing

Performance helpers (lib/performance/)

All five are classes exported through lib/performance/index.js; none is wired into a device by default today. They are bounded building blocks for the limiter work (queues, budgets, rotation), each with its own stats.

Declarative profiles

Protocol helpers (lib/protocol/)

← Knowledge base index · source