home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
Power Off/Standby - Start batch file
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Luca Brasi" data-source="post: 1193228" data-attributes="member: 60220"><p>Hi,</p><p>I solved a similar thing with eventghost. First you'll have to teach your harmony to send an additional command before sending the sleep/power off command. I am running a harmony hub here and I was told that other harmonys don't have all the options mine has. So this might not be possible for you but you should have a look... In my case I set it up on the harmony action but it is possible to tweak that on the device as well. For the action go to the respective one in the harmony control center and chose the 4. menu item for that. In my german setup it's called "Diese Aktion anpassen":</p><p></p><p>[ATTACH=full]181427[/ATTACH]</p><p></p><p>You'll be able to chose additional commands to send on start or end of this action:</p><p>[ATTACH=full]181428[/ATTACH]</p><p></p><p>As you can see I added a command and a pause for the end of the action.</p><p>Now, eventghost will pick up the Teletext command and this will trigger some actions in eventghost:</p><p></p><p>[ATTACH=full]181429[/ATTACH]</p><p></p><p>Instead of the preend loop script in my case you'd trigger your batch here.</p><p>You might notice that I have a macro for the final "htpc OFF" as well. This is because I taught my harmony not to send the pc to sleep but to use another command. So this is possible on my harmony as well and as it would be a solution for your requirement too you could have a look at that if the above solution doesn't work. Same goes for tweaking the harmony device with an additional command and a pause before the power off command.</p><p>So if the the above is not available for you in the harmony control center let me know and I'll help you trying the other two options.</p><p></p><p>Edits: Sorry for not reading the previous post from CyberSimian thoroughly and repeating some stuff he already said! </p><p>And anther solution came to my mind: If you set windows not to go to standby or power off when the power button is pushed your system won't do anything when receiving the command from the harmony. But you can still pick up that command in eventghost, trigger the script and after some waiting send the sys to sleep from there.</p></blockquote><p></p>
[QUOTE="Luca Brasi, post: 1193228, member: 60220"] Hi, I solved a similar thing with eventghost. First you'll have to teach your harmony to send an additional command before sending the sleep/power off command. I am running a harmony hub here and I was told that other harmonys don't have all the options mine has. So this might not be possible for you but you should have a look... In my case I set it up on the harmony action but it is possible to tweak that on the device as well. For the action go to the respective one in the harmony control center and chose the 4. menu item for that. In my german setup it's called "Diese Aktion anpassen": [ATTACH=full]181427[/ATTACH] You'll be able to chose additional commands to send on start or end of this action: [ATTACH=full]181428[/ATTACH] As you can see I added a command and a pause for the end of the action. Now, eventghost will pick up the Teletext command and this will trigger some actions in eventghost: [ATTACH=full]181429[/ATTACH] Instead of the preend loop script in my case you'd trigger your batch here. You might notice that I have a macro for the final "htpc OFF" as well. This is because I taught my harmony not to send the pc to sleep but to use another command. So this is possible on my harmony as well and as it would be a solution for your requirement too you could have a look at that if the above solution doesn't work. Same goes for tweaking the harmony device with an additional command and a pause before the power off command. So if the the above is not available for you in the harmony control center let me know and I'll help you trying the other two options. Edits: Sorry for not reading the previous post from CyberSimian thoroughly and repeating some stuff he already said! And anther solution came to my mind: If you set windows not to go to standby or power off when the power button is pushed your system won't do anything when receiving the command from the harmony. But you can still pick up that command in eventghost, trigger the script and after some waiting send the sys to sleep from there. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Power Off/Standby - Start batch file
Contact us
RSS
Top
Bottom