Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Need help knowing when USB-UIRT wakes computer...

If you have a question or need help, this is the place to be.
Post Reply
nzdreamer55
Posts: 10
Joined: Sat Jan 04, 2014 5:33 pm

Need help knowing when USB-UIRT wakes computer...

Post by nzdreamer55 »

Hello everyone,

I use my USB-UIRT to control my windows 8.1x64 HTPC computer running Mediaportal. I can program the USB-UIRT to wake my computer from a sleep state using 1 of 4 individual IR codes. My remote will send 2 different IR codes for the same button alternating between them (WMC remote). Right now I turn on my computer from an off state and use eventghost to then send an IR signal to turn on my TV and TV set top box as well as a audio receiver using the Event Name="Main.OnInitAfterBoot". Here is what I found in my .xml

<Plugin Identifier="USB_UIRT" Guid="{36FD4F40-653C-4626-97CC-BE363C05F933}" File="USB-UIRT">
gAIoiIiJiXRxAC4=

I would like to put the computer into a sleep state and then use the USB-UIRT wake function, but I don't know how to link the wake function from the USB-UIRT to a macro in eventghost as there isn't anything within the eventghost that is specific for the USB-UIRT. I have tried to use Powercfg -lastwake and it does not give me any helpful info.

I cannot link it to a system.unsuspend event as there are other times when the HTPC needs to wake (record TV show, up date database, etc.) when I don't want my other things to turn on (would hate the TV to turn on in the middle of the night when no one was watching).

Please help me figure this out.

Thanks

-S
eirik226
Experienced User
Posts: 142
Joined: Wed Nov 07, 2012 5:22 pm

Re: Need help knowing when USB-UIRT wakes computer...

Post by eirik226 »

Not quite sure how you'd do this, since this is the first i've heard of that the USB-UIRT has a wake function.

But from what I gather can't you use the macro that turn your TV on from the USB-UIRT and add a event to also wake the PC? Or something like that? Eventghost does have a own WoL function. Or did I understand your question wrong?
nzdreamer55
Posts: 10
Joined: Sat Jan 04, 2014 5:33 pm

Re: Need help knowing when USB-UIRT wakes computer...

Post by nzdreamer55 »

Thanks for the reply. So I can set event ghost to run macros when the computer turns on, goes to sleep, and turns off that would turn my TV on and off. The problem is that if my computer turns on say to record a TV show, I don't want my TV powered on. I need to isolate the USB-UIRT signal to turn of the computer from other timers and things that will turn on the computer.

I don't want to buy a macro universal remote or program another button on the remote I have to turn on the TV separately.

So I need to find a way to parse out this info.

Thanks
eirik226
Experienced User
Posts: 142
Joined: Wed Nov 07, 2012 5:22 pm

Re: Need help knowing when USB-UIRT wakes computer...

Post by eirik226 »

Still not quite sure if I understand your question correctly.

From the top of my head you can use the "enable exclusively" action on the macro that turns your TV on/off, not 100% sure how you'd do it but if you try it maybe you can think of something.

For example the macro to turn your TV on and off is only enabled if set macro (can be anything, like you pushing a button on your remote enables the macro to turn your PC on and off) is used. I guess this would eliminate your problem that everything turns your TV on.

I don't have any better ideas, sorry. Learn Python would be a good solution I guess!
nzdreamer55
Posts: 10
Joined: Sat Jan 04, 2014 5:33 pm

Re: Need help knowing when USB-UIRT wakes computer...

Post by nzdreamer55 »

Thanks for the reply. Maybe someone else can help.

-S
Post Reply