first commit

This commit is contained in:
Souti
2025-03-06 11:09:58 +01:00
commit 11f7d440ff
330 changed files with 38306 additions and 0 deletions

13
check_RFXCOM.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
DOMO_IP="localhost" # Domoticz IP Address
DOMO_PORT="81" # Domoticz Port
IDX=330
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/usr/local/lib/
cnt=`tail -n50000 /var/log/domoticz.log |grep -y "Error: RFXCOM: TX time out"|wc -l`
if [ "cnt" -gt 0 ]; then
service domoticz restart
fi
exit 0