Announcement

Collapse
No announcement yet.

How to allow DeviceScriptButton to execute at the same time?

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

  • How to allow DeviceScriptButton to execute at the same time?

    It seems as a default any DeviceScriptButton added to a device is set to "Single Instance Option" by default. Is there a way to set this so it can run at the same time?

    The error I get:
    "Not running script since its already running: AV-Denon-HTTP.vb Single instance option enabled in event properties"

    What I am doing: I have a set of devices I use to send HTTP commands to my denon. They all use the same script's "SendCommand" function. so when I run the following Event one of them invariably fails as it is executing the same script at the same time.

    Set Device Media Family Denon - Power to ON
    Then Set Device Media Family Denon - Input to DIRECTV
    Then Set Device Media Family Denon - Surround to STANDARD
    Then Set Device Media Family Denon - Volume to Volume 35%

  • #2
    Bump - any ideas? Is this a bug I should log?

    Comment


    • #3
      Use the new hs.DeviceScriptButton_AddButton function. This is set to multi-instance script running by default.

      Example: http://board.homeseer.com/showpost.p...72&postcount=8
      Jon

      Comment


      • #4
        Works! Thx!!

        Comment


        • #5
          Hi, robilium

          I have also a denon (AVR3313),

          i want send some command to denon to switch on my bluray, close the shutter, and other action.

          can you share your script?

          Thanks

          Jean-francois.

          Comment


          • #6
            Originally posted by jfla View Post
            Hi, robilium

            I have also a denon (AVR3313),

            i want send some command to denon to switch on my bluray, close the shutter, and other action.

            can you share your script?

            Thanks

            Jean-francois.
            Same question
            Peter

            http://ohh.pcgsm.nl

            Comment

            Working...
            X