This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manufacturer": "Hantech", | |
"supportedModels": [ | |
"A016-09KR2" | |
], | |
"supportedController": "MQTT", | |
"commandsEncoding": "Raw", | |
"minTemperature": 16.0, | |
"maxTemperature": 31.0, | |
"precision": 1.0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#run as user for notifications | |
if [ "$(id -u)" -eq 0 ]; then | |
echo "Do not run as root!"; | |
exit 1 | |
fi | |
TIMEDIFF=82800 #23h, 24h=86400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
MSGIDAPPENDIX="appid" | |
TOKEN="apptoken" | |
DELTOKEN="clienttoken" | |
URL="url to gotify" | |
TITLE=$1 | |
MESSAGE=$2 |