IR Remote control via WiFi
Replace every remote control in your house with a single app. ir-mobile will listen to the infrared codes your remote controls emit and map them to buttons in the app.
ESP_IP_ADDRESS/rec
: puts hardware in 'listening' mode for IR codesESP_IP_ADDRESS/stop
: stops record modeESP_IP_ADDRESS/send?type=CODE_TYPE&value=CODE_VALUE&length=CODE_LENGTH
: transmit code via IRESP_IP_ADDRESS/check
: returns value of any IR codes heard // Successful call to /check returns the following JSON object
{
type: oneof 'NEC', 'JVC', 'PANASONIC', 'RC5', 'RC6',
value: hex string representing an unsigned long,
length: length of the IR code in bits
}
Where ESP_IP_ADDRESS
is the address of the ESP on your network, for example 192.168.86.99
./esptool.py --port /dev/tty.SLAB_USBtoUART write_flash --flash_mode qio --flash_size 4MB --flash_freq 80m 0x10000 /Users/danielmerrill/Dev/ir-mobile/ESP32-ir-mobile/ESP32-ir-mobile.ino.esp32.bin