Announcement

Collapse
No announcement yet.

Create a new script via the Web interface?

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

    Create a new script via the Web interface?

    Hello,

    Is there a way to author a new HS script (on disk, with a new filename) using HS's Web interface?

    Thanks.

    #2
    Yes. First create a new event. Then to the right of the new event is a light green hyperlink called scripts. Select this and then at the bottom of the page is a text box to key in a new script if you so desire.

    -Rupp
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      Thanks, but I already tried that.

      After I enter my script program, when I click on the "Save Script" button below the script entry text field, nothing happens: that is, the same script entry page refreshes, and is completely blank. I'm never prompted for a filename, so if it is indeed being saved on disk in the Homeseer scripts subdirectory, I have no idea under what name, nor how to ever refer to it again. Moreover, if I go back to the Events list page, find my new event, and click on the Script link, I'd expect to see the script content I entered associated with this event: I don't, I just get another blank page. It seems like the script code I entered is going into the bit bucket.

      Thanks for your reply.

      Comment


        #4
        You need to first key in the name of the script you want to create in the top most box labeled "Run Script(s), or execute statement ie: &hs.SetDeviceString "A1","Open"
        "
        Like: Myscript.txt

        Then select submit selections. This will populate the title of the script box with your script and allow you to start typing your script. Upon completion select the "Save Script" button.

        -Rupp
        💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

        Comment


          #5
          ...I can't get that to work.

          Just to verify, here's what I did: Entered a filename "MyTest01.txt" (w/o quotes) in the topmost text field. Went to the "Script:" text area, and typed in some code. Clicked on the "Save Script" button. Page then refreshed with all fields empty. Went back to the event in question, clicked on the Script link. Back to the Scripts page, again all fields empty. Clicked on the "Available Scripts:" dropdown expecting to find my new script in the list. It isn't there.

          Comment


            #6
            Key in your script name and Then select submit selections. Then type your script.

            -Rupp
            💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

            Comment


              #7
              Ok, I see how it works now.

              Guess I didn't try all the possibilities...thank you.

              Comment

              Working...
              X