Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:mqtt_as [2020/08/18 08:36] – [mqtt_as.py] darron | tools:mqtt_as [2020/08/18 23:41] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 215: | Line 215: | ||
==script== | ==script== | ||
- | Subscribe the result | + | Subscribe |
< | < | ||
#! /bin/bash | #! /bin/bash | ||
- | while : | + | mosquitto_sub -h 192.168.0.13 -t result |
- | do | + | |
- | | + | |
- | sleep 5 | + | |
- | done | + | |
</ | </ | ||
==Shell output== | ==Shell output== | ||
- | Running status for result. | + | Running status for the result |
< | < | ||
Line 239: | Line 235: | ||
==script== | ==script== | ||
- | publish | + | Publish |
< | < | ||
Line 255: | Line 251: | ||
==ESP32 output== | ==ESP32 output== | ||
- | Running | + | Show running |
< | < |