homebridge-tasmota-ts

1.3.2 • Public • Published

Homebridge-Tasmota-TS

npm version donate

Gosund SP111 A V1.1

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

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.

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

Package Sidebar

Install

npm i homebridge-tasmota-ts

Weekly Downloads

259

Version

1.3.2

License

none

Unpacked Size

79.2 kB

Total Files

16

Last publish

Collaborators

  • sinclair81