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/
So I have Samsung AC units. Each use a IR remote. The way this unit works as is the same with many other ACs is that each time a command is sent it sends all the commands. So say you turn it on and the temp was 25C and it is on swing mode then it turns it on to 25C and swing mode on. So if you read the codes it can be easy or complicated depending on what you want. I tried reading all my codes and was using a raspberry pi but it was clunky to me then I got more in to ESPs and it was smaller footprint that a pi so I got some d1 minis which were cheap and IR LEDs and set out to find an easy way to do it. I ended up using this IRemoteESP8266. They have some examples IRserver is what I used it has the option to do MQTT so I used that with Home Assistant (HA) to connect it together. so now in my HA I have it in my config.yaml I can turn the modes between off, cool, auto, and dry. Turn the temp up or down, and turn the swing mode on or off. I am not sure what is needed to change this code to work on an 8285 maybe nothing? I am not that well versed in ESP. But back to IRemote. The IRServer example creates a web interface and you select which model your AC is (hopefully it has it) if not you can use the IR receiver example to try and make your own codes and it can send them. I haven't gone down that rabbit hole much other than a stand fan I got from Costco that had a IR remote that I got all the codes for. If you want more info let me know. One thing to note that I am not sure if the board talked about earlier has is an NPN Bipolar Transistors (PN2222). I used to make it more powerful. Here is another example that might be helpful
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
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..