Announcement

Collapse
No announcement yet.

Looking for scripting help

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

    #46
    I believe the BLLED manual gives examples of how it can display values/strings from HS devices. Have you checked that?
    HS 3.0.0.548: 1990 Devices 1172 Events
    Z-Wave 3.0.1.262: 126 Nodes on one Z-Net

    Comment


      #47
      I do the same if a song starts playing on a squeezebox audio player, but in theory you can just populate the text label field with something like this:

      Code:
      $devicestring[2359]
      and then run an event to show that specific label when the movie starts playing. Replace 2359 with the reference ID of the BLPlex device that has the movie title. If that does not work, I would suggest creating a ticket on Blade's help desk.
      HS 3.0.0.548: 1990 Devices 1172 Events
      Z-Wave 3.0.1.262: 126 Nodes on one Z-Net

      Comment


        #48
        Yes, but I'm still confused and must be having a brain fart..

        In HS I ran a small script when a movie started in the theater. It sent a message to the betabrite sign.

        Sub Main
        Dim Movie
        Dim Rating
        Dim Runtime
        Dim Message

        Movie = hs.DeviceString("x60")
        Rating = hs.DeviceString("x61")
        Runtime = hs.DeviceString("x62)

        msg = "Now Showing " & Movie & '" {newline}Rated{newline}* " & Rating & " *{newline}with a runtime of{newline}* "
        msg = msg & Runtime & " * "

        hs.RunEx "Snevl_bb.vben", "queue_msg","1|A|30" & msg

        End Sub



        Now in trying to discover the devices for Movie, Rating, and Duration I see that the BLPLex plugin creates devices for each computer or iPad running PLEX (as in the 1st picture) and "sub devices" (in this case the player I want is "iDrone" under each instance that houses the data I want to display (2nd Picture). How do I get the device information into a message??


        I am at a loss of how to convert this.

        Thanks again - sorry to be such a pain.

        Comment


          #49
          Sorry, I know nothing about BLPlex, and no pictures are in your post.
          HS 3.0.0.548: 1990 Devices 1172 Events
          Z-Wave 3.0.1.262: 126 Nodes on one Z-Net

          Comment


            #50
            Hear are the pics..


            After seeing your post - maybe I just need the device number? How do I find it?


            Comment


              #51
              You can see it on the Advanced tab for the device, when you click on it in the Device Management page.

              PS looks like you are on HS4 with which I have no experience, so not 100% sure how you get to it there.
              HS 3.0.0.548: 1990 Devices 1172 Events
              Z-Wave 3.0.1.262: 126 Nodes on one Z-Net

              Comment


                #52
                oops. Still learning HS4. Found it in the settings.

                Quite different form HS2.

                Comment

                Working...
                X