homebridge-tasmota-matter
v0.0.6
Published
Control Tasmota Devices Using Matter
Maintainers
Readme
Homebridge Tasmota Matter
This Homebridge plugin can controll Tasmota devices connected to a MQTT broker using Matter.
Devices flashed with Tasmota firmware (Outlet Switch, Lightbulb, RGB Stripe, Button, Contact Sensor, Valve, Lock Mechanism, Sensor, etc.) are suported directly.
Installation
- Flash your device(s) with Tasmota
- Install homebridge
npm install -g homebridge - Install the plugin
npm install -g homebridge-tasmota-matter - Alternatively use the great Homebridge Config UI X plugin to install and configure
Configuration
{
"name": "TasmotaMatter",
"tasmotaDevices": [
{
"topic": "sonoff",
"type": "SWITCH",
"name": "SonoffTM"
},
{
"topic": "sonoff",
"type": "SENSOR",
"name": "SonoffTM TH Sensor"
},
{
"topic": "sonoff-4ch",
"type": "SWITCH",
"index": 2,
"name": "Sonoff 4CH Channel 2"
}
],
"mqttBroker": "raspi2",
"logTimeouts": false,
"logUnexpected": false,
"platform": "TasmotaMatter"
}tasmotaDevices - Tasmota flashed devices
topic- Topic to control the device as configured in the "Configure MQTT" menu on the device web interface.type- Device type (SWITCH,LIGHTBULB,BUTTON,CONTACT,VALVE,LOCK,SENSOR,CUSTOM, etc.).index- (optional) Optional index used to control the device (POWER1,POWER2,Switch1,Switch2, etc.).custom- (optional) Custom device definition (whentype='CUSTOM') as a JSON string.name- Accessory name to be used in the Home application. Should be unique.
mqttBroker - MQTT Broker hostname if not localhost.
mqttUsername - MQTT Broker username if password protected.
mqttPassword - MQTT Broker password if password protected.
zigbee2tasmotaTopic - Zigbee2Tasmota gateway/bridge base topic (default: zbbridge).
zigbee2mqttTopic - Zigbee2MQTT gateway/bridge base topic (default: zigbee2mqtt).
logTimeouts - (optional) Log MQTT command response timeouts (default: false).
logUnexpected - (optional) Log unexpected response messages while waiting for an MQTT command response (default: false).
