DCF controlled time switch

I needed a way to automatically control the main heating of my parents house. The basic idea is to start the heating at a certain time in the morning, and to switch it off at night. The switching points are different on various weekdays.

Of course, I could have bought a time switch. However, those things alway tend to have too much or too little switching points, an inaccurate clock, or they are just too complicated to be programmed (ok, this is relative, but you’ll agree with me that time switches with an RS232 port for programming are not really common ;-).

One of the first things I planned to make once I learned working with microcontrollers was a DCF77 time decoder. I never found the time to actually start building one, so this was the perfect excuse. I decided to make a PIC-controlled time switch that gets its time updated through the DCF77 radio signal.
Continue reading DCF controlled time switch

WRT54G and the Dynamic IP services of BNamed.net

BNamed.net offers a dynamic IP service as a part of their domain name registration services.

They offer client software for updating your IP address, but the provided script requires some changes in order to work on your WRT54G(S).

Below, you can a modified script for the Linksys WRT54G that updates your registered IP address when it has changed.

Continue reading WRT54G and the Dynamic IP services of BNamed.net

File decimater

A simple script that allows to strip a certain file by retaining only a subset of the lines of the original file.

Usage:

 dcmate <inputfile> <lines_to_skip>

There is also a trivial graphical interface to the tool, called ‘dcmatex’. Put the file in the same folder as the ‘dcmate’ script. It requires the Perl::Tk module.

Download: dcmate

Download: dcmatex

Outlook calendar event generator

This script will generate a list of events that can be imported in your Outlook calendar. Comes in handy if you work in shifts that are not week-aligned.

You can enter the events quickly in a graphical representation of the days of a specific month. The idea is that you first select a ‘shift’ and that you then click on the days that should be assigned the selected shift. The buttons in the calendar view will change color to reflect the new shift.

Once all events are entered, the Outlook import file can be generated by clicking the ‘generate’ button.

The GUI looks like this:

Download: caltool

Continue reading Outlook calendar event generator