Announcement

Collapse
No announcement yet.

run delayed event on startup/restart... Best Practice ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • run delayed event on startup/restart... Best Practice ?

    I have an event that i want to run 5 minutes after homeseer starts or restarts.


    I assume it can be put in the startup.vb file..


    If my event is called "RunAfterStart".. what would be the syntax?


    Do i delay it in the event with a wait in the event?.. or in the startup.vb script.



    thanks in advance for any insight/help.
    Regards,

    Andrew B.

  • #2
    Originally posted by ArbWare View Post
    I have an event that i want to run 5 minutes after homeseer starts or restarts.


    I assume it can be put in the startup.vb file..


    If my event is called "RunAfterStart".. what would be the syntax?


    Do i delay it in the event with a wait in the event?.. or in the startup.vb script.



    thanks in advance for any insight/help.
    You would launch the event from your startup file using hs.DelayTrigger. The example is for 5 minutes.
    Randy Prade
    Aurora, CO
    Prades.net

    PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

    Comment


    • #3
      Thank you very much.
      Regards,

      Andrew B.

      Comment

      Working...
      X