grafana
This commit is contained in:
4
hass/cleanmqtt.sh
Executable file
4
hass/cleanmqtt.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
echo "cleaning " $1 " :: usage: cleanmqtt <host>"
|
||||
mosquitto_sub -h $1 -t "#" -v --retained-only | while read line; do mosquitto_pub -h $1 -t "${line% *}" -r -n; done
|
||||
|
||||
Reference in New Issue
Block a user