Skip to content

Homebridge plugin to control Tasmota Switch for an UP/DOWN motor (like a window)

License

Notifications You must be signed in to change notification settings

ageorgios/homebridge-tasmota-mqtt-motor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-tasmota-mqtt-motor

This is a plugin for homebridge to interface with Tasmota Firmware

Uses HTTP for sending commands and MQTT for listening for button presses and updating state

Switch2 is used for going UP, Switch1 is used for going DOWN

Before starting homebridge, sonoff has to be online to ensure some tasmota options (with http), else it doesnt accept commands.

Requirements

A Sonoff with Tasmota firmware (like a Sonoff T1 2CH) v5.11+

Homebridge Server

MQTT Server

Configure Tasmota to connect to the MQTT server

Tasmota + Homebridge + MQTT should be on the same LAN

Example config

    {
      "accessory": "TasmotaMotorMQTT",
      "name": "Window",
      "hostname": "sonoff-7442",
      "secondsDown": 20,
      "secondsUp": 20,
      "topicStatusGetUP" : "stat/sonoff-7442/POWER2",
      "topicStatusGetDOWN" : "stat/sonoff-7442/POWER1"
    },

About

Homebridge plugin to control Tasmota Switch for an UP/DOWN motor (like a window)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published