This commit is contained in:
2022-04-21 09:32:57 +02:00
parent a09fd25462
commit bcc945137c
9 changed files with 121 additions and 0 deletions

10
shelly_log Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
source $(dirname $0)/shelly.conf
LOGFILE=$SHELLY_HOST.log
while true; do
echo -e "\n======================================================================\n" | tee -a ${LOGFILE}
nc -u -k -l $UDP_LOG_PORT | tee -a ${LOGFILE}
done