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: What is the simplest way to make a remote trigger button? | reddit.com/r/IOT | 2021-11-26
If you want to do WiFi, the ESP8266 or ESP32 devices are what you want. You can get them for ~$8, but you will have to program them yourself. See also https://esphome.io/ for a nice framework. WiFi is pretty heavy on the batteries, so you will need to recharge it often.
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: How can I use USB port from laptop to control IR transmitter module/circuit? | reddit.com/r/homeautomation | 2021-09-24
An ESP32 dev board with OpenMQTTgateway can accomplish this. https://docs.openmqttgateway.com/
Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/Project mention: How can I control output pins of an ESP8266 via a linux terminal over wifi? | reddit.com/r/arduino | 2021-09-24
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.
deCONZ REST-API plugin to control ZigBee devicesProject mention: Conbee II Home Assistant VM passthrough Disconnect/Reconnect solution (that worked for me) | reddit.com/r/unRAID | 2021-11-27
Replacement for a Milight/LimitlessLED hub hosted on an ESP8266Project mention: Stuck on finding an RGB+CCT controller that works with Home Assistant and physical remote | reddit.com/r/homeassistant | 2021-02-11
Before binning off the Milight controller perhaps try this open source hub: https://github.com/sidoh/esp8266_milight_hub
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.
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.
Run Linux Software Faster and Safer than Linux with Unikernels.
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.Project mention: Nixie Watch transistors | reddit.com/r/nixie | 2020-12-27
Hi, the transistor you mentioned is perfect, I also suggest the 595. Feel free to follow my project, pcb and schematics here https://github.com/vascofazza/cloxie_nixie_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
What are some bad c++ habits you know or have seen while maintaining code?
2 projects | reddit.com/r/cpp | 2 Dec 2021
Is C+++ good for Automating stuff?
1 project | reddit.com/r/cpp | 28 Nov 2021
Conbee II Home Assistant VM passthrough Disconnect/Reconnect solution (that worked for me)
1 project | reddit.com/r/unRAID | 27 Nov 2021
What's the best drop-in replacement for the Tradfri gateway?
1 project | reddit.com/r/tradfri | 27 Nov 2021
What is the simplest way to make a remote trigger button?
2 projects | reddit.com/r/IOT | 26 Nov 2021
Writing a Linux-compatible kernel in Rust
2 projects | reddit.com/r/programming | 26 Nov 2021
Can PlatformIO insert "secrets" into the built artifact before download?
2 projects | reddit.com/r/esp8266 | 23 Nov 2021
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.