fixed psk
authortelegnom <max@chaos.expert>
Thu, 23 Jul 2015 17:48:00 +0000 (19:48 +0200)
committertelegnom <max@chaos.expert>
Thu, 23 Jul 2015 17:48:00 +0000 (19:48 +0200)
climate.sh

index 0231454..4212074 100755 (executable)
@@ -1,7 +1,7 @@
-#! /usr/bin/env bash
+#!/usr/bin/env bash
 
 humitempfile="/dev/shm/humitemp.log"
 
 humitemp="$(head -n 1 $humitempfile)"
 
-mosquitto_pub -h strom.ccc-ffm.de -i hqhumitemp_hqremotecontrol -t /hq/climate/humitemp -m "$humitemp"
+mosquitto_pub -h strom.ccc-ffm.de --psk 4a4e1c01e4a2641b3905272685b20d99 --psk-identity hq -t /hq/climate/humitemp -m "$humitemp"