AIM

Aim Modules

o2s/playground/aimresource

AIM Message Bot
aimmessagebot.py - The AIM Message Bot uses, toc.py to connect to the AOL Instant Messenger service. It can use methods from toc.py to send/receive messages from other people using the AIM Client. This is a resource which can send events to the AIM Application.
AIM Application
aimapp.py - The AIM Application is the center application which will recieve events from all other resources within the AIM framework. It will subscribe to messages from the AIM Message Bot and the AIM Lights modules. Whenever a message is sent to the Bot containing the words "light" and "on" then it will send an event to the AIM Lights to change the state of the lights. The same applies for "light" and "off", there is also a "light status" query which will return the current state of the lights.
AIM Lights
lights.py - The class just contains fields which contain the state of the lights. It merely sends events when the state of the light changes. Uses X10 to turn module A1 on and off.
Py-TOC [1]
toc.py - An external module which is used to connect to the AIM framework
AIM Send-Text Technique
send-text.teq - This is a technique which can be used with the Planner to send messages through the AIM Client.
[1]Py-TOC module information can be found at: http://www.jamwt.com/Py-TOC/

last edited 2005-06-06 20:15:57 by MichaelMurray