This commit is contained in:
2025-01-28 22:35:30 +00:00
parent 8a10a2b28b
commit 402f5f7128
7 changed files with 809 additions and 1 deletions

4
hass/cleanmqtt.sh Executable file
View 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