Skip to content

Instantly share code, notes, and snippets.

@suhlig
Created June 9, 2023 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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:password@mqtt.example.com/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