Created
July 23, 2020 18:36
-
-
Save rfaita/6147777a27f85a50552a4d8d693ab0cd to your computer and use it in GitHub Desktop.
mosquitto_pub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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