Description

This project focuses on expanding smart-home automation by reverse-engineering several closed systems, developing missing integrations, and unifying them into a fully automated Home Assistant environment. The work includes protocol analysis, custom API design, and deep automation logic, combined with improvements to monitoring and camera workflows. The outcome will be a coherent ecosystem with enhanced control, transparency, and automation for heating, circulation, security, and access systems.

Goals

Samsung EHS

  • Add the Elfin-EW11 to the hydronic module (F1/F2)
  • Install the EHS integration and set it up
  • Add automation and dashboards for anti-legionella, temperatures, COP, etc

Grundfos Recirculation Pump

  • Disassemble the pump and add the custom PCB
  • Write ESPHome firmware
  • Integrate the pump into HA with simple and advanced automation modes (e.g. shower, anti-legionella, etc)

Extra goals

  • Look into influxdb and grafana for storing long term data like PV
  • Look into an outdoor air quality monitor so that I can better control my CMV

Done

Garage Door Automation

  • Add a Shelly relay for control
  • Add optional open/close detection.
  • Implement routines such as auto-close, geofence open, timeout warning.

Camera Dashboard

  • Add WebRTC real-time feeds.
  • Add controls for lights, sirens, strobe, and presets.
  • Create a multi-camera layout optimized for mobile and desktop.
  • Show IVS events (tripwire, intrusion).

Pellet Stove

  • Reverse engineer the WINET protocol.
  • Implement structured sensor parsing (temperatures, status, alarms).
  • Implement command support for ON/OFF, power level, fan, and shutdown.
  • Create robust automations for daily routines and error handling.

Dahua Event Proxy Server

  • Develop a Python server to receive IVS/AI events and snapshots.
  • Normalize and forward events to a Home Assistant webhook.
  • Add debugging and logging features.
  • Test and deploy the code

CMV

  • Reverse engineer UTEK RC-TOP2 modbus connect
  • Write a custom integration for home assistant
  • Add a dashboard for controlling the machine, schedules, power, etc

External Gate Automation

  • Add two Shelly relays (pedestrian + full-open).
  • Implement arrival automation, remote access, and safety timers.

Looking for hackers with the skills:

home-assistant homeassistant

This project is part of:

Hack Week 25

