Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Question Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: June 18 2004 at 20:28 | IP Logged Quote npavkov

How do I use the filter of event log to see only the "Incoming" or the lines for a peticular device id (IE; C(2))     ????

The only disappointment that I have had since trying Powerhome, is that I Don't seem to get enough free time to read all of the help documentation command by command or  learn how to use the VAST number of commands and functions that Powerhome has to offer!! I know that powerhome includes some decent documentation, but has too few examples of short macros to perform basic tasks. This forum has and will continue to help me understand how to put the right commands and functions together to accomplish a basic tasks and macros........  Please keep the posts and examples coming!!

Is it possible to print to a document a list of the macros that dave or anyone else using powerhome already has created (kind of a code sharing thing) to help people like me learn the use of the macro commands and functions easier?? I would share my macro code in return!! it would surely help the common users like myself to be able to utilize the enormous features and commands that powerhome offers.

Back to Top View npavkov's Profile Search for other posts by npavkov
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: June 18 2004 at 23:23 | IP Logged Quote dhoward

Nick,

One simple way to filter the eventlog is based upon the "type" column.  If you open the eventlog and click on the filter button, you'll see the "Specify Filter" window.  On the right, you'll see a list of the available columns.  The "type" column is a numeric indicator of the type of eventlog message.  Each type of message has a unique number assigned to it.  You can figure out the number for each type by looking in the Explorer under Setup->Preferences.  The eventlog types are in order top to bottom, left to right starting with 0.  "Startup" is 0, "IR In" is 1, "IR Out" is 2, etc.  You asked about incoming X-10 and this is type 3.  If you were to set the filter to "type = 3" without the quotes, you will see only the events for incoming X-10. 

You could further refine this by adding additional criteria.  Each controller has a slightly different way of displaying the text of the event, so you'll have to look at your particular data to see how to proceed.  But an example would be to use a wildcard search such as "event like '%C15%'".  You could combine this statement with an "and" or you could combine with an "or".  To get just the incoming X10 events for C15 use:

type = 3 and event like '%C15%'

The filter syntax is heavily steeped in SQL so any knowledge in this area would be helpful.

If anyone would like to contribute any macros, WSH, or other techniques, I will be more than happy to compile them into a reference that I can make available to all.

Also, if anyone has any ideas for simple tasks but no idea where to start, just post a message and I'll be more than happy to help out.

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum