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.

Standby

Questions and comments specific to a particular plugin should go here.
Post Reply
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Standby

Post by Prinz »

Hi,

I have written a new plugin, which offers a better control of the standby function.

The features of the plugin are:
  • Triggering the standby timer using different standby times
  • The standby timer can be enabled, which can be triggered by an application

    The standby timer can be disabled, which can be triggered by an application

    The Enable/Disable can be counted (Disable count up, enable count down). If the count is zero, the standby timer is enabled

    Different counters and standby time for different applications

    If the time between an enabling and disabling event is too long, the standby timer can be enabled after a given time. This is somthing similiar to a watch dog control. In this case a event "StandbyControl.Release.applicationName" is executed

    If the standby condition is detected, the event "StandbyControl.Trigger" is executed. Using this event, a rule can be executed, which terminates some applications before standby.
Could you give me some feedback?

Thanks
Prinz

I have found a small bug, in this case the downlload file is removed
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: Standby plugin

Post by Prinz »

Hi,

no I have fixed the bug.

Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: Standby plugin

Post by Prinz »

Hi,

a new release is now available.

following changes are done:
  • Some minor bugs are fixed
  • A Count Down OSD is implemented, which is creating a event named "StandbyControl.OSDCountDownFinished" if the count down is completed. It is using the OSD of the EventGhost.
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Standby plugin new version for 0.3.7.r851

Post by Prinz »

In case of the new EventGhost version (0.3.7.r851) also a new version of the standby plugin is necessary.

Following bugs are fixed:
- Logging improved
- Standby/Hibernate improved (In some cases a standby trigger could occur on resume)

Regards
Prinz

EDIT: Attachment is removed in case of a configuration GUI bug.
Last edited by Prinz on Sun Mar 29, 2009 6:58 am, edited 1 time in total.
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Fix of Standby plugin for 0.3.7.r851

Post by Prinz »

Hi,

I have seen, that I have attached the wrong plugin version in my last post. This version contained still a bug in the configuration dialog.

The fixed new version is attached to this post.

Best regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

StandbyControl V1.04

Post by Prinz »

New version 1.04 released.

Following features added:
  • Process monitor added
  • New actions: IsMonitoredProcessRunning, Wastriggered
  • An external OSD can be used by the OSD count down (e.g. DVBViewer-Plugin: ShowInfoinTVPic )
Regards
Prinz
Attachments
StandbyControl_1_04.zip
(12.36 KiB) Downloaded 521 times
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Standby

Post by Bitmonster »

Well, I have some problem to understand this plugin. It is quite confusing for me to figure out, what it actually is meant for. For example there is a application/process list in the plugin configuration, but it doesn't show anything, even if I press "refresh". And I surely have a lot of apps/process running.

Could you give some use case, where this plugin provides a solution? Just to get "the idea" of this plugin.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: Standby

Post by Prinz »

Hi,
Bitmonster wrote:Well, I have some problem to understand this plugin. It is quite confusing for me to figure out, what it actually is meant for. For example there is a application/process list in the plugin configuration, but it doesn't show anything, even if I press "refresh". And I surely have a lot of apps/process running.
You are right, the term "application name" is very confusing. I think a better name should be "application status" or something like this.

E.g. the DVBViewer plugin is generating events depend on its status. If e.g the event "DVBViewer.StartRecord" is generated by the DVBViewer plugin in my setup the eg will start a macro which contains the StandbyControl action "DisableStandby". The DisableStandby is parametrized by the "Application name" and some other parameters. In this case the application name in my setup is named "DVBViewerRecord", it's a combination of the application and the status of the application. In this case the entry "DVBViewerRecord" will apear in the list of the plugin configuration and shows, that the standby timer is disabled by these "application" and it's special status.

I know that this plugin needs a (better) documentation. I will prepare a documentation with a working example in the next days.

Regards
Prinz


EDIT:
This plugin is a replacement of the windows internal standby detection. The normal windows standby detection should be disabled. If the plugin has detected, that a standby is recommended, a EG event named "StandbyControl.Trigger" will be fired. Using this event, a EG macro should be executed, which can check some other standby related things and if the standby is possible, the EG action "System.Standby" should be executed by this macro. This trigger can also use for starting a count down.
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
schindi77
Posts: 10
Joined: Mon Oct 05, 2009 4:55 am

Re: Standby

Post by schindi77 »

Hello!

I┬┤ve got some problems with the CancelOSDCountdown function of the plugin.

I┬┤m starting a countdown when shutting down DVBViewer. During this time I┬┤m able to cancel the shutdown with a defined remote button.
But using the CancelOSDCountdown doesn┬┤t cancel the countdown. It runs to zero and fires the defined end-event.

What do I do wrong? Is there a special trick how to use it?

Thanks!

P.S.: We can also talk german....I know you from the german DVBViewer-forum.....
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: Standby

Post by Prinz »

Hi,
schindi77 wrote:I┬┤m starting a countdown when shutting down DVBViewer. During this time I┬┤m able to cancel the shutdown with a defined remote button.
But using the CancelOSDCountdown doesn┬┤t cancel the countdown. It runs to zero and fires the defined end-event.
I'm using the CancelOSDCountdown in the same way.

Which OS are you using?

Could you sent me your setup (eg PM)?

Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
schindi77
Posts: 10
Joined: Mon Oct 05, 2009 4:55 am

Re: Standby

Post by schindi77 »

Hi!

Thanks for your reply!

I┬┤m using Vista 32bit.
I┬┤ll send my setup to you when I┬┤m at home....

Best regards
Post Reply