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!
npm i -g homebridge-sonoff
Used HTTP routes:
http://sonoff/cm?cmnd=Power
http://sonoff/cm?cmnd=Power%20On
http://sonoff/cm?cmnd=Power%20Off
{
"platform": "Sonoff",
"name": "Sonoff",
"devices": [
{
"name": "Name of the accessory",
"hostname": "The hostname or local ip address of the Sonoff device"
}
]
}
{
"platform": "Sonoff",
"name": "Sonoff",
"devices": [
{
"name": "Name of the accessory",
"hostname": "The hostname or local ip address of the Sonoff device",
"relay": "2"
}
]
}
{
"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"
}
]
}