Top 15 C++ home-automation Projects
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.Project mention: ESP-01 I2C Arduino slave | reddit.com/r/Esphome | 2022-01-26
In general, it is easier to go the esphome.io (or the corresponding GitHub page) and search for your components (if you know them) than to search via Google.
MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility, SMS & LORA.Project mention: ESP8266 Adventures | dev.to | 2021-12-31
What I didn't know is that the ESP8266 is not just a Wifi module, it can be programmed and even run a web server inside. Of course there was a community leveraging this for IOT, and they led me to OpenMQTTGateway. This project collects various signals and sensor from IOT devices and sends it to a queue to be used by HomeAutomation services such as Home Assistant. Given my astonishment of the capacity of this module of course I didn't have any tools that would make my life easier in programming it.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/Project mention: Small IR gateway with ESP01 | reddit.com/r/esp8266 | 2022-01-18
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
deCONZ REST-API plugin to control ZigBee devicesProject mention: Downgrade Firmware on Lutron Aurora Dimmer Switch | reddit.com/r/homebridge | 2022-01-25
Replacement for a Milight/LimitlessLED hub hosted on an ESP8266Project mention: ZigBee-RF USB bridge for Mi-Light White? | reddit.com/r/GLEDOPTO_Support | 2022-01-19
If someone could specifically confirm/deny that the Gledopto bridge works with White bulbs would be great. People have created custom controllers for the White bulbs/remotes (e.g., here) - so I assume the protocol is known or the same.
HomeKit Library for the Arduino-ESP32Project mention: esp32 Halloween app suggestions | reddit.com/r/esp32 | 2021-10-24
If you have an iPhone or iPad you can even do it through apple's HomeKit using the HomeSpan library for ESP32-Arduino. It's really well documented and that way you don't have to program a new app for your phone in addition to the esp32 code.
An Arduino/esp8266/esp32 library to directly interface with DSC security systems.Project mention: If your alarm system is no longer being monitored by a company and you set the alarm off, would it still dial to the old company? | reddit.com/r/homesecurity | 2021-07-17
I'm wondering because I'm planning to run this project on the system to recover the installer code. I'm a little worried that doing so will start dialing to the old alarm company.
OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
Temper is a compact temperature sensor based on ESP8266 and SHT30 with large 13x7 pixel led display.Project mention: I just had to share! | reddit.com/r/nixie | 2021-04-19
ESPHome Climate Component for Mitsubishi Heatpumps using direct serial connectionProject mention: Multi Split Heating/Cooling with Home Automation? | reddit.com/r/homeautomation | 2021-10-05
If you can add homeassistant, you should look at https://github.com/geoffdavis/esphome-mitsubishiheatpump -- we're using it with 5 split units. It works great, is faster than infrared, and cheaper than the wired or wireless control options from Mitsubishi.
Hugo is a 4-button ESP8266 Wi-Fi Remote, Arduino compatible and simple to use.Project mention: ESP32 Wifi Remote | reddit.com/r/esp32 | 2021-06-09
Sensor by Metriful | Indoor environment monitoring | Documentation and code samplesProject mention: ESP-IDF I2C Communication Failure: "i2c null address error" | reddit.com/r/esp32 | 2021-07-11
https://github.com/metriful/sensor/blob/master/Arduino/Metriful_Sensor/Metriful_sensor.cpp and https://github.com/metriful/sensor/blob/master/Arduino/Examples/cycle_readout/cycle_readout.ino
CQC (Charmed Quark Controller) a commercial grade, full featured, software based automation system. CQC is built on our CIDLib C++ development system, which is also available here on GitHub.Project mention: What are some bad c++ habits you know or have seen while maintaining code? | reddit.com/r/cpp | 2021-12-02
Schematics and code for Cloxie: my Nixie Tube Clock.
An Arduino Port Expander for ESPHome with added Arduino Mega 2560 supportProject mention: Esphome with Arduino mega with built-in esp8266 | reddit.com/r/Esphome | 2021-09-16
Longer answer: Maybe? With a lot of extra effort. It looks like someone has modified the ESPHome port expander code to be compatible, but from what I can gather, you would have to modify the source for ESPHome to replace those components with the modified versions and then rebuild it from source. That's a lot of effort for something that can be solved with multiple ESPHome boards or just using compatible port expander hardware.
A custom ESPHome component that sends the dialed number to Home Assistant.Project mention: Creative Ways to Control HA | reddit.com/r/homeassistant | 2021-02-24
I use ESPHome and a Wemos D1 for the software. I should probably document the wiring at some point, though it isn’t terribly complex.
C++ home-automation related posts
ESP-01 I2C Arduino slave
1 project | reddit.com/r/Esphome | 26 Jan 2022
Downgrade Firmware on Lutron Aurora Dimmer Switch
1 project | reddit.com/r/homebridge | 25 Jan 2022
Porting USB applications to the web. Part 1: libusb
5 projects | news.ycombinator.com | 20 Jan 2022
ZigBee-RF USB bridge for Mi-Light White?
1 project | reddit.com/r/GLEDOPTO_Support | 19 Jan 2022
Using a rechargeable drill battery to power LED strips for closet lighting?
1 project | reddit.com/r/batteries | 17 Jan 2022
I got my dongle connected to wifi, how to I do anything with it?
2 projects | reddit.com/r/Esphome | 16 Jan 2022
esp32 with RFID reader
1 project | reddit.com/r/esp32 | 11 Jan 2022
What are some of the best open-source home-automation projects in C++? This list will help you:
Are you hiring? Post a new remote job listing for free.