Category Archives: IfThenElse

IfThenElse: RFID card interaction.

A while back I bought a small USB rfid reader, after I got it, it turned out to be utter crap. While in theory being very nice, it turned out to be a bit dissapointing. So I left it in lying in a box. Yesterday I thought, lets use it for my domotica box. Now read more »

IfThenElse and Domotica..

I created the following IfThenElse script:   What this does it the following: MPD: If my MPD box is playing,  power on  stereo, wait 5 seconds and switch to the right channel. XBMC: If xbmc is playing (or a remote pc (aka desktop) outputs audio via the local pulseaudio server) power on stereo, wait 5 read more »

IfThenElse: Added some documentation.

It is only a beginning, but it can be found here: http://api.sarine.nl/ifthenelse/ifthenelse/IfThenElse.html. If you have requests let me know. (on github)

IfThenElse: A new file format

Because of some complains I got about the file format (xml, hard to handwrite) and the extra dependency on GTK it added, I wrote my own TinyBuilder that parses ini style files. So an example in the current version would be: ?View Code INI1 2 3 4 5 6 7 8 9 10 11 12 read more »

IfThenElse: Looking for somebody to write a gui

I am looking for somebody that can write a small gui for IfThenElse.. Basically it should allow users to draw a flowchart, edit properties on nodes and generate parsable format data for me. I looked at goocanvas, and it seems very suited for this. I don’t have time todo it myself (though I _realy_ want read more »

Putting IfThenElse to work

I blogged previous about IfThenElse..  It is a very simple tool, but combined with random other programs can become a fun and powerful tool: The following script locks my screen, puts jabber status on away when I turn off the lights in the room.  Unlocks the screen when turning the lights back on.. Also when read more »

If Then Else

I wrote a small tool. in the past day. called IfThenElse (Yes needs a better name). The idea is simple: You have a trigger, for example a timeout. So for example every 10 minutes check the network state. When the network state is connected, Check every 2.5 minutes google reader for unread messages. When there read more »