|
|
|
The following page was printed from RemoteCentral.com:
Alternative to POWER status command in...
| |
|
Topic: | Alternative to POWER status command in IF statements This thread has 27 replies. Displaying posts 1 through 15. |
|
Post 1 made on Friday July 23, 2010 at 03:21 |
brodyboy Long Time Member |
Joined: Posts: | April 2008 375 |
|
|
I want to construct a conditional IF/THEN/ELSE macro around the power status of a component that doesn't have a discrete POWER STATUS query command. So I'm wondering if it's possible to use an existing status query as a "proxy," where a response indicates the power-on state, and a failure to respond (indicating a power-off state) would result in execution of the ELSE argument. Example: IF [PIP status] Pioneer 151FD returns [PIP OFF] ⇒THEN ....macro for the power-on state ⇒ELSE ....macro for the power-off state
Or would the failure to receive any response (from the powered-off component) simply result in an error that terminates the whole macro?
|
|
Post 2 made on Friday July 23, 2010 at 05:02 |
sydinstaller Active Member |
Joined: Posts: | February 2004 740 |
|
|
Great question!
that should only take a min or two to test.
Please let us know your results.
D.
|
|
OP | Post 3 made on Friday July 23, 2010 at 05:52 |
brodyboy Long Time Member |
Joined: Posts: | April 2008 375 |
|
|
Will do.
I just thought someone might know how the IF function responds to a "non-response" and save me the trouble of testing. ;)
|
|
Post 4 made on Friday July 23, 2010 at 15:07 |
Duct Tape Loyal Member |
Joined: Posts: | November 2008 5,294 |
|
|
the nevo must receive a response. i had tried this using a computer to see if I could query the power state of the PC (using eventghost) If the PC was off, I didnt get a reply (since eventghost wasnt running) and the Nevo would not perform the macro.
|
|
|
OP | Post 5 made on Friday July 23, 2010 at 17:51 |
brodyboy Long Time Member |
Joined: Posts: | April 2008 375 |
|
|
On July 23, 2010 at 15:07, Duct Tape said...
the nevo must receive a response. i had tried this using a computer to see if I could query the power state of the PC (using eventghost) If the PC was off, I didnt get a reply (since eventghost wasnt running) and the Nevo would not perform the macro. Yeah, that's what it looks like. :( Thanks for the reply. I'm just now exploring another approach using certain ERROR responses......I'll report back if anything fruitful develops.
|
|
Post 6 made on Friday July 23, 2010 at 21:26 |
sydinstaller Active Member |
Joined: Posts: | February 2004 740 |
|
|
You may have more luck using Widgets.
You could try count the incoming (output from device) charachters. If there are none then that would mean it was off.
What do you think?
D.
|
|
OP | Post 7 made on Friday July 23, 2010 at 22:07 |
brodyboy Long Time Member |
Joined: Posts: | April 2008 375 |
|
|
Aren't we then way beyond the capabilities of an IF statement? You may well be right, but I was hoping to find a way to quickly ascertain the power status of a display panel within the context of some setup macros. (Without resorting to a bunch of extra Xantech gear.....) I thought that a non-response, if handled in some predictable, usable way by the remote, might offer that possibility.
It may be that there's just no simple solution when the panel can't respond to any query from the STANDBY state.
|
|
Post 8 made on Friday July 23, 2010 at 23:48 |
sydinstaller Active Member |
Joined: Posts: | February 2004 740 |
|
|
If that is all you need, than why not use the video sensor (nevo one)?
Stick it in the video out, if the TV is on then the sensor will detect the load.
D.
|
|
OP | Post 9 made on Saturday July 24, 2010 at 03:19 |
brodyboy Long Time Member |
Joined: Posts: | April 2008 375 |
|
|
On July 23, 2010 at 23:48, sydinstaller said...
If that is all you need, than why not use the video sensor (nevo one)?
Stick it in the video out, if the TV is on then the sensor will detect the load.
D. There's no video out. ------ As a side note, I haven't completely lost hope on the "no-response-as-a-condition" idea. I was playing with it earlier tonight and it actually worked! ...sporadically. I'm going to see if adjusting the command timing might result in a reliable solution.
|
|
Post 10 made on Saturday July 24, 2010 at 19:40 |
sydinstaller Active Member |
Joined: Posts: | February 2004 740 |
|
|
No video out, wow, whats the world comming too? You can also use the digital coax out (most tvs only have optical though) Nice work on the no reply test. I have also used with great success trickle star, [Link: tricklestar.com], I use the TV saver. You connect the TV as the load and the secondary you put a 12v psu. Here in Australia that would cost you less than $80 and works every time. Much cheaper Infact it has been so usefull that I sent Nevo the info to make an app note. App note 26 to be exact. [Link: mynevo.com]D.
|
|
OP | Post 11 made on Saturday July 24, 2010 at 23:26 |
brodyboy Long Time Member |
Joined: Posts: | April 2008 375 |
|
|
That looks like a pretty efficient solution. I'll certainly consider it if my current efforts fail.
At this point, I'm kind of on a mission to see if there's a way to resolve this with just Nevo programming and hardware. I have Nevo video and voltage sensors, but I'm not using them here because Pioneer plasmas just don't seem to have an "out" that'll trigger either of them. There's an optical out, an IR repeater, L/R/Sub audio outs, something called "Control Out" (for which I've never seen any documentation), and the speaker terminals. That's it. ------
I'm really perplexed right now as to why my "experimental" IF macro is working at all, albeit unreliably. Here's what I'm sending to the TV in its standby state (I used PIP cause it's always off):
IF [PIP status] Pioneer 151FD returns [PIP OFF] ⇒THEN .....Beep ⇒ELSE .....Send [POWER ON] to Pioneer 151FD
With the TV in standby, it's not sending a response (I tested for that), so that should just halt the macro. And indeed, the first time I hit this button, I get nothing, exactly as you'd expect. But the 2nd or 3rd time, the TV powers on.
Any thoughts??? If I understood what's happening, I could hopefully use it in a more effective way.
|
|
Post 12 made on Sunday July 25, 2010 at 02:30 |
sydinstaller Active Member |
Joined: Posts: | February 2004 740 |
|
|
Well I would have thought that "nothing" is clasified as not a match so the macro would run.
I have sent an email to Nevo to clarify. I will let you know what they say.
D.
|
|
OP | Post 13 made on Sunday July 25, 2010 at 02:48 |
brodyboy Long Time Member |
Joined: Posts: | April 2008 375 |
|
|
Thanks. I'll be curious to hear what they have to say.
That was the hope behind this whole endeavor, BTW- that a non-response would simply prompt execution of the ELSE argument.
|
|
Post 14 made on Sunday July 25, 2010 at 08:40 |
Duct Tape Loyal Member |
Joined: Posts: | November 2008 5,294 |
|
|
that is what I was hoping for when I was interfacing with the PC. I wanted to query Eventghost to ask if the PC was turned on. If the PC was off, I was hoping that the Nevo would perform the Else statement, which would have been the power toggle command to turn it on. It just doesnt want to work that way.
I ended having to open up the PC and put in a voltage sensor on a couple wires that were feeding 5 volts to the display for the IR controller when the PC was turned on.
|
|
|
Post 15 made on Monday July 26, 2010 at 04:45 |
sydinstaller Active Member |
Joined: Posts: | February 2004 740 |
|
|
Hi,
Reply from Nevo: ~~~ It will not do anything. When NevoConnect expects an answer but doesn’t get anything, you’ll see a red exclamation mark and the IF/Then command isn’t processed any further. ~~~
So is this what you are experiencing?
I still think that widgets would be best. There should be nothing hard using it.
D.
|
|
|
Before you can reply to a message... |
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now. |
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.
|
|