6 Architectural Tenents Able to withstand catastrophic failure – e.g. Fail safe doors.Able to withstand multiple service failures.Zero learning curve for Human Interfaces.“Reasonable” price.State of the Art and Beyond.Documented for repeatability.Rapid Recovery from catastrophic failure (ISO Images).
9 Wiring. Cat 6 for 10 Gigiabit Ethernet Backbone (Currently 100Mb) Cat 5e for Phone, IR Distribution.Shielded RG6 coax for Video.HDMI cables for Theatre.RF Relays between Dimmers.“Mesh” Network Dimmers.No “Daisy Chaining”No Cat 7 – New Connector – not RJ45
12 Managed Infrastructure HAI Omnipro II Controller8 PIR (Passive Infrared + Microwave) –to HAI68 Windows – round inset Magnet - to HAI7 Doors – round inset Magnet - to HAI@500 Lights, 130 Insteon Dimmers - to Mac3 Cameras – Logitech, Apple, Sony - USB, Firewire, Cat 5e8 Mike’s – via Shure Mixer - Toslink Minijack to Mac1 RFID – Texas Instruments - RS-232-C to Mac1 Phidget RFID Reader - USB to MaciRTrans Infrared Controller. - to MacTV’s, Music, Piano, Projector Screen - to Mac
13 Infrastructure – Computing. Ocelot (Applied Digital) low voltage switching (speaker & Mic switchingMac Mini - Primary Home Controller.Macbook - Development.iMac - Human Interfaces - KitcheniMac - Human Interfaces - OfficeThinkPad - Camera feeds to Mac.ThinkPad - Mouse Catcher & Camera feeds to Mac.PC - Athlon 64 bit. Windows, 8G, 2T – grunt work.(Deprecated)HAI Interfaces. MQ Interfaces. Music Server, Video Server.P390 - CICS WebService interfaces (Deprecated May 2008).
14 Wireless. 2 x Apple Airport 802.11 n 1 x Airport Express 2 x Linksys g1 x Cantenna.Future.WiMaxZigBeeTrick – give all the access points the same name and use the same channel number.
28 Enterprise Services.Enterprise Service Bus – (Indigo Broker - AppleScript & Apple Remote Events for Messaging)MonitoringSecurityJSON – XML-RPCSOAP
29 Internal Services Door Camera Motion Service Pub Services (Open etc) Door RFID Event ServiceDoor Opened ServiceDoor Closed ServiceSpeak Weather ServiceSomebody Pressed the Doorbell ServiceSwitch TV to view CameraPlay Music Service(s).Pub Services (Open etc)Goodnight ServiceGoodmorning ServiceBirthday ServiceWater the Lawn ServiceOpen the Windows ServiceClose the Windows ServicePlay a Movie ServiceMouse Down Service
30 Event Based Computing – Mouse Down. e.g. Speaker WireInsteon EZIO.Metal Pad under Cheese – Soldered to 1 Wire.2nd Wire Soldered to Spring Holder.Circuit Closes == Mouse Down Event.Video Taken by Evocam (last Video) sent to YouTube – Text Message to look at YouTube sent to iPhone.
31 External Services NOAA – Weather (Free). Also Weather.com Change Sunset based on light level (sunny, cloudy etc).Control sprinklers – predict rainfall.Set variables for spoken responses.Google – GMAPs.Locate Family (iPhone Application – Objective ‘C’)Airline – Flight Scheduling.Heat and Light services at “odd” hours.eBay – “Snipe”Screen scaping to feed sniping service.
32 WMQ-Broker Usage – Deprecated. Interface between Mac’s and PC’s. – REST from PhP AJAX“Sometimes, good enough really is good enough”Interface to External Web Services.Interfaces requiring data transformation.PhP interface to Broker from Mac using REST Client for:Broker Web Service call to NOAA (Weather) parse response.Broker decides if it’s raining for Sprinkler via Timer Node.Broker makes web service call to Charter.net (what’s on TV).
37 Shelfware Evocam – Mac – 84% CPU Utilization. HAL PC – Too Complex.XCode - Mac (except for iPhone) - PhP easier.WMQ Client for Mac - Only C Bindings - RESTWMQ Server for Mac - Kernel Changes - RESTRS-232-C Open Source PC - Too Complex.TI RFID Sample Code PC - Useless.
39 Software Indigo (ESB) Applescript Apple Remote Events Dreamweaver (Web, PhP)PhotoshopChicken of the VNCMAMP, WAMPTransmit (FTP)iRedTime Machine (Backup)
40 Lessons LearnedMost of the work you need for an SOA/ESB is building the INFRASTRUCTURE to support it.Adding Services is trivial once the Infrastructure is there.Swapping out services is trivial – e.g. Texas Instruments RFID to Phidget RFID Reader – about an hour.You need a development hardware environment and prod – trying to do it via VNC is like trying to swim through an ocean of Peanut Butter.PhP, MySQL, Apache, OpenSource is easy to write & use.Remember when programming was fun ? – it’s back.
41 URL’s to get you started. Source for Everything.Indigo Software.RFID Reader.Camera Software.Site that got me started.My House.Send me an –