Difference between revisions of "MOTHER"

From LVL1
Jump to navigation Jump to search
Line 60: Line 60:
  
 
Pieces needed:
 
Pieces needed:
'''*Script running at startup to open specified com ports to be monitored'''
+
*'''Script running at startup to open specified com ports to be monitored'''
 
' com port script to send data to a COM port
 
' com port script to send data to a COM port
 
' this script registers a callback script named com_event.txt
 
' this script registers a callback script named com_event.txt

Revision as of 12:30, 13 November 2011

LVL1 Automation Intelligence System

LIVE FEATURES

This is a list of all events and actions that are in "STABLE" operation and should be performed by MOTHER at all times. IF you ever notice that MOTHER is not performing on of the actions, please use the "MOTHER FAULT" button located at one of the MOTHER STATIONS.

  • Monitoring and Updating of weather related information from NOAA % WWO
  • Full interaction and control via Google Talk messages sent to lvl1mother@gmail.com
  • Monitoring of Occupancy in these Zones
    • Main Entry
    • Main Dock
    • Lounge
    • Main Tables
    • BR1
    • BR2
  • Retrieval of Latest HAD and MAKE blog
  • Notification of new HAD/Make posting mentioning LVL1 (email sent to google group from Mother
  • Monitoring of the presence of these Members at the space
    • Jonathan
    • Ben
    • Aaron
    • Tim
    • Dan
    • Chris

NEXT STEPS

  • Saturday 11/12 - Installation and wiring of mass Motions, x10 Controls, waterbugs.


HELP NEEDED

  • (HIGH PRIORITY)Setup of MOTHER script to monitor various serial com ports and set values for various sensors
  • (HIGH PRIORITY)Setup of Arduino code to monitor serial com port data, trigger functions, and send sensor values.
  • (LOW PRIORITY) Infrared Arduino. Anyone with any experience with sending IR codes with an arduino? We just need a really simple script whose functions can all be triggered by commands over serial and include, receiving/storing ir codes, transmitting of IR codes.

Phase 1 Actions/Triggers

  • Calendar Related Input
    • LVL1 Meetings
    • Trash Day
    • Recycling Day
    • Other weekly meetings
  • Individual Presence
    • Tracking of persons via wi-fi enabled devices

Details: Web Admin (from inside LVL1 network only) http://10.0.0.29


Contributors:

  • Dan B: Brainstorming/Debugging/Setup
  • Ben: Occupancy Installation/Mother Setup
  • Jon3: Wiring/Hardware Setup/Mother Setup
  • Nick: Arduino Integration
  • Tim: Setup and Brainstorming
  • Josh: General Setup/Installation


MotherDuino

Information related to the integration of Arduino and Homeseer.

Pieces needed:

  • Script running at startup to open specified com ports to be monitored

' com port script to send data to a COM port ' this script registers a callback script named com_event.txt ' when data is received on the COM port the com_event.txt script is called and the ' data can be processed there ' this script only needs to be called once as the com port will stay open

sub main() dim e e=hs.OpenComPort(5,"9600,n,8,1",1,"com_event_Ardunio1.txt"," main",chr(13)) if e <> "" then hs.writelog "Error opening com port",e end if

hs.writelog "comport_open_Arduino1.txt","Script Complete" end sub

  • This script is added seperately and is triggered anytime data is sent over the com port listed in the startup script.

sub main(data)

' process the com port data here

i = Instr(data,"=")

end sub