Skip to content

Introduction

Control Tuya-based smart devices locally over LAN through Apple HomeKit.

@nubisco/homebridge-tuya-local-platform communicates directly with Tuya devices on your local network using their Device ID and Local Key — no cloud dependency required.

Features

  • Local LAN control — no Tuya cloud needed after initial key extraction
  • Wide device support — 23 device type handlers covering most Tuya-based products
  • Apple HomeKit integration — full support via Homebridge
  • Adaptive Lighting — supported on compatible light accessories
  • Energy monitoring — power, voltage, and current readings on supported outlets
  • Multi-protocol — supports Tuya protocol versions 3.1, 3.3, and 3.4

Supported Device Types

Type IDDevice CategoryDescription
AirConditionerClimateHeat/cool/auto modes with fan speed control
AirPurifierClimatePurifier with fan speed (Breville, Proscenic, Siguro)
CircuitBreakerMonitorEnergyRead-only circuit breaker telemetry and safety monitoring
ConvectorClimateHeater/cooler with LOW/HIGH fan speed
CustomMultiOutletOutletConfig-driven multi-outlet with custom DP mapping
DehumidifierClimateDehumidifier with target humidity and fan speed
FanFanFan with rotation speed control
FanLightFan + LightCombined fan with lightbulb
GarageDoorGarageGarage door opener with state tracking
MappedHeatPumpHeaterClimateHeat pump with virtual room-to-water temperature mapping
MultiOutletOutletMulti-outlet with debounced power switching
OilDiffuserHumidifier + LightOil diffuser with humidifier and RGB light
OutletOutletSingle outlet with optional energy monitoring
RGBTWLightLightFull RGB + tunable white with adaptive lighting
RGBTWOutletOutlet + LightOutlet combined with RGBTW light
SimpleBlindsWindow CoveringTime-based blind position tracking
SimpleDimmerLightLightbulb with brightness control
SimpleDimmer2LightAlternative dimmer (DP 3 brightness)
SimpleHeaterClimateBasic heater/cooler
SimpleLightLightBasic on/off lightbulb
SwitchSwitchMulti-switch with debounced power
TWLightLightTunable white with adaptive lighting
WaterValveValveValve with timer support

See Supported Device Types for detailed configuration parameters and examples for each device.

Requirements

Released under the MIT License.