Our great sponsors
-
IRremoteESP8266
Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Either write your own api to drive it via a pre-written library like crankyoldgits IRremote or flash something like tasmota-ir which has IR driver capability and a restAPI which would allow you to send raw codes or protocol specific hex codes from a script via curl. There's a good reason people use prebuilt solutions, modulating a 38kHz carrier with often complex protocols is not a trivial coding excercise on an MCU, thankfully there a number of dedicated/obsessive techs who have already done the heavy lifting and are generous enough to share the results of their hundreds or thousands of hours work with us lazy types who don't want to reinvent the wheel.
Related posts
- I built an offline smart home, and why you should too
- ThermTerm: an open source heat pump controller and home automation terminal, built on ESP32
- Mitsubishi aircon control without HA/OH
- Used the Flipper as a tool for this project - hacking a TV-B-Gone into a home automation IR device
- My HomeKit AC controller..