|
71.
|
|
|
Use the --will-retain, -will-payload and --will-qos arguments to modify the other will parameters.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:232(para)
|
|
72.
|
|
|
Examples
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:237(title)
|
|
73.
|
|
|
Publish temperature information to localhost with QoS 1:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:238(para)
|
|
74.
|
|
|
mosquitto_pub -t sensors/temperature -m 32 -q 1
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:240(para)
|
|
75.
|
|
|
Publish timestamp and temperature information to a remote host on a non-standard port and QoS 0:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:242(para)
|
|
76.
|
|
|
mosquitto_pub -h 192.168.1.1 -p 1885 -t sensors/temperature -m "1266193804 32"
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:244(para)
|
|
77.
|
|
|
Publish light switch status. Message is set to retained because there may be a long period of time between light switch events:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:246(para)
|
|
78.
|
|
|
mosquitto_pub -r -t switches/kitchen_lights/status -m "on"
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:248(para)
|
|
79.
|
|
|
Send the contents of a file in two ways:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:250(para)
|
|
80.
|
|
|
mosquitto_pub -t my/topic -f ./data
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:252(para)
|