Control your WLan sockets that are flashed with the Tasmota firmware.
Type of Accessory:
- Switch
- Lightbulb
- Outlet
- Install homebridge using instruction from: Homebridge WiKi
- Install this plugin in your homebridge
- Update your configuration file with code like the sample below
Name | Value | Required | Notes |
---|---|---|---|
accessory |
"Tasmota-TS" | yes | Must be set to "Tasmota-TS". |
name |
(custom) | yes | Name of accessory that will appear in homekit app. |
device |
"Generic" | no | A Device String e.g. "Gosund SP111 A V1.1" or "SMAHO WiFi Plug" |
ip |
"10.0.0.100" | yes | Must be set to the IP of your Tasmota Device. |
relais |
1 | no | Relais Number - default is 1
|
user |
"none" | no | Must be set to the WebUsername - default WebUsername = admin . |
password |
"none" | no | Must be set to the WebPassword . |
updateInterval |
0 | no | Auto Update Interval in milliseconds, 0 = Off |
debugMsgLog |
0 | no |
1 - Displays messages of accessories in the log. |
type |
"switch" | no | Type of Accessory: "switch" , "lightbulb" or "outlet" - default is "switch"
|
"accessories": [
{
"accessory": "Tasmota-TS",
"name": "WLan socket 1",
"device": "SMAHO WiFi Plug",
"ip": "10.0.0.100",
"updateInterval": 30000,
"debugMsgLog": 1,
"type": "switch"
},
{
"accessory": "Tasmota-TS",
"name": "WLan socket 2",
"device": "Gosund SP111 A V1.1",
"ip": "10.0.0.101",
"relais": 1,
"user": "admin",
"password": "12345",
"updateInterval": 30000,
"debugMsgLog": 1,
"type": "switch"
}
]
The plugin that this one is based on: Homebridge-Logo-TS.
You can also view the full list of supported HomeKit Services and Characteristics in the HAP-NodeJS protocol repository.
- Download or clone Homebridge-Tasmota-TS.
- Install:
$ npm install
- Build:
$ npm run build
- Run:
$ homebridge -D -P ~/Homebridge-Tasmota-TS
- Firmware Binary
- NodeMCU-PyFlasher
- Tasmota Firmware Wiki
- Power Monitoring
- Gosund SP111 A V1.1 - Tasmota Config:
{"NAME":"Gosund SP111 A V1.1","GPIO":[57,255,56,255,132,134,0,0,131,17,0,21,0],"FLAG":0,"BASE":45}
- SMAHO WiFi Plug - Tasmota Config:
{"NAME":"SMAHO WiFi Plug","GPIO":[17,0,0,0,134,132,0,0,131,56,21,0,0],"FLAG":0,"BASE":18}
- Set Voltage:
http://10.0.0.100/cm?cmnd=VoltageSet 230
[in Volt] - Set CurrentSet:
http://10.0.0.100/cm?cmnd=CurrentSet 326
[in milli Amper] - Set Power:
http://10.0.0.100/cm?cmnd=PowerSet 75
[in Watt] - Disable status LED blinking during Wi-Fi and MQTT connection problems:
http://10.0.0.100/cm?cmnd=SetOption31 1