From: MH U. <mh...@tr...> - 2003-08-16 16:09:11
|
Hello, I have used the web interface (items.pl) to define an X10 device as follows: X10A M2 Test01 Downstairs|LivingRoom(0;0) It works fine, I can toggle it via the floorplan.pl interface. I want to turn the device off every 30 minutes. My question is how do I define a trigger for it via the web interface. I tried: TestTrig1 time_cron '05,35 * * * *' set $Test01 = 'Off' (unsure of the cron format, I also tried: TestTrig1 time_cron '* 05,35 * * *' set $Test01 = 'Off' I get en error message that Test01 needs to be an explicitly defined package. It doesn't seen to recognize the fact that Test01 is a device defined already. What is the correct syntax for the triggers.pl screen to set the state of an X10 object? Thanks. -tom Disclaimer - unix novice with 0 perl experience. |