Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.23 KB

File metadata and controls

50 lines (38 loc) · 1.23 KB

homebridge-sonoff-tasmota-http

This is a plugin for homebridge which makes it possible to control Sonoff Basic devices with Tasmota firmware through HTTP only

The Tasmota compatible version of the plugin is 5.11.0 and later

If you need compatibility with previous Tasmota versions, fork this commit: https://github.com/ageorgios/homebridge-sonoff-tasmota-http/tree/6f73a32fd8ae01f16813f8f0bd3844d3da469e4d

Information

http://sonoff/cm?cmnd=Power
http://sonoff/cm?cmnd=Power%20On
http://sonoff/cm?cmnd=Power%20Off

Example config

{
  "accessory": "SonoffTasmotaHTTP",
  "name": "Sonoff",
  "hostname": "The hostname of the Sonoff device"
}

Multiple Relays

{
  "accessory": "SonoffTasmotaHTTP",
  "name": "Sonoff",
  "relay": "2",
  "hostname": "The hostname of the Sonoff device"
}

Password specified in Web Interface

{
  "accessory": "SonoffTasmotaHTTP",
  "name": "Sonoff",
  "password": "The password from the web interface",
  "hostname": "The hostname of the Sonoff device"
}

Cache

Original plug-in was failing a lot in getState/setState with 'No response', adding cache helps to alleviate that.