Difference between revisions of "User:Martinus/IR Gateway"
Line 17: | Line 17: | ||
*433MHz transmitter | *433MHz transmitter | ||
*ESP8266 ESP01 module (1MB Flash version) | *ESP8266 ESP01 module (1MB Flash version) | ||
+ | *Marmitek IR Control Pro 8 (used to distribute all IR traffic to several devices (DVD, PVR, HDMI switch) | ||
*Logitech Harmony 650 (added the Kaku device) | *Logitech Harmony 650 (added the Kaku device) | ||
Revision as of 13:27, 21 October 2017
IR Gateway
Introduction
This small box has been my IR gateway for many years and it will likely serve many years to come. It started out using Nodo firmware (the ESP module socket wasn't there yet) but is has been replaced with a small RFLink edition that runs on Atmage328P. The ESP socket was added and it runs ESP Easy Mega edition.
The module has always worked autonomous so it does not depend on other controllers. It has always been rock solid stable and it controls several Kaku light around my house.
It used 3.5" jack plugs to connect two IR sensors that are located in other rooms (living and bedroom). These are the two jack connectors at the bottom side. The right side jack plug is for serial, to upgrade the RFLink firmware when needed.
Hardware
Atmega 328P (but any Arduino Uno, Pro mini will also work)
- IR receiver
- 433MHz transmitter
- ESP8266 ESP01 module (1MB Flash version)
- Marmitek IR Control Pro 8 (used to distribute all IR traffic to several devices (DVD, PVR, HDMI switch)
- Logitech Harmony 650 (added the Kaku device)
Software
- RFLink Small https://github.com/letscontrolit/RFLinkSmall
- ESP Easy Dev12
ESP Easy rules sample
on !RFLink#Kaku;ID=44;SWITCH=1;CMD=ON; do SerialSend 10;NewKaku;000001;2;2; delay 500 SerialSend 10;NewKaku;000002;2;7; delay 500 SerialSend 10;NewKaku;00000A;2;5; endon on !RFLink#Kaku;ID=44;SWITCH=2;CMD=ON; do SerialSend 10;NewKaku;000001;2;15; delay 500 SerialSend 10;NewKaku;000002;2;15; delay 500 SerialSend 10;NewKaku;00000A;2;8; endon on !RFLink#Kaku;ID=44;SWITCH=1;CMD=OFF; do SerialSend 10;NewKaku;000001;2;OFF; delay 500 SerialSend 10;NewKaku;000002;2;OFF; delay 500 SerialSend 10;NewKaku;00000A;2;OFF; endon