Hi everyone.
I am stuck. I have an event called "dvd play" which blasts an IR signal. But I want to blast the IR signal ONLY when the dvd player is on.
I have an INSTEON X/10 probe connected to the dvd which correctly reports the status (On or Off) to a homeseer device "dvd status".
Can't seem to set the manual trigger condition is execute event only when "dvd status" = ON.
Also, would really like to execute another event "error message-- turn on dvd player" if "dvd status" = Off, when I execute "dvd play" reminding me to turn the dam thing on.
Clarification:
If "DVD status" = ON then execute event "DVD Play" else run event "Error Message".
If the "else" parameter is not available outside of scripting, then I guess I will settle for:
If "DVD status" = ON then execute event "DVD Play"
I have no idea how to write any scripts at this point. (Is there a scripting book "FOR DUMMIES"-- I do understand programing basics, just have no idea of the syntax of scripting or even what computer language is used.)
One the same topic, (sort of) every time I run an event "tv power" I would like to toggle a virtual device on and off. In this manner I can keep track of the status of the tv.
Using separate and discrete on and off events, this would be easy. But, would like to be able to use just "tv power" event to toggle a virtual device.
Clarification:
So first instance of event "tv power" -- virtual device =ON; second instance of event "tv power" --virtual device = Off; third instance of event "tv power" -- virtual device =ON; forth instance of "tv power" -- virtual device = OFF, and so on.
Thanks all.
Doug.
(P.S. I have just enough knowledge to be dangerous and hope I have explained the problem well enough, if not please let me know what information is needed.)
I am stuck. I have an event called "dvd play" which blasts an IR signal. But I want to blast the IR signal ONLY when the dvd player is on.
I have an INSTEON X/10 probe connected to the dvd which correctly reports the status (On or Off) to a homeseer device "dvd status".
Can't seem to set the manual trigger condition is execute event only when "dvd status" = ON.
Also, would really like to execute another event "error message-- turn on dvd player" if "dvd status" = Off, when I execute "dvd play" reminding me to turn the dam thing on.
Clarification:
If "DVD status" = ON then execute event "DVD Play" else run event "Error Message".
If the "else" parameter is not available outside of scripting, then I guess I will settle for:
If "DVD status" = ON then execute event "DVD Play"
I have no idea how to write any scripts at this point. (Is there a scripting book "FOR DUMMIES"-- I do understand programing basics, just have no idea of the syntax of scripting or even what computer language is used.)
One the same topic, (sort of) every time I run an event "tv power" I would like to toggle a virtual device on and off. In this manner I can keep track of the status of the tv.
Using separate and discrete on and off events, this would be easy. But, would like to be able to use just "tv power" event to toggle a virtual device.
Clarification:
So first instance of event "tv power" -- virtual device =ON; second instance of event "tv power" --virtual device = Off; third instance of event "tv power" -- virtual device =ON; forth instance of "tv power" -- virtual device = OFF, and so on.
Thanks all.
Doug.
(P.S. I have just enough knowledge to be dangerous and hope I have explained the problem well enough, if not please let me know what information is needed.)
Comment