npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-tasmota-ts

v1.3.2

Published

Homebridge-Tasmota-TS! >>> $ npm run <scripts>

Downloads

68

Readme

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

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