homebridge-sonoff-outlet-tasmota-http

Control Sonoff Basic devices with Tasmota >5.10.0b firmware through Homebridge

Usage no npm install needed!

<script type="module">
  import homebridgeSonoffOutletTasmotaHttp from 'https://cdn.skypack.dev/homebridge-sonoff-outlet-tasmota-http';
</script>

README

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",
  "pass": "The password from the web interface",
  "hostname": "The hostname of the Sonoff device"
}