Skip to content

Instantly share code, notes, and snippets.

@newhinton
newhinton / 2282.yaml
Created June 25, 2022 13:52
SmartIR Config for TuyaIRBlaster and Hantech Climate Device
{
"manufacturer": "Hantech",
"supportedModels": [
"A016-09KR2"
],
"supportedController": "MQTT",
"commandsEncoding": "Raw",
"minTemperature": 16.0,
"maxTemperature": 31.0,
"precision": 1.0,
#!/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
#!/bin/bash
MSGIDAPPENDIX="appid"
TOKEN="apptoken"
DELTOKEN="clienttoken"
URL="url to gotify"
TITLE=$1
MESSAGE=$2