Announcement

Collapse
No announcement yet.

HS4 / Linux scripts

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

    HS4 / Linux scripts

    Hi all,

    I am trying to write a script on a Raspberry Pi HS4 installation, and getting blocked.

    the included startup.vb runs at boot, writes a simple message to log, no issues
    my scripts are in the same folder, with the same permissions as startup.vb, and I can't get them to run

    to eliminate complexity, I tried in a test event to run startup.vb and prove out the installation,
    Execute the command:
    &/usr/local/HomeSeer/scripts/startup.vb
    and
    wait for the command to finish before continuing
    , and also
    only allow one instance of the script to run at a time.

    which fails with
    "Compiling script (1)/tmp/K1.vb: Expression expected."

    So I'd really appreciate a hint as to what I'm doing wrong, and any pointers as to where I can learn more about scripting on the Linux platform

    Thanks for any help


    #2
    You are running a script incorrectly.

    See below:

    Click image for larger version

Name:	Capture.PNG
Views:	153
Size:	55.8 KB
ID:	1519469
    Jon

    Comment


      #3
      Perfect. Thanks for the quick response Jon. Off and running!

      Comment

      Working...
      X