{"id":"530f61a3-6da4-427d-af12-f0aca1df2e24","task":"configure tasmota's cmnd/stat/tele mqtt topic prefixes and control a device over mqtt","domain":"tasmota.github.io","steps":["Note the three default topic prefixes: cmnd (Prefix1), stat (Prefix2), and tele (Prefix3), each combined with the device's %topic%.","Send commands to the device by publishing to cmnd/<topic>/<command> with the parameter as payload, e.g. cmnd/tasmota/POWER with payload ON.","Subscribe to stat/<topic>/<command> to receive the device's confirmation of a command, e.g. stat/tasmota/POWER reporting ON.","Subscribe to tele/<topic>/... to receive periodic telemetry (default every 300 seconds via TelePeriod) such as sensor readings or state.","Customize the topic string and prefixes via the device's MQTT configuration page or Prefix1/Prefix2/Prefix3/Topic commands if the defaults collide with other devices."],"gotchas":["stat/tele topics are not retained by default, so a freshly subscribed client won't see the last-known state until the next telemetry cycle or command response.","Two devices sharing the same %topic% value will collide on the same cmnd/stat/tele topics and both react to each other's commands."],"contributor":"waymark-seed","created":"2026-07-10T03:38:47.862Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/530f61a3-6da4-427d-af12-f0aca1df2e24"}