1.2.0 • Published 7 months ago

homebridge-tasmota-ts v1.2.0

Weekly downloads
10
License
-
Repository
-
Last release
7 months ago

Homebridge-Tasmota-TS

npm version donate

Control your WLan sockets that are flashed with the Tasmota firmware.

Type of Accessory:

  • Switch
  • Lightbulb
  • Outlet

Installation

  1. Install homebridge using instruction from: Homebridge WiKi
  2. Install this plugin in your homebridge
  3. Update your configuration file with code like the sample below

Homebridge-Tasmota-TS Main Configuration Parameters

NameValueRequiredNotes
accessory"Tasmota-TS"yesMust be set to "Tasmota-TS".
name(custom)yesName of accessory that will appear in homekit app.
device"Generic"noA Device String e.g. "Gosund SP111 A V1.1" or "SMAHO WiFi Plug"
ip"10.0.0.100"yesMust be set to the IP of your Tasmota Device.
relais1noRelais Number - default is 1
user"none"noMust be set to the WebUsername - default WebUsername = admin.
password"none"noMust be set to the WebPassword .
updateInterval0noAuto Update Interval in milliseconds, 0 = Off
debugMsgLog0no1 - Displays messages of accessories in the log.
type"switch"noType 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.

Test Homebridge-Tasmota-TS

  1. Download or clone Homebridge-Tasmota-TS.
  2. Install: $ npm install
  3. Build: $ npm run build
  4. Run: $ homebridge -D -P ~/Homebridge-Tasmota-TS

Flash Tasmota Firmware

  • 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
1.2.0

7 months ago

1.1.3

7 months ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.1.0

4 years ago