Tasmota Commands
NOTE: Still under development, the first stable version will be version 1.0.0
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
Installation
Homebridge plugin
Tasmota Commands
- Install core package
npm install tasmota-commands-core
oryarn add tasmota-commands-core
- Install either the
tasmota-commands-http
ortasmota-commands-mqtt
to send commands or create your custom commandHandler. - Create
TasmotaCommandsHttp
orTasmotaCommandsMqtt
instance and start controlling your Tasmota device
Example usage
-
Install packages
npm install tasmota-commands-core tasmota-commands-http
-
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...
-
Control
-
State
- Basic state management
-
Better state management
- Correct typings
- Validation
- More..
- Option to refresh state periodically in background
-
Commands
- [] 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
-
Core
- 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