From de32e2411e7bc2272bcd8535fd9b098a68dffa01 Mon Sep 17 00:00:00 2001 From: simonox Date: Wed, 22 Feb 2023 16:45:44 +0100 Subject: [PATCH] nicer output of simulator --- software/firmware/energy-monitor/00-simulator/simulate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/firmware/energy-monitor/00-simulator/simulate.sh b/software/firmware/energy-monitor/00-simulator/simulate.sh index f0f6677..fd14941 100755 --- a/software/firmware/energy-monitor/00-simulator/simulate.sh +++ b/software/firmware/energy-monitor/00-simulator/simulate.sh @@ -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))