Announcement

Collapse
No announcement yet.

How do I turn this logging off

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

    How do I turn this logging off

    I seem to be getting an excessive amount of log entries from the ISY plugin and I can't seem to turn it off. It seems to log every CONFIG_CHANGE even if none of the devices or events are related to Insteon. I have a script that creates a temporary event upon motion to turn off the laundry room lights. And every time it runs, I get several ISYInsteon log entries. I have the plugin configured with "ISY Insteon Plug-in Logging Level" set to NONE. What else am I missing to turn off these excessive log entries?
    PHP Code:
     Dec-15 6:39:09 AM         ISYInsteon    CONFIG_CHANGEEvent Deleted type 1 ddd 8538 dac 2   
     Dec
    -15 6:39:09 AM         Event    Deleting event after run"Temporary No Motion - Laundry Room Lights Off"   
     
    Dec-15 6:39:09 AM         Device Control    DeviceZ-Wave Laundry Room Sink Light to Off (0)   
     
    Dec-15 6:39:09 AM         Event    Event Trigger "Temporary No Motion - Laundry Room Lights Off"   
     
    Dec-15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Action Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Action Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Trigger Removed type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Added type 1 ddd 8538 dac 1   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEGroup Added=Temporary type 2 ddd 152377277 dac 1   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEDeleted Event Group=Temporary type 2 ddd 1882435592 dac 2   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Deleted type 1 ddd 6932 dac 2   
     Dec
    -15 6:34:09 AM         Event   Running script in backgroundC:/Program Files/HomeSeer HS3/scripts/LaundryRoom.cs("LightsOn",""""

    #2
    Originally posted by MPodlin View Post
    I seem to be getting an excessive amount of log entries from the ISY plugin and I can't seem to turn it off. It seems to log every CONFIG_CHANGE even if none of the devices or events are related to Insteon. I have a script that creates a temporary event upon motion to turn off the laundry room lights. And every time it runs, I get several ISYInsteon log entries. I have the plugin configured with "ISY Insteon Plug-in Logging Level" set to NONE. What else am I missing to turn off these excessive log entries?
    PHP Code:
     Dec-15 6:39:09 AM         ISYInsteon    CONFIG_CHANGEEvent Deleted type 1 ddd 8538 dac 2   
     Dec
    -15 6:39:09 AM         Event    Deleting event after run"Temporary No Motion - Laundry Room Lights Off"   
     
    Dec-15 6:39:09 AM         Device Control    DeviceZ-Wave Laundry Room Sink Light to Off (0)   
     
    Dec-15 6:39:09 AM         Event    Event Trigger "Temporary No Motion - Laundry Room Lights Off"   
     
    Dec-15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Action Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Action Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Trigger Removed type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Added type 1 ddd 8538 dac 1   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 8538 dac 3   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEGroup Added=Temporary type 2 ddd 152377277 dac 1   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEDeleted Event Group=Temporary type 2 ddd 1882435592 dac 2   
     Dec
    -15 6:34:09 AM         ISYInsteon    CONFIG_CHANGEEvent Deleted type 1 ddd 6932 dac 2   
     Dec
    -15 6:34:09 AM         Event   Running script in backgroundC:/Program Files/HomeSeer HS3/scripts/LaundryRoom.cs("LightsOn",""""
    That's a debug message I had in there to help me understand how the configuration change event from HS worked. It's not tied to any of the logging levels so you can't turn it off. I'll need to remove it from code.

    That's interesting that you're getting so many. Because this only happens when editing HS events, I forgot about it. I didn't know you could dynamically create/delete events like that. You taught me something new about HS.

    I'll make sure the message is gone (or moved to a debug message) for the next release.
    --
    Bob Paauwe
    ISYInsteon Plug-in
    http://www.bobsplace.com/ISYInsteon/

    Comment


      #3
      Thanks!
      Originally posted by bpwwer View Post
      I didn't know you could dynamically create/delete events like that. You taught me something new about HS.
      Had to come up with a solution to replace the DooMotion plugin which basically did the same thing... Check to see if the temporary event exist and remove it, then create a new timed temporary event x-minutes into the future to turn lights off.... So every time motion is detected, the temporary event gets reset/rebuilt to the determined x minutes until off after motion has stopped. That is why I'm seeing so many of these in the log.....

      This is what my motion script looks like, which will turn the lights on upon entering the room, and set them to turn off 5 minutes from the last detected motion:
      PHP Code:
      Dim TimeOffevRef

      if hs.isoffByName("Laundry Room Light"then
        hs
      .CAPIControlHandler(hs.CAPIGetSingleControl(hs.GetDeviceRefByName("Laundry Room Light"),true,"on",false,true))
      end if

      if 
      hs.EventExists("Laundry Room Light Off Timer"then
        hs
      .DeleteEvent("Laundry Room Light Off Timer")
      end if

      TimeOff DateAdd("n"5Now)
      evRef hs.NewEventGetRef("Laundry Room Light Off Timer""Temporary""")
      hs.EventSetTimeTrigger(evRefTimeOff)
      hs.DeleteAfterTrigger_Set(evRef)
      hs.AddDeviceActionToEvent(evRef,hs.CAPIGetSingleControl(hs.GetDeviceRefByName("Laundry Room Light"),true ,"off",false,true)) 

      Comment


        #4
        Originally posted by bpwwer View Post
        I'll make sure the message is gone (or moved to a debug message) for the next release.
        I know you're busy, but any idea when the next release is due out? My log is growing extremely fast as I'm trying to finish up the migration from my HS2 setup to HS3. I tried another approach rather than my scripts to create delayed motion events, I created an event to create delayed device actions, but this appears to be doing the similar process as my scripts were doing in automatically deleting and recreating timed events to turn off lights and creating the same log entries.

        Thanks.....

        PHP Code:
         Dec-21 11:57:31 PM         Z-Wave    DeviceZ-Wave Greatroom South Lamp Set to OFF   
         Dec
        -21 11:57:31 PM         Z-Wave    DeviceZ-Wave Greatroom East Lamp Set to OFF   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Added type 1 ddd 7539 dac 1   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Action Added type 1 ddd 7539 dac 3   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 7539 dac 3   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 7539 dac 3   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Deleted type 1 ddd 5641 dac 2   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Added type 1 ddd 5444 dac 1   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Action Added type 1 ddd 5444 dac 3   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 5444 dac 3   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 5444 dac 3   
         Dec
        -21 11:39:41 PM         ISYInsteon    CONFIG_CHANGEEvent Deleted type 1 ddd 1836 dac 2   
         Dec
        -21 11:39:41 PM         Event    Remove Delayed Device Action Removed eventDelayed Actions South Lamp (Delayed Action)   
         
        Dec-21 11:39:41 PM         Event    Event Trigger "Greatroom South Lamp - No Motion - Turn Off after 30 min"   
         
        Dec-21 11:39:41 PM         Event    Remove Delayed Device Action Removed eventDelayed Actions East Lamp (Delayed Action)   
         
        Dec-21 11:39:41 PM         Event    Event Trigger "Greatroom East Lamp - No Motion - Turn Off after 30 min"   
         
        Dec-21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Added type 1 ddd 5641 dac 1   
         Dec
        -21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Action Added type 1 ddd 5641 dac 3   
         Dec
        -21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 5641 dac 3   
         Dec
        -21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 5641 dac 3   
         Dec
        -21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Deleted type 1 ddd 8396 dac 2   
         Dec
        -21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Added type 1 ddd 1836 dac 1   
         Dec
        -21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Action Added type 1 ddd 1836 dac 3   
         Dec
        -21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 1836 dac 3   
         Dec
        -21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Trigger Added type 1 ddd 1836 dac 3   
         Dec
        -21 11:33:38 PM         ISYInsteon    CONFIG_CHANGEEvent Deleted type 1 ddd 7755 dac 2   
         Dec
        -21 11:33:38 PM         Event    Remove Delayed Device Action Removed eventDelayed Actions South Lamp (Delayed Action)   
         
        Dec-21 11:33:38 PM         Event    Event Trigger "Greatroom South Lamp - No Motion - Turn Off after 30 min"   
         
        Dec-21 11:33:38 PM         Event    Remove Delayed Device Action Removed eventDelayed Actions East Lamp (Delayed Action)   
         
        Dec-21 11:33:38 PM         Event    Event Trigger "Greatroom East Lamp - No Motion - Turn Off after 30 min"   
         
        Dec-21 11:31:45 PM         Event   Running script in backgroundC:/Program Files/HomeSeer HS3/scripts/Kitchen.vb 
        Attached Files

        Comment

        Working...
        X