Skip to content

Instantly share code, notes, and snippets.

@suhlig
Created June 9, 2023 10:18
Show Gist options
  • Save suhlig/ee551d3c89e8b39e64f29c18bbc47364 to your computer and use it in GitHub Desktop.
Save suhlig/ee551d3c89e8b39e64f29c18bbc47364 to your computer and use it in GitHub Desktop.
Discover Tasmota devices using MQTT
timeout 2 \
mosquitto_sub \
--url 'mqtts://user:[email protected]/tasmota/discovery/+/config' \
-F %J \
| jq -r '[ .payload.dn, .payload.ip ] | join(" => ")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment