Script to confirm a Temperaturdifferenz alarm master
authorChristian Weiske <cweiske@cweiske.de>
Sun, 26 Aug 2018 08:56:21 +0000 (10:56 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 26 Aug 2018 08:56:21 +0000 (10:56 +0200)
confirm-alarm [new file with mode: 0755]

diff --git a/confirm-alarm b/confirm-alarm
new file mode 100755 (executable)
index 0000000..d889276
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+# confirm an alarm on the dimplex WPM, e.g. "Temperaturdifferenz"
+# FIXME: find out how to do this with /usr-cgi/query.cgi
+set -e
+ipaddress=192.168.20.71
+# ?script:var(0,1,79,1,1)=1
+
+curl -sS -XPOST\
+    --data '%3Fscript%3Avar%280%2C1%2C79%2C1%2C1%29=1'\
+    --output /dev/null\
+    "$ipaddress/http/index/h_service.html"