C++ home-automation

Open-source C++ projects categorized as home-automation | Edit details

Top 15 C++ home-automation Projects

  • GitHub repo esphome

    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.

  • GitHub repo OpenMQTTGateway

    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

    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.

  • GitHub repo IRremoteESP8266

    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.

  • GitHub repo deconz-rest-plugin

    deCONZ REST-API plugin to control ZigBee devices

    Project mention: Conbee II Home Assistant VM passthrough Disconnect/Reconnect solution (that worked for me) | reddit.com/r/unRAID | 2021-11-27
  • GitHub repo esp8266_milight_hub

    Replacement for a Milight/LimitlessLED hub hosted on an ESP8266

    Project 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

  • GitHub repo dscKeybusInterface

    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.

  • GitHub repo HomeSpan

    HomeKit Library for the Arduino-ESP32

    Project 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.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo Temper-ESP8266

    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
  • GitHub repo esphome-mitsubishiheatpump

    ESPHome Climate Component for Mitsubishi Heatpumps using direct serial connection

    Project 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.

  • GitHub repo Hugo-ESP8266

    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
  • GitHub repo sensor

    Sensor by Metriful | Indoor environment monitoring | Documentation and code samples

    Project 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

  • GitHub repo CQC

    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
  • GitHub repo cloxie_nixie_clock

    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

  • GitHub repo ESPHome-Arduino-Port-Expander

    An Arduino Port Expander for ESPHome with added Arduino Mega 2560 support

    Project 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.

  • GitHub repo esphome-rotary-dial

    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.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-12-02.

C++ home-automation related posts

Index

What are some of the best open-source home-automation projects in C++? This list will help you:

Project Stars
1 esphome 4,285
2 OpenMQTTGateway 2,394
3 IRremoteESP8266 1,958
4 deconz-rest-plugin 1,517
5 esp8266_milight_hub 748
6 dscKeybusInterface 299
7 HomeSpan 269
8 Temper-ESP8266 160
9 esphome-mitsubishiheatpump 98
10 Hugo-ESP8266 91
11 sensor 89
12 CQC 47
13 cloxie_nixie_clock 5
14 ESPHome-Arduino-Port-Expander 1
15 esphome-rotary-dial 0
Find remote jobs at our new job board 99remotejobs.com. There are 31 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com