Monitor your security system with a RPi

I had programmed a page of goodness in Node-Red for being the middle-man between the internet and my security system. Here’s the schpeal…

I used to work for an alarm company for a number of years. It’s a job that has kind of stuck with me, specially all the shit and skills that I learned while doing it. So I still have friends in the industry and I still have equipment from when I worked there. Naturally I install my own security system. Not wanting to pay for monitoring but still wanting to be notified with issues gave me a problem. I happen to know Pies so I decided to use a Raspberry Pi with Node-Red to solve that problem.

There are many ways to get notifications from your security system these days but they all require some kind of monitoring or to be activated by an alarm company (someone with a license). Using the Raspberry Pi I could do everything I wanted to. Node-Red just made it that much easier.

I programmed all of this via NR on one of my Raspberry Pies. I believe at the time I was programming in Node-Red v0.12 (around May 2016 I think). Here’s the flow:

https://github.com/jhaury/rpi-nodered-security

I cannot be held responsible for anything bad that may happen. This has been coded to the best of my ability but there may be bugs and some of it may be unfinished. USE AT YOUR OWN RISK!

Zentyal and Munin

Zentyal is awesome, it is a great piece of software no doubt about it. But it does lack a few thing to make it all that much better; better performance monitoring, media server stuff/DLNA etc. But it was designed as a business platform so I can’t fault it too much right?

But no worries that is all easily remedied. Good thing I can add on whatever I need. Linux <3. For the most part I found these sites to help a great bit in setting this all up. http://wiki.hetzner.de/index.php/Monitoring_mit_Munin/en http://www.linuxweblog.com/blogs/sandip/20081224/munin-node-plugin-configurations I've attempted to stream line the directions a little bit better, hope it helps.

Enable the plugin.

At the end add:

That will get you hard drive temperature monitoring. They will now show as a new section titled "sensors". If you want to add the new data as its own page create your own plugin. sudo etc/munin/plugin-conf.d/hddtemp_smartctl Paste in the following

Save and you should be good to go from there.