typo
This commit is contained in:
parent
6b103f397b
commit
8065beb583
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo Publishing random values to topic '/iot-platform/energy-monitor/test-device‘
|
echo Publishing random values to topic '/iot-platform/energy-monitor/test-device'
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
mosquitto_pub -h localhost -p 1883 -t '/iot-platform/energy-monitor/test-device/watt' -m $((1 + $RANDOM % 10 * 500))
|
mosquitto_pub -h localhost -p 1883 -t '/iot-platform/energy-monitor/test-device/watt' -m $((1 + $RANDOM % 10 * 500))
|
||||||
|
|
Loading…
Reference in a new issue