You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
#count=0
|
|
while [[ 1 ]]; do
|
|
STR=""
|
|
for i in 0 1 2 3 4; do
|
|
TPC="/Filamentanlage/01_Extruder/state/temp$i"
|
|
STR=$STR" $(mosquitto_sub -h 192.168.5.2 -t $TPC -C 1)"
|
|
done
|
|
#STR=$count" "$STR
|
|
#count=$(($count + 1))
|
|
echo $STR
|
|
sleep 1
|
|
done
|