Announcement

Collapse
No announcement yet.

Startup Script

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

    Startup Script

    Anyone got a basic HS2.0 startup script they would like to share? I upgraded from 1.7.41 and copied my config and scripts directories over and now I get an error from my existing startup script. It is a syntax issue with an if statement but I figured it would be easier toi get a known working script and edit it.

    #2
    Kevin,
    The startup.txt file can be blank and usually is unless you desire to do tasks in this file. If you post yours we can help you sort it out or simply comment out the offending lines until you get it working.
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      Thanks, here is the line in the log and the script I use is attached (I hope).


      12/29/2005 9:32:22 PM - Error - Running script, script run or compile error in file: startup.txt1012:Expected 'If' in line 30 More info: Expected 'If'
      Attached Files

      Comment


        #4
        Kevin,
        Add end if just above your end sub and it should work just fine. Like this

        end if
        end sub
        💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

        Comment


          #5
          Thanks I figured it was simple -- that did it.

          Comment

          Working...
          X