tasmota hvac command to control AC
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 1 Aug 2019 08:49:51 +0000 (10:49 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 1 Aug 2019 08:49:51 +0000 (10:49 +0200)
ac-off.sh [new file with mode: 0644]
ac-on.sh [new file with mode: 0644]

diff --git a/ac-off.sh b/ac-off.sh
new file mode 100644 (file)
index 0000000..d21f9bc
--- /dev/null
+++ b/ac-off.sh
@@ -0,0 +1,2 @@
+mosquitto_pub -h rpi2 -t 'cmnd/ir/irhvac' -m '{ "Vendor": "Mitsubishi", "Power": 0}'
+
diff --git a/ac-on.sh b/ac-on.sh
new file mode 100644 (file)
index 0000000..8f81feb
--- /dev/null
+++ b/ac-on.sh
@@ -0,0 +1,2 @@
+mosquitto_pub -h rpi2 -t 'cmnd/ir/irhvac' -m '{ "Vendor": "Mitsubishi", "Power": 1, "Mode":"Cold", "Temp": 25}'
+