nicer output of simulator

This commit is contained in:
simonox 2023-02-22 16:45:44 +01:00
parent 7cf4ea9f91
commit de32e2411e
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/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/watt'
while true
do
mosquitto_pub -h localhost -p 1883 -t '/iot-platform/energy-monitor/test-device/watt' -m $((1 + $RANDOM % 10 * 500))