I have written a standalone java program that manipulates Osram Lightify Bulb color temp and brightness. It is currently controlled via Mac OS 'LaunchAgent' which is similar to cron. LaunchAgent starts up every 5 minutes, and the java program only runs for a few seconds. I would like to control it from the Indigo server if possible. The color changing bulbs are in a few lamps in a larger great room. The room also has many recessed lights controlled by Insteon switches..
So my goal is to do the following:
1) If no Insteon switched recessed lighting is in use, run the color/dim changing java program to manipulate bulb temps.
2) if recessed lighting is in use, do NOT run the color/dim java program.. Instead I plan to manipulate color/dim levels in accordance with the Insteon switches
Any examples you can point me to that show how to invoke a java program from Indigo (on a scheduled basis)? At some point I may look to re-write this java program in python but I am not yet ready
thanks in advance!