From 99c3af4aed7da0e40f86e6a3c8d3e2cd1f87a648 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Wed, 8 May 2019 16:00:19 -0400 Subject: [PATCH] Created Receiving Infrared Remote Control Data (markdown) --- Receiving-Infrared-Remote-Control-Data.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Receiving-Infrared-Remote-Control-Data.md diff --git a/Receiving-Infrared-Remote-Control-Data.md b/Receiving-Infrared-Remote-Control-Data.md new file mode 100644 index 00000000..2cbcb35f --- /dev/null +++ b/Receiving-Infrared-Remote-Control-Data.md @@ -0,0 +1,7 @@ +An inexpensive IR sensor such as a [TSOP1838](https://hobbyking.com/en_us/keyes-tsop1838-infra-red-37-9khz-receiver-for-arduino.html) can be connected to a device running Tasmota. Configure a free device GPIO as 'IRrecv (51)'. When Tasmota receives an IR message, the data portion of the payload has the same format as the [`IRsend`](Commands#irsend) parameter. + + {"IrReceived":{"Protocol":"","Bits":,"Data":}} + +This JSON payload data can be used in a rule such as: + + ON IrReceived#Data= DO ENDON \ No newline at end of file