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.
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.
Eventghost wait in minutes+hours?
Eventghost wait in minutes+hours?
Title says it. The max time I can do is 16 minutes because it only goes up to 999 seconds. Tasker handled it really well. This is how they did it
Re: Eventghost wait in minutes+hours?
your post is a bit short.
I suppose you try to use the built in wait action.
Avoid it, use a timer instead. Because, the wait action will block EG until the wait time elapses.
Timers will fire an event when the specified time is elapsed and won't block during that time.
I suppose you try to use the built in wait action.
Avoid it, use a timer instead. Because, the wait action will block EG until the wait time elapses.
Timers will fire an event when the specified time is elapsed and won't block during that time.
miljbee
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
Re: Eventghost wait in minutes+hours?
miljbee,
Could I ask where the timer Action is located? I don't see it in the list of actions.
Edit: I think I found it. Are you referring to the "Set Idle Time" under System? Can you use a variable with this action? Right now, I use the time.sleep() function with a variable. It doesn't look like the GUI allows a variable with the idle timer. Is there an equivalent python command? Thanks.
Edit2: Might have found that too: eg.plugins.System.SetIdleTime(60.0). Do I need to import anything and what would be the python command? Thanks.
Could I ask where the timer Action is located? I don't see it in the list of actions.
Edit: I think I found it. Are you referring to the "Set Idle Time" under System? Can you use a variable with this action? Right now, I use the time.sleep() function with a variable. It doesn't look like the GUI allows a variable with the idle timer. Is there an equivalent python command? Thanks.
Edit2: Might have found that too: eg.plugins.System.SetIdleTime(60.0). Do I need to import anything and what would be the python command? Thanks.
Re: Eventghost wait in minutes+hours?
You need to add the Other\Timer plugin to get the action.kkl wrote:Could I ask where the timer Action is located? I don't see it in the list of actions.
Set Idle Time is something different.
jonib
Re: Eventghost wait in minutes+hours?
Thanks for the tip, but I'm not sure if that does what I need. My generic flow is:jonib wrote:]You need to add the Other\Timer plugin to get the action.
Set Idle Time is something different.
Code: Select all
Action1
Wait(variable)
Action2Re: Eventghost wait in minutes+hours?
I haven't used the Timer but I assume you would need to move "Action2" to a new macro that reacts to the timer event.kkl wrote:Thanks for the tip, but I'm not sure if that does what I need. My generic flow is:Code: Select all
Action1 Wait(variable) Action2
I guess the timer is better used when the delay is longer and you don't want to block other events.time.sleep() works for me, but it does lock-out any other event during that time.
jonib
Re: Eventghost wait in minutes+hours?
Here is a sample tree
- Attachments
-
- timerDemo.xml
- (893 Bytes) Downloaded 262 times
miljbee
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
Re: Eventghost wait in minutes+hours?
Thanks for the help.
Re: Eventghost wait in minutes+hours?
Resurrecting the thread so I can say thanks! My Dyson fan am04 does not have a timer! I got it to work for 15 minutes and then shut off with the help of this thread!miljbee wrote:Here is a sample tree
