homebridge-tasmota-commands

[![npm version](https://badge.fury.io/js/homebridge-tasmota-commands.svg)](https://www.npmjs.com/package/homebridge-tasmota-commands)


Keywords
homebridge-plugin, homebridge, nodejs, tasmota
License
MIT
Install
npm install homebridge-tasmota-commands@0.2.0

Documentation

Tasmota Commands

NOTE: Still under development, the first stable version will be version 1.0.0

Release Testing CI

Overview

tasmota-commands is a monorepo for node.js modules that allow you to easily control Tasmota devices. Still in early development, so only supports a few commands are supported.

Packages

Package Description Npm
tasmota-commands-core Core functionality npm version
tasmota-commands-http Send commands with http npm version
tasmota-commands-mqtt Send commands with mqtt npm version
homebridge-tasmota-commands Homebridge plugin npm version

Installation

Homebridge plugin

Tasmota Commands

  1. Install core package npm install tasmota-commands-core or yarn add tasmota-commands-core
  2. Install either the tasmota-commands-http or tasmota-commands-mqtt to send commands or create your custom commandHandler.
  3. Create TasmotaCommandsHttp or TasmotaCommandsMqtt instance and start controlling your Tasmota device

Example usage

  1. Install packages npm install tasmota-commands-core tasmota-commands-http

  2. Create TasmotaCommandsHttp instance and send power command:

const commands = new TasmotaCommandsHttp({ address: '127.0.0.1' });
commands.Control.setPower0('on');

Roadmap

  • Packages
    • Core
      • Commands
        • Control
          • Power0
          • More...
        • Management
          • State
          • More...
        • Light
          • Dimmer
          • CT
          • More..
        • More...
      • State
        • Basic state management
        • Better state management
          • Correct typings
          • Validation
          • More..
        • Option to refresh state periodically in background
    • [] Http
      • Basic http support
      • More configuration options
    • [] Mqtt
      • Basic mqtt support
      • More configuration options
    • Homebridge plugin
      • Option to refresh state periodically in background
      • Switch
        • On/off
      • Lightbulb
        • On/off
        • Brightness
        • Brightness and Color Temperature
        • RGB
      • Custom
        • Set device type
        • Set characteristics
  • Other
    • Update documentation
    • Generated api documentation
    • Build CJS and ESM modules
    • Versioning management with Changesets
    • Add package exports integrity tests

Contribution

Before creating an issue, please make sure that it hasn't already been reported. See contribution guide if you'd like to contribute.

License

MIT