Announcement

Collapse
No announcement yet.

how do i get the energy info out of the log?

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

    how do i get the energy info out of the log?

    Hi,

    its been doing this since installed it and its really hard to get at the error messages.

    any ideas?
    Attached Files
    HS3 Pro on Windows 8 64bit
    53 Z-wave nodes(46 devices, 7 remotes), 15 DS10a's, 10 ms16a's, 9 Oregon Sensors, W800, RFXCOMtrx433, Way2Call, 3 HSTouch Clients, 2xRussound CAS44, Global Cache GC100-12,10 Rollertrol blinds(+ zwave) ,3 Squeezebox Radios and 1 Squeezebox Boom,DMX Arduino via ethernet,Rain8Net,3x Echo Dot's


    Check out my electronics blog here:
    https://www.facebook.com/RaptorsIrrationalInventions

    #2
    You need to click the do not log commands from this device box on all of these devices in the config page of each device, I wrote a script that does it for all Z-Wave devices in my HS system because my log was just filling up.

    Code:
    ub Main(ByVal Parm As Object)
    
        Try
            'run through the enumerator, remove the location two strings
    
            Dim dv As Scheduler.Classes.DeviceClass
            Dim EN As Scheduler.Classes.clsDeviceEnumeration
    
            EN = hs.GetDeviceEnumerator
    
            Do
                dv = EN.GetNext
                If dv Is Nothing Then Continue Do
    
                If dv.Interface(Nothing).ToLower = "z-wave" Then
                    hs.writelog("Log Device Stop", "Device: " & dv.Name(Nothing))
                    dv.MISC_Set(hs, Enums.dvMISC.NO_LOG)
                End If
    
            Loop Until EN.Finished
    
        Catch ex As Exception : hs.writelog("Device Clear", "Exception: " & ex.message)
        End Try
    
    End Sub

    Comment


      #3
      The new HS3 beta has a setting for this I believe.
      http://board.homeseer.com/showthread.php?t=177767
      💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

      Comment


        #4
        Originally posted by Rupp View Post
        The new HS3 beta has a setting for this I believe.
        http://board.homeseer.com/showthread.php?t=177767
        This appears to be a global setting as opposed to a per device setting. Boo.

        Sent from my SCH-R970X using Tapatalk
        HS4Pro on a Raspberry Pi4
        54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
        Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

        HSTouch Clients: 1 Android

        Comment


          #5
          Originally posted by mrhappy View Post
          You need to click the do not log commands from this device box on all of these devices in the config page of each device, I wrote a script that does it for all Z-Wave devices in my HS system because my log was just filling up.

          Code:
          ub Main(ByVal Parm As Object)
          
              Try
                  'run through the enumerator, remove the location two strings
          
                  Dim dv As Scheduler.Classes.DeviceClass
                  Dim EN As Scheduler.Classes.clsDeviceEnumeration
          
                  EN = hs.GetDeviceEnumerator
          
                  Do
                      dv = EN.GetNext
                      If dv Is Nothing Then Continue Do
          
                      If dv.Interface(Nothing).ToLower = "z-wave" Then
                          hs.writelog("Log Device Stop", "Device: " & dv.Name(Nothing))
                          dv.MISC_Set(hs, Enums.dvMISC.NO_LOG)
                      End If
          
                  Loop Until EN.Finished
          
              Catch ex As Exception : hs.writelog("Device Clear", "Exception: " & ex.message)
              End Try
          
          End Sub
          This helps a lot.

          What is the inverse of
          Code:
          dv.MISC_Set(hs, Enums.dvMISC.NO_LOG)
          if we wanted to enable logging on all Z-Wave devices? I only see NO_LOG in the help guide.
          HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

          Comment


            #6
            Originally posted by rprade View Post
            This helps a lot.

            What is the inverse of
            Code:
            dv.MISC_Set(hs, Enums.dvMISC.NO_LOG)
            if we wanted to enable logging on all Z-Wave devices? I only see NO_LOG in the help guide.
            Hi Randy,

            I believe you have to use
            Code:
            dv.MISC_Clear(hs, Enums.dvMISC.NO_LOG)
            but I haven't tried it.

            Cheers
            Al
            HS 4.2.8.0: 2134 Devices 1252 Events
            Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

            Comment


              #7
              Originally posted by sparkman View Post
              Hi Randy,

              I believe you have to use
              Code:
              dv.MISC_Clear(hs, Enums.dvMISC.NO_LOG)
              but I haven't tried it.

              Cheers
              Al
              Makes sense - and works!

              Now I can turn on and off all Z-Wave command logging with a virtual device.
              HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

              Comment


                #8
                Originally posted by rprade View Post
                Now I can turn on and off all Z-Wave command logging with a virtual device.
                Great idea!

                Cheers
                Al
                HS 4.2.8.0: 2134 Devices 1252 Events
                Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                Comment


                  #9
                  Originally posted by sparkman View Post
                  Great idea!

                  Cheers
                  Al
                  I liked it so much, I also made scripts and a virtual device to enable and disable Arduino device command logging as well.

                  Happiness is an empty log And the ability to log everything when troubleshooting.
                  HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

                  Comment


                    #10
                    Originally posted by rprade View Post
                    Happiness is an empty log
                    Lol. I see a new signature in S-F's future...
                    HS 4.2.8.0: 2134 Devices 1252 Events
                    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                    Comment


                      #11
                      Originally posted by sparkman View Post
                      Lol. I see a new signature in S-F's future...
                      Thanks for the homage, I am still a fan of anarchy

                      We'll see...
                      HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

                      Comment


                        #12
                        thanks all this worked!
                        HS3 Pro on Windows 8 64bit
                        53 Z-wave nodes(46 devices, 7 remotes), 15 DS10a's, 10 ms16a's, 9 Oregon Sensors, W800, RFXCOMtrx433, Way2Call, 3 HSTouch Clients, 2xRussound CAS44, Global Cache GC100-12,10 Rollertrol blinds(+ zwave) ,3 Squeezebox Radios and 1 Squeezebox Boom,DMX Arduino via ethernet,Rain8Net,3x Echo Dot's


                        Check out my electronics blog here:
                        https://www.facebook.com/RaptorsIrrationalInventions

                        Comment

                        Working...
                        X