Intruder Alert System with Home Assistant – Part 1

Over the years I have gathered a lot of subscriptions, which add to quite a substantial amount of money that I have to pay every month. After I installed the alarm system from Paradox in my house, I was surprised to see that they also have a yearly subscription to get notifications on your phone and do some basic remote alarm configurations.

Having an instance of Home Assistant running in my HomeLab, I started to research if it was possible to integrate my alarm system and create an automation to offer at least the same functionality as the manufacturer and avoid paying their subscription. This post is the first part in a series I plan to share with you in which I offer details on my DYI Intruder Alert System with Home Assistant.

My alarm system is Paradox Spectra SP6000+ with 8 zones which can have 2 physical sensors attached to them using resistance of different values. I have one motion sensor in every room of the house, a smoke detector in the kitchen and a siren outside on the front house wall. They are all connected to a central panel together with a small battery which can offer up to a day of runtime in case the power is lost. In order to communicate over Ethernet with my HomeLab, I bought from Paradox an IP150 Internet Module. I spent almost two months mounting and wiring all the sensors and researching online for various tutorials on how to configure the alarm system. Paradox offers paid training to certified installers so the information was quite difficult to obtain. Having all the necessary hardware, it was time to focus on the software and see what wonders I could do!

First thing I did was to install and configure Paradox Alarm Interface addon in Home Assistant. This is a middleware that connects to a Paradox Alarm panel, exposing the interface for monitoring and control through MQTT. I won’t detail the installations steps, because they can be found in PAI’s wiki. Once the configuration was done, I suddenly had 48 entities available in MQTT integration from Home Assistant, with various information from my alarm system. I could see in real-time when a sensor was active, arm or disarm the alarm and other internal signals. It was time now to put my thinking cap and do something useful with all this information.

Next I created a list of use cases for my future Intruder Alert System so I could figure out what functionalities available in Home Assistant I codul use. I came up with the following 4 use cases

  • Notification on sensor activation when alarm is armed
  • Dashboard to provide a quick overview of my Intruder Alert System
  • Arming the system when leaving home
  • Disarming the system when returning home

The final step was to somehow start implementing the use cases. I didn’t have much experience back then with Home Assistant, so this project involved quite a steep learning curve. In my first iteration, I implemented all use cases except the dashboard in NodeRed because of it’s nice graphical interface. Recently I started to migrate from NodeRed to native Home Assistant automations, because there are some limitations with it and in the recent releases of HomeAssistant the GUI for automations has been improved a lot.

In the next part of the series, I will provide details on the dashboard I created to give me a quick overview of my Intruder Alert System.

Ce inseamna sa fii prosumator la Hidroelectrica in 2024?

In Mai 2024 am devenit prosumator la Hidroelectrica si spre marea mea suprindere, o luna mai tarziu am primit prima factura.

Pentru ca nu mi-a fost clar mecanismul de compensare cantitativa, am sunat la relatii cu clientii la Hidroelectrica, ca sa ma lamuresc cum pot sa folosesc valoarea de la punctul 9(sold energie electrica livrata). Mai jos am sumarizat informatiile primite.

  • 58 kWh -> consum energie activa din retea(punctul 8).
  • 669 kWh -> energie activa livrata in retea(tabelul mic pagina 2 factura)
  • 28.56 ron -> taxe de transport pentru cei 58 kWh consumati ce reprezinta factura pe luna Mai 2024 pe care trebuie sa o platesc(punctul 5).
  • -171.08 ron -> (669kWh – 58kWh)* 0.28 ron/kWh – suma primita pentru surplusul de energie electrica activa livrata in retea dupa ce mi s-a scazut kWh consumati(punctul 9)
  • Valoare de la punctul 9 poate fi folosita DOAR pentru compensarea energiei active consumata din retea in lunile urmatoare!
  • Valoare de la punctul 9 NU poate fi folosita pentru a acoperi taxele de transport sau orice alte sume restante din soldul contului.

Sa presupunem ca in luna Iunie 2024 nu livrez nimic in retea si consum 100 kWh. Dupa intelegerea mea, voi avea de platit ~58 ron factura si raman cu ~143 ron sold pentru compensarea energiei active din lunile urmatoare. Mai jos am am detaliat cum am ajuns la aceste cifre:

  • 58.31 ron -> 100 * (0.77 – 0.28)) * 1.19 – taxele de transport + TVA pentru 100 kWh energie activa consumata din retea la pretul final de 0.77 ron/kWh
  • 28 ron -> 100 * 0.28 – cost energie activa consumata din retea.
  • 143.08 -> -171.08 + 28 – Sold de energie activa ramas dupa compensarea costului celor 100 kWh. Valoarea asta voi putea sa o folosesc pentru compensarea energiei activa in lunile urmatoare.

Concluzii:

Cat timp legislatia curenta nu se schimba si pentru surplusul de energie activa injectata in retea se emite o factura cu data scadenta pentru 2 ani, sumele platite pentru taxele de transport voi putea sa incep sa ii recuperez abia peste 2 ani.

Tinand cont de ce am scris mai sus si ca nu am baterii, cel mai importat e sa imi optimizez consumul casei in asa fel incat sa folosesc cat mai multa energie pe care o produc panourile fotovoltaice. Din experienta mea de pana acum, fara investitii prea mari mari, ceea ce m-a ajutat a fost:

  • folosire electrocasnice cand am productie pe timpul zilei
  • HomeAssistant cu integrare invertor(actualizare date la 5s)
  • prize inteligente
  • diverse automatizari

Am integrat invertorul de la Huawei si am creat o automatizare care actualizeaza datele la 5 secunde. Am gasit niste addon-uri care m-au ajutat sa creez grafice care imi ofera informatii despre consumul instant si din timpul zilei, similar cu ce ofera aplicatia FusionSolar.

Am utomatizat pornirea/oprirea incarcarii masinii electrice(Dacia Spring) in functie de surplus livrat in retea. Itegrarea folosita e de la Renault si are o limitare a querry-urilor facute la ~10 minute

Am integrat clima si pot sa controlez manual fiecare unitate interoara.

Urmeaza sa achizitonez mai multe prize electrice care permit monitorizarea energiei electrice, sa le integrez in HomeAssistant si sa ma gandesc la ce alte automatizari mai pot crea.