Your SlideShare is downloading. ×
Home Automation with SMS and GPS
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Home Automation with SMS and GPS


Published on

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.

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide
  • 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.
  • Transcript

    • 1. Location-Based Hacks
      How to Automate Your Life with SMS and GPS
      Aaron Parecki •@aaronpk
      Open Source Bridge • June 2011
      Slides and code available
    • 2.
    • 3. Sparkfun Hardware GPS
      • As expensive as a phone
      • 4. Not real-time, download the data every night
      • 5. Another device to charge and carry
    • 6. Phones with GPS Hardware
      • One of a small subset of smartphones with GPS capability in 2008.
      • 7. Now, most smartphones have this capability.
    • 8. Raw GPS Logs
    • 9.
    • 10. 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
    • 11.
    • 12.
      Personal Location
    • 13. Everyone has a unique footprint of their city
    • 14. Location-Based Triggers
      Some fun uses for real-time location
    • 15.
      Location-Based Reminders
      Try it!
    • 16. Proximal Address Notification
      Send an address as a Geonote.
      It will arrive where you need it.
    • 17.
    • 18.
      • Sends users notifications of restaurants nearby their location that are below a threshold of cleanliness.
      • 19. Made by Reid Beels at a GeoloqiHackathon
    • 20. Trigger-Based Actions
      Create triggers based on where users are.
    • 21. Turning On/Off Your Lightswith GPS and SPS
      Geoloqi API
      Your Home Server
      Your Home Lights
    • 22.
      X10 Lamp Switch
      Linux Command Line X10 Client
      $ heyu on A1
    • 23. Geoloqi Layers
      Web Views
    • 24.
    • 25. Create a Layer in Geoloqi
    • 26. Create a Trigger in Geoloqi
    • 27. Handling a Trigger from Geoloqi
    • 28. 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
    • 29. Loqi – the Friendly IRC Bot
    • 30. 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
    • 31. Loqi – the Friendly IRC Bot
    • 32. Create an SMS Number
    • 33. SMS to IRC Gateway
    • 34.
    • 35.
    • 36.
    • 37.
    • 38.
    • 39.
    • 40.
    • 41.
    • 42. 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!
    • 43. Thank you.Geoloqi.comSlides &
      Aaron Parecki @aaronpk