Calendar module - run commands

Hi All,

displays like the Philips 10BDL3051T are used for meeting systems. They have LED lights which shows the status of a room (free = green / used = red). These LED’s could be controlled by XIBO commands:

tpv_led|off
tpv_led|red
tpv_led|green
tpv_led|blue
tpv_led|white

Now it would be very cool if I could define commands in the calendar module which are automatically executed depending on events:

current event = yes: tpv_led|green
current event = no: tpv_led|red

Bye,
Christian