Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Control Sonoff Basic devices with Tasmota firmware through Homebridge

License

Notifications You must be signed in to change notification settings

AlexanderBabel/homebridge-sonoff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-sonoff

NPM version

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

You need Tasmota v5.11.0 or higher if you want to use this plugin!

Demo

Installation

npm i -g homebridge-sonoff

Information

Used HTTP routes:

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

Example config

{
  "platform": "Sonoff",
  "name": "Sonoff",
  "devices": [
    {
      "name": "Name of the accessory",
      "hostname": "The hostname or local ip address of the Sonoff device"
    }
  ]
}

Multiple Relays

{
  "platform": "Sonoff",
  "name": "Sonoff",
  "devices": [
    {
      "name": "Name of the accessory",
      "hostname": "The hostname or local ip address of the Sonoff device",
      "relay": "2"
    }
  ]
}

Password specified in Web Interface

{
  "platform": "Sonoff",
  "name": "Sonoff",
  "devices": [
    {
      "name": "Name of the accessory",
      "hostname": "The hostname or local ip address of the Sonoff device",
      "password": "The password from the web interface"
    }
  ]
}

About

Control Sonoff Basic devices with Tasmota firmware through Homebridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%