Skip to content

Instantly share code, notes, and snippets.

@rfaita
Created July 23, 2020 18:36
Show Gist options
  • Save rfaita/6147777a27f85a50552a4d8d693ab0cd to your computer and use it in GitHub Desktop.
Save rfaita/6147777a27f85a50552a4d8d693ab0cd to your computer and use it in GitHub Desktop.
mosquitto_pub
mosquitto_pub -t /sensor -m "{"id":"1", "tenantId":"1", "token":"123", "timestamp":$(date +"%s000"), "temperature":10.0}" -u guest -P guest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment