• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Home Automation with SMS and GPS
 

Home Automation with SMS and GPS

on

  • 3,195 views

Have you ever wanted to automatically turn on your lights when you get home, or turn them back off when you leave? What about controlling your lights by SMS or IRC? This presentation will teach you ...

Have you ever wanted to automatically turn on your lights when you get home, or turn them back off when you leave? What about controlling your lights by SMS or IRC? This presentation will teach you how to automate your life with location-based hacks and SMS.

Statistics

Views

Total Views
3,195
Views on SlideShare
2,818
Embed Views
377

Actions

Likes
1
Downloads
44
Comments
0

3 Embeds 377

http://aaronparecki.com 364
http://pk2.dev 10
http://translate.googleusercontent.com 3

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • A couple years ago, I had this crazy idea that I wanted to track everywhere I went. I spent a year looking around for ways to do this, but there weren’t many options other than manually tracing on a map. Explain map of Portland.----- Meeting Notes (2011-05-17 11:54) -----:30
  • I tried to do this in 2007 by getting a hardware GPS logger, and only lasted a week of carrying it around since it was another device to charge, and I had to download the data every night.----- Meeting Notes (2011-05-17 11:54) -----:60
  • A couple months later, I finally got my first smart phone, and I made sure to choose one that had a GPS chip in it, and there weren’t many options at that point.----- Meeting Notes (2011-05-17 11:54) -----1:20
  • So now, before I leave for the meeting, I”ll send you a link to my map where you can watch my trip in real time. Now you don’t need to wonder if I’ve forgotten about the meeting or if I’m only a block away. This is one of the features of our app, Geoloqi.----- Meeting Notes (2011-05-17 11:54) -----3:30
  • Even with my close friends, I don’t really want to know where everyone is all the time, there’s just too much noise in that. I only want to know about people’s location if it is actionable.
  • Frankly, I don’t care if my friend in New York is at his neighborhood coffee shop or his local gym, but if he is anywhere in San Francisco, I’d like to know so I can invite him to lunch. There’s a difference between privacy and looking for the signal in the noise.Even if he's comfortable sharing everything publicly, I just don't really need to know about it.
  • What we’ve been doing in Geoloqi is building up profiles of where people spend time. This, for example, is a list of three places I often visit, and the dates and times of each of my visits. You can see I spent 8 hours at this coffee shop on April 9th, and about 3 hours there on March 27th.
  • We can use this information to build a unique footprint of the city for each person. Then we can provide recommendations and filter events based on each person’s individual pattern.----- Meeting Notes (2011-05-17 11:54) -----6:00
  • Real-time location opens up some fun uses once this robot knows where you are all the time.
  • Explain the concept of geonotes.----- Meeting Notes (2011-05-17 12:11) -----:30
  • Example: send detailed transit instructions so you don’t have to dig for them later.Rather than searching your email on your phone trying to find the information, you get it as an SMS when you need it.
  • Example: Notifications of nearby events from the city’s event calendar.
  • Example: take restaurant inspection scores, and send an SMS if you’re near a restaurant with a low score.

Home Automation with SMS and GPS Home Automation with SMS and GPS Presentation Transcript

  • Location-Based Hacks
    How to Automate Your Life with SMS and GPS
    Aaron Parecki •@aaronpk
    Open Source Bridge • June 2011
    Slides and code available ataaron.pk/osb11
  • Sparkfun Hardware GPS
    • As expensive as a phone
    • Not real-time, download the data every night
    • Another device to charge and carry
    aaron.pk/osb11
    @aaronpk
  • Phones with GPS Hardware
    • One of a small subset of smartphones with GPS capability in 2008.
    • Now, most smartphones have this capability.
    aaron.pk/osb11
    @aaronpk
  • Raw GPS Logs
    aaron.pk/osb11
    @aaronpk
  • Temporal Relationships
    Relationships for a limited time
    Meeting a client – 30 minutes before the meeting
    Carpooling to work – every day from 8-9am
    Even with friends, their location is not always relevant to me
    aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
    Personal Location
    Analytics
  • Everyone has a unique footprint of their city
    aaron.pk/osb11
    @aaronpk
  • Location-Based Triggers
    Some fun uses for real-time location
    aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
    Geonotes
    Location-Based Reminders
    Try it!aaron.pk/geonote
  • Proximal Address Notification
    Send an address as a Geonote.
    It will arrive where you need it.
    aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
    • Sends users notifications of restaurants nearby their location that are below a threshold of cleanliness.
    • Made by Reid Beels at a GeoloqiHackathon
    aaron.pk/osb11
    @aaronpk
  • Trigger-Based Actions
    Create triggers based on where users are.
    aaron.pk/osb11
    @aaronpk
  • Turning On/Off Your Lightswith GPS and SPS
    aaron.pk/osb11
    @aaronpk
    Geoloqi API
    Your Home Server
    X10
    Tropo.com
    Your Home Lights
  • aaron.pk/osb11
    @aaronpk
    X10 Lamp Switch
    Linux Command Line X10 Client
    www.heyu.org
    $ heyu on A1
  • Geoloqi Layers
    aaron.pk/osb11
    @aaronpk
    Web Views
  • aaron.pk/osb11
    @aaronpk
  • Create a Layer in Geoloqi
    aaron.pk/osb11
    @aaronpk
    Docs:geoloqi.org/API/layer/create
  • Create a Trigger in Geoloqi
    aaron.pk/osb11
    @aaronpk
    Docs:geoloqi.org/API/trigger/create
  • Handling a Trigger from Geoloqi
    aaron.pk/osb11
    @aaronpk
    Docs:geoloqi.org/Trigger_Callback
  • Loqi – the Friendly IRC Bot
    Core is MediaWikiRecentChangesperl bot
    Listens for incoming UDP packets and echos to a channel
    IRC messages are routed to a separate script on a new thread
    Loqi’s reactions to messages can take an indefinite amount of time without hanging the main IRC process
    Hangs out in #pdxwebdev on freenode
    aaron.pk/osb11
    @aaronpk
  • Loqi – the Friendly IRC Bot
    aaron.pk/osb11
    @aaronpk
  • Loqi – the Friendly IRC Bot
    Easy to send messages from new sources because it’s listening on UDP
    Security by obscurity! Yeah!
    Quick way to debug things on random web servers
    Send messages from any language
    aaron.pk/osb11
    @aaronpk
  • Loqi – the Friendly IRC Bot
    aaron.pk/osb11
    @aaronpk
  • Create an SMS Number
    aaron.pk/osb11
    @aaronpk
    tropo.com
  • SMS to IRC Gateway
    aaron.pk/osb11
    @aaronpk
    https://gist.github.com/1043323
  • aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
  • aaron.pk/osb11
    @aaronpk
  • Indoor Location! (sort of)
    Watch your DHCP server logs for mac addresses
    Your phone makes a DHCP request almost immediately when you get in range of your home Wifi
    Quick and cheap way to know if you’re home!
    aaron.pk/osb11
    @aaronpk
  • Thank you.Geoloqi.comSlides & Code:aaron.pk/osb11
    Aaron Parecki @aaronpk