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)

External Gate Automation

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

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

Looking for hackers with the skills:

home-assistant homeassistant

This project is part of:

Hack Week 25

Activity

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

  • Comments

    • pstivanin
      4 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
      3 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
      1 day 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
      about 13 hours 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

    Similar Projects

    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


    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


    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


    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