Announcement

Collapse
No announcement yet.

New HSTouch Actions!

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    New HSTouch Actions!

    HomeSeer can now invoke the following actions in HSTouch:
    1. Send a message to an individual client or all clients
    2. Change to a specific screen in HSTouch based on an event
    3. Simulate a button press in HSTouch

    This opens up a lot of new possibilites! To enable these options, be sure to download and install the latest HSTouch server plug-in (.19). Then just create an event in HomeSeer and select "HSTouch Actions" from the event action list.

    voila!
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    #2
    Scripting?

    Is there a way to call these actions from a script directly?

    Comment


      #3
      HST Homeseer Actions instructions

      The Appendix of the Designer Help includes instructions and an example script. See the section titled: Controlling HSTouch Clients from HomeSeer

      Comment


        #4
        [REQ] Wake up the HST monitor

        There are lot of applications /scripts for turning on the monitor
        They work but it's difficult to control
        It will be great to have this option build in.
        This way you can trigger the screen to turn on from events.

        here is a example

        Code:
        Const HWND_BROADCAST As Integer = &HFFFF
        Const SC_MONITORPOWER As Integer = &HF170
        Const WM_SYSCOMMAND As Short = &H112S
        
        Sub Main()
            Dim instr As String = Command()
            Select Case 
              Command().ToLower
              'Make sure it matches - and look at the commandline switch 
              Case "off"
                    TurnOff()
              Case "on"
                    TurnOn()
              Case "test"
                    TurnOff()
                    'turn off monitor 
                    System.Threading.Thread.Sleep(10000)
                    'wait 10 seconds
                    TurnOn()
                    'turn on monitor 
              Case Else
                    MsgBox("Usage, [on]/[off]/[test] ", _
                           MsgBoxStyle.Information, _
                           "Need Command Switch")
            End Select
        End Sub
        
        _ Private Function SendMessage( ByVal Handle As Int32, _ 
                  ByVal wMsg As Int32, ByVal wParam As Int32, _ 
                  ByVal lParam As Int32) As Int32
        
        End Function
        
        Sub StandBy()
            SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, 1)
        End Sub
        
        Sub TurnOff() 
            SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, 2)
        End Sub
        
        Sub TurnOn()
            SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, -1)
        End Sub
        source: http://69.10.233.10/KB/vb/Monitors.aspx

        Comment


          #5
          Confused by properties of "Simulate a Release of an Element:"

          Element Name (Screen:Name):

          my screen is called Music II
          My Element name is Button1

          tried Music II:Button1

          tried Button1(Music II)

          Neither worked. Not sure what i should be doing here.

          thanks

          Comment


            #6
            This should work:

            hstplug.ClientAction(35,"","Music II:Button1","")
            Mike

            Comment


              #7
              You can find .22 of the HSTouch server plugin here:

              ftp://ftp.homeseer.com/pub/HomeSeerP...h_1_0_0_22.msi

              Its in the updater also.
              💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

              Comment


                #8
                This might have been discussed, I may have missed it.
                So I created an event in Homeseer to trigger HStouch actions. I created a welcome screen and wav. file to display on the HST IW07 touchscreen when the front door is unlocked by codes. Well the screen shows but the touchscreen does not wake up to show it unless I touch it. What can be done to wake up the touchscreen for HStouch actions in events? thanks

                Comment


                  #9
                  I added this to the HSTouch client, the next update will have it.

                  Originally posted by kaffeene View Post
                  This might have been discussed, I may have missed it.
                  So I created an event in Homeseer to trigger HStouch actions. I created a welcome screen and wav. file to display on the HST IW07 touchscreen when the front door is unlocked by codes. Well the screen shows but the touchscreen does not wake up to show it unless I touch it. What can be done to wake up the touchscreen for HStouch actions in events? thanks
                  💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                  Comment


                    #10
                    Originally posted by rjh View Post
                    I added this to the HSTouch client, the next update will have it.
                    Brilliant, will it also have the facility to put the screen to sleep?

                    Comment


                      #11
                      I did not add that, but it should go back to sleep based on the timeout you set.

                      Originally posted by MichaelD View Post
                      Brilliant, will it also have the facility to put the screen to sleep?
                      💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                      Comment


                        #12
                        Can't Get the Slider

                        I add the slider and if I go to the directory I see them under the slider folder, but they are not showing up in HSTouch Designer. There are actually multiple sliders in the folder showing that don't come up in the designer. I can add them to the graphics folder and they show up, but add them to the sliders and nothing is added. Any one have any ideas?

                        Comment


                          #13
                          Brilliant, but is there a way to turn off speech in a client?
                          sigpic
                          A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"

                          Comment


                            #14
                            Originally posted by Gogs View Post
                            Brilliant, but is there a way to turn off speech in a client?
                            On the "General" page of the Setup area, look for Speaker Client settings (near the bottom). You can designate the default speaker clients there. Any client left off the list won't speak (by default, anyway).
                            💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                            Comment


                              #15
                              Originally posted by macromark View Post
                              On the "General" page of the Setup area, look for Speaker Client settings (near the bottom). You can designate the default speaker clients there. Any client left off the list won't speak (by default, anyway).
                              Thanks Mark.

                              I will try that once I get HS running again. It crashed at 1 min past midnight on the 1st November and would not restart.

                              18 hours later I have given up and am re-installing windows and HS from scratch.
                              sigpic
                              A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"

                              Comment

                              Working...
                              X