Project: Home Automation Interface
Filename: $Id: AliceListener.java,v 1.5 2004/01/17 08:15:46 wbogaardt Exp $
Abstract: Monitors CM11A device and power line for events occuring outside of
the application and logs the results.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Project: Home Automation Interface
Filename: $Id: AutoHomeAdminSession.java,v 1.27 2004/06/09 18:52:34 wbogaardt Exp $
Abstract: Centralized backend for various components to send events to
Serial port output.
This allows the panel to control its own actions such
as enabling the password and username text fields if the
authorization required check box is marked
These are commands that can be sent to the entire
section of a house indicated by the House code, which is a value between 'A' and 'P'
The comands work for lights and apppliance modules in that section.
Copyright (C) 2003 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 2003 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Project: Alice X10 Home Automation
Filename: $Id: DeviceFactory.java,v 1.17 2004/02/25 21:38:36 wbogaardt Exp $
Abstract: Centralized backend for various components to send events to
Serial port output.
/**
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
* Project: Alice X10 Home Automation
Filename: $Id: EventsDetailPanel.java,v 1.26 2004/07/22 03:06:49 wbogaardt Exp $
Abstract: Used to display detail information on the events panel and run the
events daemon
$Log: EventsDetailPanel.java,v $
Revision 1.26 2004/07/22 03:06:49 wbogaardt
removed deprecated method calls.
Filename: $Id: EventsHandler.java,v 1.11 2004/02/25 21:38:32 wbogaardt Exp $
Abstract: The EventsHandler is a threaded daemon that runs in the background
and parses through a vector and runs various events one at a time.
* Project: Alice X10 Home Automation
Filename: $Id: EventsPanel.java,v 1.18 2004/07/22 03:06:49 wbogaardt Exp $
Abstract: Used to display detail information on the events panel and run the
displays the events table.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Project: Alice X10 Home Automation
Filename: $Id: FactoryUtilities.java,v 1.3 2004/02/25 21:38:36 wbogaardt Exp $
Abstract: This class is a consolidation of methods that have been commonly called
throught the application rather than keeping reimplementing the same function
over and over.
Copyright (C) 2003 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 2003 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 2003 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 2003 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Returns the argument parameters sent with the application name
sometimes an application does not have command line parameters
and that should be ok too.
This enumerates all the available ports in the Comm api
A try catch clause has been wrapped around to catch
a possible missing comm API in the user's class path.
Get the initator type for the trigger this can be either a detected event
as identified by TRIGGER_EVENT constants or a time of day to execute the
trigger which is startTime/stopTime
This method returns an array of IMacros
which are stored as the first element in
the array as the start macro and the
second element is the stop macro
Start and stop macros are also associated
mainly with timer based triggers and not
trigger or action related.
Gets the events that the daemon is running
this vector gets parsed every minute to determin if certain elements
in the vector meet the requirements if it meets the time requirements
then the event is run appropriately.
Return the module command can be one of the following from the
X10DeviceConstants, which is an on event or off event;
X10DeviceConstants.ON_ACTION or X10DeviceConstants.OFF_ACTION
Returns the run type for this action Should be only three types
Either execute a module, execute sending email, or running
an outside application;
0 send email, 1 run module, 2 run command
Project: Home Automation Interface
Filename: $Id: HAGateway.java,v 1.43 2004/06/09 18:49:36 wbogaardt Exp $
Abstract: Centralized backend for various components to send events to
Serial port output.
Project: Home Automation Interface
Filename: $Id: HomeCenterPanel.java,v 1.35 2004/07/22 03:06:49 wbogaardt Exp $
Abstract: Central entry gui point for application.
Project: Alice X10 Home Automation
Filename: $Id: HomeException.java,v 1.2 2004/02/24 18:24:12 wbogaardt Exp $
Abstract: Handles exception report specific to this home automation gui.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Project: Home Automation Server
Filename: $Id: IHAGateway.java,v 1.17 2004/02/06 20:06:36 wbogaardt Exp $
Abstract: Interface to the communications serial gateway.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Filename: $Id: Item.java,v 1.2 2003/12/22 20:51:32 wbogaardt Exp $
This class is a sort of place holder for use in displaying information on the events panel and
macros panel.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
loads the Macro Events from the AutoHomeAdminSession object
That call in turn calls DeviceFactory which handles calling the
file system and loading the macros into it.
Macro - class org.wcb.autohome.implementations.Macro.
Filename: $Id: Macro.java,v 1.3 2004/02/28 00:21:49 wbogaardt Exp $
Abstract: This class is a serialized place holder for a Macro object
it there for has elements that are needed for the IMacro interface
which is handled by the GUI.
Filename: $Id: MacroEvent.java,v 1.5 2004/02/28 00:21:49 wbogaardt Exp $
Abstract: This is the events for an assigned macro
$Log: MacroEvent.java,v $
Revision 1.5 2004/02/28 00:21:49 wbogaardt
fixed formating to be compliant with sun coding convention
Revision 1.4 2004/01/16 00:53:43 wbogaardt
Fixed a very obscure bug with the Macro Panel that it didn't added new
x10 devices to the drop down of available x10 device for the macro.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Filename: $Id: MacroSequencePanel.java,v 1.16 2004/02/28 00:21:46 wbogaardt Exp $
Abstract: This panel handles a macro and the sequence of events its suppose
to perform.
Filename: $Id: MacroTrigger.java,v 1.4 2004/02/28 00:21:49 wbogaardt Exp $
Abstract: This is the triggering event that will cause a macro and its associated
events to execut.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Filename: $Id: MacroTriggerPanel.java,v 1.20 2004/07/22 03:06:49 wbogaardt Exp $
Abstract: This class renders the trigger panel where you can add or modify a particular
macro trigger.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Project: Home Automation Interface
Filename: $Id: ModulePanel.java,v 1.13 2004/07/22 03:17:54 wbogaardt Exp $
Abstract: This is a java swing panel that displays the table list of X10 modules
and allows the selected x10 module to either be edited or a new module to be added.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Process request information when users do form submits
based on this we will save the keys, save the file, read
in a new directory's build.properties file or run the ANT
build script.
Process request information when users do form submits
based on this we will save the keys, save the file, read
in a new directory's build.properties file or run the ANT
build script.
Process request information when users do form submits
based on this we will save the keys, save the file, read
in a new directory's build.properties file or run the ANT
build script.
Process request information when users do form submits
based on this we will save the keys, save the file, read
in a new directory's build.properties file or run the ANT
build script.
Process request information when users do form submits
based on this we will save the keys, save the file, read
in a new directory's build.properties file or run the ANT
build script.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
RunEvent() -
Constructor for class org.wcb.autohome.implementations.RunEvent
This constructor automatically runs a set of events
Allows calling of the refresh interface so that it
updates the drop down box with the new list of available
X10 device modules as entered in the ModulePanel.
This is used to test the running of an event so that the
user can manuall through the UI run the event such as email, execute a module, or
run an application.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Save the entire table model into a properties
The format for the key is Event.EV+rowNumber=
Module type, Description, MODULEID, Action, -------, ACTION TIME
ex: Event.EV1=Lamp, Living Room Light, A1, On,-MT-TFS, 15:50
Save the entire table model into a properties
The format for the key is Macroname.event(modelRowNumber)=LM,A1,On
This format is and will be changing soon.
Save the entire table model into a properties
The format for the key is Macro.A21=TM,12:15/20:30,description,SMTWTFS,Macro1
for timer trigger events and for Trigger events it is
Macro.A21=EV,A1,description,Off,Macro2
allows the user to set or send commands to set the CM11A clock settings
This command needs the hours,minutes, seconds, month, day , day of week,
house code character value, whether to reset the battery timer,
clear the CM11A from monitoring the house, or purge the macro timer.
allows the user to set or send commands to set the CM11A clock settings
This command needs the hours,minutes, seconds, month, day , day of week,
house code character value, whether to reset the battery timer,
clear the CM11A from monitoring the house, or purge the macro timer.
This sets the from address in the email so it does not
always have to come from the default address of alice@localhost
The user can set this to what ever address they want.
Sets the events into the daemon to run
this vector gets parsed every minute to determin if certain elements
in the vector meet the requirements if it meets the time requirements
then the event is run appropriately.
The module command can be one of the following from the
X10DeviceConstants, which is an on event or off event;
X10DeviceConstants.ON_ACTION or X10DeviceConstants.OFF_ACTION
This allows the gateway to have reference to the monitor table
modle so that when the user decides to monitor the table
object events and the table can update each other.
Sets the string information or status of an event
to let the user know if a monitored light or appliance
had been turned on the reflect a turn on message.
/**
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Filename: $Id: TriggerItem.java,v 1.4 2004/02/27 01:29:53 wbogaardt Exp $
Abstract: This class simply is an object holder for an icon and some
detail information for table cell rendering.
Filename: $Id: TriggerRenderer.java,v 1.3 2004/02/27 01:29:53 wbogaardt Exp $
Abstract: This class handles rendering the various trigger items these being
Time launched triggers, or Module activated triggers.
This is used for the list selection listener and must be implemented
so that the selection of a row item in the table can display the detail
information.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Filename: $Id: X10Events.java,v 1.7 2004/02/28 00:21:49 wbogaardt Exp $
Abstract: This is the events to take place when we are running the EventsDaemon
It is also a type a wrapper or solution to the CM17A not being able
to execute macros and in part run a set a programed timed events.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Filename: $Id: X10Module.java,v 1.6 2004/02/28 00:21:49 wbogaardt Exp $
Abstract: Represents the X10 module which is either an appliance or light controller.
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.