Announcement

Collapse
No announcement yet.

Jon00 Homeseer Log Monitor for Homeseer 3 and Homeseer 4

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

    #91
    There is not, however in your case why not just create a virtual device with on/off buttons (default) and add the following to the very top of your script:

    If hs.devicevalueEx(xxxx) = 100 then exit sub

    When the new device is 'on', the script is disabled.
    Jon

    Comment


      #92
      Originally posted by jon00 View Post
      There is not, however in your case why not just create a virtual device with on/off buttons (default) and add the following to the very top of your script:

      If hs.devicevalueEx(xxxx) = 100 then exit sub

      When the new device is 'on', the script is disabled.
      Very good. I will indeed do this. Thanks

      Comment


        #93
        Hi

        Would this log plugin allow me to keep track of which touch clients are available?
        So at any point in a script I could effectively ask for example if iPad:iPad available then ...

        Thanks in advance

        Comment


          #94
          Yes, you can use it for this. In its simplest form you can trigger events on connect/disconnect and set a virtual device to on or off.

          An example of the triggers can be seen here:

          https://forums.homeseer.com/forum/le...45#post1392545

          If you are proficient at scripting, you can trigger on HSTouch log entries (which contain connect/disconnect) and that log line is passed to a defined script parameter. You can then act on the contents of the log line in your script to do what you wish.

          Finally, the latest version supports sending JSON commands on a trigger, so you can update your devices directly i.e.

          JSON=/JSON?request=controldevicebyvalue&ref=1234&value=100
          Jon

          Comment


            #95
            Originally posted by jon00 View Post
            Yes, you can use it for this. In its simplest form you can trigger events on connect/disconnect and set a virtual device to on or off.

            An example of the triggers can be seen here:

            https://forums.homeseer.com/forum/le...45#post1392545

            If you are proficient at scripting, you can trigger on HSTouch log entries (which contain connect/disconnect) and that log line is passed to a defined script parameter. You can then act on the contents of the log line in your script to do what you wish.

            Finally, the latest version supports sending JSON commands on a trigger, so you can update your devices directly i.e.

            JSON=/JSON?request=controldevicebyvalue&ref=1234&value=100
            Hi,

            All sounds good. Though my skills may need improving!
            Much appreciated!

            Comment


              #96
              If you get stuck, give me a shout.
              Jon

              Comment


                #97
                Originally posted by jon00 View Post
                If you get stuck, give me a shout.
                Thats incredibly kind! I'm learning as fast as I can and have already in a short time achieved more than the previous HA was doing. Must admit I do find HS a bit of a double edged sword. Some things so easy - other things a bit of a workout 😀

                Comment


                  #98
                  Jon - on your webpage is says "Jon00 Homeseer Log Monitor for Homeseer 3 - THIS DOES NOT WORK UNDER HS3. PLEASE DOWNLOAD THE HS4 VERSION HERE" Is that a typo, does the HS3 version still work under HS3. Thanks

                  Comment


                    #99
                    Thanks, yes a typo. Should read HS4. Now fixed!
                    Jon

                    Comment


                      Quick question, using log monitor to send alert on error when message contains "failed to send zwave command:" Is there a way to also have appended the rest of the message that appears in the homeseer log. Sometimes the failed sending is to device1 or device 3 etc. Dont want to make a trigger for each device.

                      Thanks

                      Comment


                        Yes, you use its global variables to insert into emails, pushover etc. For example you would use $$GLOBALVAR:jon00logmessage: which contains the log message which caused the trigger.
                        Jon

                        Comment


                          Version 1.0.7 (HS3), Version 1.0.4 (HS4) has been released

                          Added Linux Support (Mono 6+) – Only tested on Ubuntu.
                          Added Message Balloon feature to display all HS Log entries on Windows tray.
                          Jon

                          Comment

                          Working...
                          X