Announcement

Collapse
No announcement yet.

Finding Log Error Cause

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

    Finding Log Error Cause



    Seeing this error in my log. How do I go about finding which event corresponds to the event/action id?
    Thanks

    #2
    <your IP address>/JSON?request=getevents

    Comment


      #3
      Or use jon00's Event Viewer and Documenter for HS4.

      https://forums.homeseer.com/forum/3r...for-homeseer-4

      Search for Event ID.

      Comment


        #4
        And if you do not want to use the easy webpage built-in method or someone else's solution, you can always have fun and create your own script such as the following:

        Code:
        public object csGetEvents(object parm) {
          string msgType = "Check Events";                              // Set name for log Type
          foreach(strEventData foundEvent in hs.Event_Info_All()) {
            string foundEvents = "Event No: " + "\"" + foundEvent.Event_Ref + "\"" +
                                 "  Event Group: " + "\"" + foundEvent.GroupName + "\"" +
                                 "  Event Name: " + "\"" + foundEvent.Event_Name + "\"";
            hs.WriteLog(msgType, foundEvents);
          }
          return 0;
        }
        
        ​
        ​Of course in the above example, you could add a sorting function to enhance the readability.

        Comment

        Working...
        X