Hikvision Motion Detection in OpenHAB using node.js

Using a node.js module (node-hikvision-api) for accessing a hikvision camera’s built-in motion detection for use in OpenHAB It’s a little annoying how Hikvision exposes the motion events on their cameras. It’s a multipart http stream containing XML. See Hikvision manual Page 176 Section 8.11.30 /ISAPI/Event/notification/alertStream http://oversea-download.hikvision.com/uploadfile/Leaflet/ISAPI/HIKVISION%20ISAPI_2.0-IPMD%20Service.pdf node-hikvision-api abstracts that away a bit so hikmotion.js canContinue reading “Hikvision Motion Detection in OpenHAB using node.js”

rtlamr Power Meter Data in OpenHAB

Wouldn’t it be cool if you could monitor your electricity usage with OpenHAB for less than 20 bucks with the same accuracy your power company uses for billing? Using an inexpensive rtl-sdr dongle, it’s possible to listen for signals from ERT compatible smart meters using rtlamr. This script runs as a daemon, launches rtl_tcp andContinue reading “rtlamr Power Meter Data in OpenHAB”

Controlling Android Tablet Screen with OpenHAB and ADB

Wouldn’t it be cool to control an android device’s wake and sleep from OpenHAB? I’ve strapped a couple tablets to the wall with command strips. I’m using them to control OpenHAB. Gotta get ’em working well enough to gain wife approval before doing anything more permanent. I was griping about turning my tablet screens onContinue reading “Controlling Android Tablet Screen with OpenHAB and ADB”

Taking over an ADT Alarm and integrating it with OpenHAB

As you can see from previous posts, I’ve started automating my house. There was an ADT alarm system installed. I was given a user code, but that was it. I opted not to pay ADT’s ridiculous monthly fee since reasonable monitoring can be had for $10/month. Looking at the panel, I have a Safewatch ProContinue reading “Taking over an ADT Alarm and integrating it with OpenHAB”

Using Perl and ImageMagick to Generate Meme Image Macros

Sometimes I feel a need to automate some meme generation. Luckily I found this incredibly helpful blogpost from jackmeme. http://www.jackmeme.com/blog.php?id=1 I used it as inspiration and did something similar in Perl. Of course the Imagemagick perl-magick reference was invaluable. http://www.imagemagick.org/script/perl-magick.php The first thing I thought of with automated meme generation? The Weather! See my previousContinue reading “Using Perl and ImageMagick to Generate Meme Image Macros”

Collecting ONSSI Ocularis CS RC-C Logs with nxlog / Logstash / Elasticsearch / Kibana3

Edit: This post is pretty old and Elasticsearch/Logstash/Kibana have evolved a lot since it was written. That’s quite a title. I work with an ONSSI Ocularis CS setup. Originally installed with NetDVMS, but upgraded to RC-C. This post builds upon a couple earlier posts http://www.ragingcomputer.com/2014/02/logstash-elasticsearch-kibana-for-windows-event-logs http://www.ragingcomputer.com/2014/02/sending-windows-event-logs-to-logstash-elasticsearch-kibana-with-nxlog What does all this mean? This heavily redacted screenshotContinue reading “Collecting ONSSI Ocularis CS RC-C Logs with nxlog / Logstash / Elasticsearch / Kibana3”

Sending Windows Event Logs to Logstash / Elasticsearch / Kibana with nxlog

Edit: This post is pretty old and Elasticsearch/Logstash/Kibana have evolved a lot since it was written. Part 3 of 4 – Part 1 – Part 2 – Part 4 This is a continuation of http://www.ragingcomputer.com/2014/02/logstash-elasticsearch-kibana-for-windows-event-logs Again, I took a lot of inspiration from http://sysxfit.com/blog/2013/07/18/logging-with-logstash-part-3/ The nxlog reference manual is surprisingly well written with excellent examples.Continue reading “Sending Windows Event Logs to Logstash / Elasticsearch / Kibana with nxlog”

Securing Elasticsearch / Kibana with nginx

Edit: This post is pretty old and Elasticsearch/Logstash/Kibana have evolved a lot since it was written. Part 2 of 4 – Part 1 – Part 3 – Part 4 This is a continuation from http://www.ragingcomputer.com/2014/02/logstash-elasticsearch-kibana-for-windows-event-logs The great folks working on Kibana have been so awesome as to provide an example nginx configuration! https://github.com/elasticsearch/kibana/blob/master/sample/nginx.conf Kibana promptingContinue reading “Securing Elasticsearch / Kibana with nginx”

Logstash / Elasticsearch / Kibana for Windows Event Logs

Edit: This post is pretty old and Elasticsearch/Logstash/Kibana have evolved a lot since it was written. Part 1 of 4 – Part 2 – Part 3 – Part 4 Have you heard of Logstash / ElasticSearch / Kibana? I don’t wanna oversell it, but it’s AMAZING! I’ll start with a screenshot. You know you wantContinue reading “Logstash / Elasticsearch / Kibana for Windows Event Logs”

HTTP Live Streaming Windows Desktop to Roku Using VLC

I should stop reading Reddit when I’ve got some time to kill. It ends up eating into time I don’t have to kill. http://www.reddit.com/r/Roku/comments/1b9uuv/stream_desktop_to_roku/c95f2nl HTTP Live Streaming (HLS) looks pretty easy to do with VLC. http://wiki.videolan.org/Documentation:Streaming_HowTo/Streaming_for_the_iPhone It requires having a local web server. xampp is my favorite way to install apache on windows. You couldContinue reading “HTTP Live Streaming Windows Desktop to Roku Using VLC”