example of irsend for tasmota
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 30 Jul 2019 08:43:46 +0000 (10:43 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 30 Jul 2019 08:43:46 +0000 (10:43 +0200)
ir.sh [new file with mode: 0755]

diff --git a/ir.sh b/ir.sh
new file mode 100755 (executable)
index 0000000..4ed0748
--- /dev/null
+++ b/ir.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+mosquitto_pub -h rpi2 -q 2 -t cmnd/ir/IRSend -m '{"protocol": "NEC","bits": 32, "data": 0x20DF10EF}'