Is there a way to use a script that generates an image to display a device state in Indigos webserver? For example I would like to see how long ago a room was occupied using a colored background (red -> green). If motion is detected a variable is set to the timestamp. Now I would like to use this timestamp in a script to calculate how long ago the motion was detected and generate an image colored from red->yellow->green fainting away the longer ago the motion was.
Can I pass device values or variables to a script to generate an image for the web server? If not this may be a great idea to enable a lot of great control pages. If the Indigo web server don’t support php maybe it is possible to include ‚external‘ images from Apples apache installation with php enabled?