Activity

  • 19 days ago: FSzekely liked this project.
  • 19 days ago: pdostal liked this project.
  • 19 days ago: frantisek.simorda liked this project.
  • 19 days ago: emiler liked this project.
  • 20 days ago: pstivanin added keyword "homeassistant" to this project.
  • 20 days ago: pstivanin added keyword "home-assistant" to this project.
  • 20 days ago: pstivanin originated this project.

  • Comments

    • pstivanin
      16 days ago by pstivanin | Reply

      Day 1:

      • morning: added a shelly 1 gen4 and an Aqara zigbee tilt sensor to the garage door. Both are fully working and well integrated in HA
      • afternoon:
        • studied the CAME manual and bought the needed hardware for the automation. Will take a couple of days for everything to arrive.
        • added my Dahua cameras to HA via go2rtc and webrtc-card. By default it's using the substream, but clicking on the top-right corner it will switch to main stream
        • added warning lights and sirens control via HA (restful)
        • now I needed to develop a small proxy server that will receive IVS/tripwire events from the NVR and will forward them to HA using webhook. From HA I can then do smarter things like arming/disarming the cameras, trigger sirens and lights if someone has been detected, etc

    • pstivanin
      15 days ago by pstivanin | Reply

      Day 2:

      • morning:
        • I was finally able to fix a longstanding compilation issue on TW for phd2 and astrometry-net packages. PRs made to both upstreams.
        • unforeseen tasks: upgraded switch's firmware; upgrade opencloud to v4.0.0
      • afternoon:
        • pellet stove was easier than expected to reverse. It has a simple web app doing GET requests every 1s with some parameters. I can't really control much (temperature and power), but I do get all the info I actually need: temperature, power, fan speed, current status, alarms, working hours, etc
        • work on the proxy is going well. It's almost over, tomorrow I'll test it. Code looks good and simple

    • pstivanin
      14 days ago by pstivanin | Reply

      Day 3:

      • morning:
        • had to handle some FOSS contributions and debugging (phd2 + astrometry) from yesterday's PRs. Also did some updates in my devel prj
        • I've wired an Aqara T2 (zigbee) to an Ajax DoorProtect Fibra and then this fibra device to the Ajax's hub. In this way, I can use HA to trigger the Ajax sirens when I want. Little nice hack so I don't have to buy 3rd party sirens for my cameras
      • afternoon:
        • finished coding the proxy server and deployed it
        • started reading the modbus manual of my CMV and doing some reversing since the codes are not really 100% correct

    • pstivanin
      13 days ago by pstivanin | Reply

      Day 4:

      • morning:
        • NVR proxy works fine. It's forwarding events to HA webhook, that's good. Next step is to set up notification and alarms in HA itself. I had to fix a concurrency issue so I had to restart the proxy xD
        • yesterday evening I read the modbus manual for my UTEK RC TOP 2. I tried some commands and they mostly work but no all codes are mapped correctly, so I need to debug and investigate.
      • afternoon:
        • finished work on CMV, now fully implemented
        • finshed work on proxy, now fully working. Only arm/disarm/notification bits are missing

    • pstivanin
      8 days ago by pstivanin | Reply

      Day 5:

      • morning:
        • fixed some bugs and corner cases from previous additionos
      • afternoon:
        • added wires and shellies for controlling the external CAME unit
        • added HA integration for controlling the gate

    Similar Projects

    Expand home assistant support for Freebox / Iliadbox modem by fcrozat

    Description

    My ISP (Free) fiber modem (Freebox) has a pretty rich API to control and monitor it.

    It is currently supported in Home Assistant but not to the full extend of the available API, including additional Wifi repeaters.

    Goals

    Adding support for Wifi repeaters linked to the ISP modem in Home Assistant.

    Resources

    https://dev.freebox.fr/sdk/os/ (old version of the API) the latest version of the api is only available from the modem webUI atm


    Hack / Access old Freebox Delta wifi webcam by fcrozat

    Description

    French ISP Free was providing a wifi webcam which would integrate with their alarm offering but could only be used with one version of their fiber modem.

    I've switch to a new generation of modem and the alarm offering is gone but I still own the webcam which is not usable anymore.

    Goals

    Try to get access to the webcam feed (either reprovision it or access its video feed) to integrate it on Home Assistant.

    Resources


    ESPClock: An open-source smart desk clock with Home Assistant integration by jbaier_cz

    Description

    ESPClock will be an open-source, Wi-Fi connected digital clock powered by ESP32 and ESPHome, designed to seamlessly integrate with Home Assistant. Featuring a 3D-printable case, the clock combines modern style with smart home functionality.

    Goals

    Key features:

    • real-time clock
    • native Home Assistant integration
    • optional sensors for temperature, humidity and ambient light
    • custom 3D-printable case
    • open-source firmware and hardware design
    • easy YAML-based configuration

    Resources

    1. https://esphome.io/
    2. https://gist.github.com/baierjan/773e20a5061780f0a27ed86619dbffba

    The Hacking

    Chapter 1: Inventory

    After thoroughly inspecting my closet, I managed to gather a handful of useful components. I decided to keep things simple and avoid making the project unnecessarily complex, opting for ready-made modules instead of assembling everything from individual parts. This approach saves time and reduces the chances of compatibility issues. The components I settled on are:

    • Microcontroller: ESP32-LPkit
    • 4-digit 7-segment display with integrated controller: TM1637
    • Temperature and humidity sensor: DHT22
    • Carbon dioxide sensor: MH-Z19
    • PIR motion sensor: AM312
    • Illumination sensor: VEML7700
    • I2S-compatible microphone module: SPH0645LM4H
    • A couple of micro switches
    • A few LED diodes with appropriate resistors

    With this list, the essential environmental parameters should be well covered. The clock’s main function—displaying the current time—is handled by the bright 0.56-inch display. Additionally, the setup provides simple input options through buttons and possibly even voice commands in the future.

    Chapter 2: Wiring Diagram

    I went through the datasheets for all the components to determine the most effective way to connect them. After comparing different options and checking for compatibility, I finalized the following wiring diagram.

    Chapter 3: Firmware

    For the software part, I decided to use ESPHome, which offers an easy and reliable way to integrate the clock with Home Assistant. All the components from the inventory are natively supported, so there is no need to write much additional code.

    The following example shows how the YAML configuration for the clock may look: espclock.yaml


    Play with esp32 to create domotics stuff by aginies

    Description

    Play with ESP32 board and multiple small peripherals

    https://github.com/aginies/domotique

    Goals

    • Finish the pool project
    • add support of NFC auth in the door project
    • improve the doc
    • project to manage solar panel (router)

    Resources

    esp32 home


    ESPClock: An open-source smart desk clock with Home Assistant integration by jbaier_cz

    Description

    ESPClock will be an open-source, Wi-Fi connected digital clock powered by ESP32 and ESPHome, designed to seamlessly integrate with Home Assistant. Featuring a 3D-printable case, the clock combines modern style with smart home functionality.

    Goals

    Key features:

    • real-time clock
    • native Home Assistant integration
    • optional sensors for temperature, humidity and ambient light
    • custom 3D-printable case
    • open-source firmware and hardware design
    • easy YAML-based configuration

    Resources

    1. https://esphome.io/
    2. https://gist.github.com/baierjan/773e20a5061780f0a27ed86619dbffba

    The Hacking

    Chapter 1: Inventory

    After thoroughly inspecting my closet, I managed to gather a handful of useful components. I decided to keep things simple and avoid making the project unnecessarily complex, opting for ready-made modules instead of assembling everything from individual parts. This approach saves time and reduces the chances of compatibility issues. The components I settled on are:

    • Microcontroller: ESP32-LPkit
    • 4-digit 7-segment display with integrated controller: TM1637
    • Temperature and humidity sensor: DHT22
    • Carbon dioxide sensor: MH-Z19
    • PIR motion sensor: AM312
    • Illumination sensor: VEML7700
    • I2S-compatible microphone module: SPH0645LM4H
    • A couple of micro switches
    • A few LED diodes with appropriate resistors

    With this list, the essential environmental parameters should be well covered. The clock’s main function—displaying the current time—is handled by the bright 0.56-inch display. Additionally, the setup provides simple input options through buttons and possibly even voice commands in the future.

    Chapter 2: Wiring Diagram

    I went through the datasheets for all the components to determine the most effective way to connect them. After comparing different options and checking for compatibility, I finalized the following wiring diagram.

    Chapter 3: Firmware

    For the software part, I decided to use ESPHome, which offers an easy and reliable way to integrate the clock with Home Assistant. All the components from the inventory are natively supported, so there is no need to write much additional code.

    The following example shows how the YAML configuration for the clock may look: espclock.yaml


    Expand home assistant support for Freebox / Iliadbox modem by fcrozat

    Description

    My ISP (Free) fiber modem (Freebox) has a pretty rich API to control and monitor it.

    It is currently supported in Home Assistant but not to the full extend of the available API, including additional Wifi repeaters.

    Goals

    Adding support for Wifi repeaters linked to the ISP modem in Home Assistant.

    Resources

    https://dev.freebox.fr/sdk/os/ (old version of the API) the latest version of the api is only available from the modem webUI atm