Skills von pixel: tasmota/SKILL.md tasmota/references tasmota/scripts
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
---
|
||||
name: tasmota-mqtt
|
||||
version: 1.0.0
|
||||
---
|
||||
# Tasmota MQTT Topic Structure
|
||||
|
||||
## Default topics
|
||||
| Direction | Topic Pattern | Description |
|
||||
|-----------|---------------|-------------|
|
||||
| Publish (command) | `cmnd/tasmota-<name>/<command>` | e.g. `cmnd/tasmota-switch/Power ON` |
|
||||
| Publish (status) | `stat/tasmota-<name>/POWER` | e.g. `stat/tasmota-switch/POWER = ON` |
|
||||
|
||||
## Example MQTT messages
|
||||
```json
|
||||
# Command topic
|
||||
{ "Power": "ON" }
|
||||
```
|
||||
```json
|
||||
# Status topic
|
||||
{ "POWER": "ON" }
|
||||
```
|
||||
|
||||
## Broker setup in Tasmota
|
||||
1. Configure MQTT broker address in Tasmota web interface → Configuration → MQTT
|
||||
2. Set client name, username/password if required
|
||||
3. Subscribe to `stat/#` to receive status updates
|
||||
4. Publish to `cmnd/...` to send commands
|
||||
|
||||
## When to use MQTT instead of HTTP
|
||||
- When integrating with Home Assistant or other MQTT-native platforms
|
||||
- When you want local-network-only command without internet exposure
|
||||
- When running a dedicated MQTT broker (mosquitto, EMQX, etc.)
|
||||
",
|
||||
Reference in New Issue
Block a user