Sep 04 2013 0

Workplace Modifications

Since we have moved to our new apartment I started to make several modifications to my workplace. The reasons for me to start drilling and sawing into my desk are twofold.

The first reason is that I just have too much gadgets that I want to keep near at hand, second reason is that although there is a lot of stuff I still would like to keep my desk tidy.

Aug 30 2013 0

Certificate Expires Soon (Mac OS X Server)

Since a week or so I am receiving daily emails from my Mac Mini (running Mac OS X Server) that some certificates are expiring soon. Some of them could be easily renewed using Server.app by going to the Alerts and clicking on ‘Renew’.

But some of them there is only the warning but not an option to renew the certificates

Aug 25 2013 0

Additional Rules

##Unhealthy Humidity##

Ever since we moved into our new apartment we noticed that the relative humidity is very low, sometimes even as low as 20%. This has caused some sparkling moments between my wife and myself…

Aug 22 2013 0

Rule definitions

In my previous post I detailed the changes to the data collecting Python script and an additional script fired by crontab. In this post I will describe the code behind the rule-engine.

Table to store rule definitions

Aug 22 2013 0

DNSSEC Issues

I recently noticed that when I was using Google Public DNS I could not reach my own domain at littlegemsoftware.com. Using other DNS services like my own ISP or for instance OpenDNS everything was working fine.

If it would have been just for me, switching to another DNS service would have been fine. However I am running services on littlegemsoftware.com for my iOS application WoW Realms and obviously I have no say in the matter what my users will be using for their DNS service.

Aug 21 2013 0

Integrating Pushover into Raspberry Pi Project

In my previous post I talked about using the Pushover service for sending notifications from the Raspberry Pi to my mobile devices. Now it is time to actually define some of these events.

Event Condition Interval
New Record New highest/lowest temperature detected 5 min
No Data Logged No new data since at least 5 minutes 5 min
Temperature Difference Rise/Drop >= 1°C 30 sec
Aug 13 2013 0

Improving MySQL query performance

Performance for the charts pages was getting worse and worse the more data was collected from all the sensors connected to the Raspberry Pi. It was not only taken a lot of time to get any results, but also CPU usage by the MySQL process jumped to around 90%.

High time to do some further optimization.

Aug 08 2013 0

Sending Push Notifications from RPi using Pushover

My Raspberry Pi has been humming along for quit some time now. Next thing to add to the project is a mechanism to send notifications when certain events occur (sudden increase/drop in temperature, etc.). Probably the simplest method for sending these type of notifications would probably be via email, but I don’t like it. I would rather implement some sort of push notifications.

I am already using Pushover to have IFTTT send notifications from several services to my mobile devices. So for me it makes sense to use the Pushover service. The Pushover service itself is free (no monthly fees), however the client applications are priced at $4.99 (iOS or Android).

This blog is powered by Blot