Announcement

Collapse
No announcement yet.

How can I find out what is triggering an event

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

    How can I find out what is triggering an event

    I have a virtual switch which is being turned off, and I need to find out what is turning it off. It is not an event, it must be triggered by something else. I do suspect it might be a script changing the device, but I cannot find it. All my scripts leave a line in the the log, When this device changes state, there is no script running and I cannot find any clues in the log. In the log there is no trace of the virtual switch turning off. Just when I turn it on, I can see it. None of my events is turning that switch off via an action.
    After a lot of digging, I found that if a value of a device goes over a certain vale, that triggers the device change. I used to have an event which did that. But that event does not exist any more !

    #2
    FWIW, I just resolved an issue with an Insteon appliance switch turning itself ON. I searched events for any reference to the device and could not find one.

    As some history, this device was once used for a different purpose than now. There were some events that dealt with the device in the older purpose but those have long been deleted.

    The solution to stop the unsolicited ON behavior, I did a factory reset, manually deleted the old device in the insteon plugin. Then I re-added the device and it has not turned itself ON since.

    Comment


      #3
      That is my plan B. Delete the virtual switch, and recreate it. But that is a lot of work, I am hoping for a way to find the culprit...

      Comment


        #4
        I had a device turning ON and I could never find any events controlling it. I was about to write it off as a bad Z-Wave device, then I remembered: Linked Devices.
        I had it linked to another device and totally forgot about it. The bad thing about it is that there is nothing in the Device Status screen that shows linked devices.
        HS4Pro Running on a Raspberry Pi4
        68 Z-Wave Nodes, 175 Events, 359 Devices
        UPB modules via OMNI plugin/panel
        Plugins: Z-Wave, OMNI, HSTouch, weatherXML, EasyTrigger
        HSTouch Clients: 3 Android, 1 Joggler

        Comment


          #5
          Originally posted by rmasonjr View Post
          I had a device turning ON and I could never find any events controlling it. I was about to write it off as a bad Z-Wave device, then I remembered: Linked Devices.
          I had it linked to another device and totally forgot about it. The bad thing about it is that there is nothing in the Device Status screen that shows linked devices.
          I have a couple of linked devices and I add "Linked" to the names of them as a reminder.

          Comment


            #6
            Jon00's device viewer utility makes it super easy to file linked devices. It's saved me some headaches in the past.

            Comment


              #7
              Originally posted by jhopple View Post
              Jon00's device viewer utility makes it super easy to file linked devices. It's saved me some headaches in the past.
              I havent installed that yet, but thats a good idea. Unfortunately in this case I know its not linked.

              Comment


                #8
                If it's an event causing the device change, have you tried Jon00EventList utility? It lists events which have run... Here's an example.

                Click image for larger version

Name:	events.jpg
Views:	76
Size:	116.3 KB
ID:	1285347
                HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

                Comment


                  #9
                  Yes, I have that, and checked. Its not an event as far as I can see. Its very strange

                  Comment

                  Working...
                  X