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

3,066

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
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,066
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
49
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
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 ataaron.pk/osb11
    • 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
      aaron.pk/osb11
      @aaronpk
    • 6. Phones with GPS Hardware
      • One of a small subset of smartphones with GPS capability in 2008.
      • 7. Now, most smartphones have this capability.
      aaron.pk/osb11
      @aaronpk
    • 8. Raw GPS Logs
      aaron.pk/osb11
      @aaronpk
    • 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
      aaron.pk/osb11
      @aaronpk
    • 11. aaron.pk/osb11
      @aaronpk
    • 12. aaron.pk/osb11
      @aaronpk
      Personal Location
      Analytics
    • 13. Everyone has a unique footprint of their city
      aaron.pk/osb11
      @aaronpk
    • 14. Location-Based Triggers
      Some fun uses for real-time location
      aaron.pk/osb11
      @aaronpk
    • 15. aaron.pk/osb11
      @aaronpk
      Geonotes
      Location-Based Reminders
      Try it!aaron.pk/geonote
    • 16. Proximal Address Notification
      Send an address as a Geonote.
      It will arrive where you need it.
      aaron.pk/osb11
      @aaronpk
    • 17. aaron.pk/osb11
      @aaronpk
    • 18.
      • Sends users notifications of restaurants nearby their location that are below a threshold of cleanliness.
      • 19. Made by Reid Beels at a GeoloqiHackathon
      aaron.pk/osb11
      @aaronpk
    • 20. Trigger-Based Actions
      Create triggers based on where users are.
      aaron.pk/osb11
      @aaronpk
    • 21. Turning On/Off Your Lightswith GPS and SPS
      aaron.pk/osb11
      @aaronpk
      Geoloqi API
      Your Home Server
      X10
      Tropo.com
      Your Home Lights
    • 22. aaron.pk/osb11
      @aaronpk
      X10 Lamp Switch
      Linux Command Line X10 Client
      www.heyu.org
      $ heyu on A1
    • 23. Geoloqi Layers
      aaron.pk/osb11
      @aaronpk
      Web Views
    • 24. aaron.pk/osb11
      @aaronpk
    • 25. Create a Layer in Geoloqi
      aaron.pk/osb11
      @aaronpk
      Docs:geoloqi.org/API/layer/create
    • 26. Create a Trigger in Geoloqi
      aaron.pk/osb11
      @aaronpk
      Docs:geoloqi.org/API/trigger/create
    • 27. Handling a Trigger from Geoloqi
      aaron.pk/osb11
      @aaronpk
      Docs:geoloqi.org/Trigger_Callback
    • 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
      aaron.pk/osb11
      @aaronpk
    • 29. Loqi – the Friendly IRC Bot
      aaron.pk/osb11
      @aaronpk
    • 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
      aaron.pk/osb11
      @aaronpk
    • 31. Loqi – the Friendly IRC Bot
      aaron.pk/osb11
      @aaronpk
    • 32. Create an SMS Number
      aaron.pk/osb11
      @aaronpk
      tropo.com
    • 33. SMS to IRC Gateway
      aaron.pk/osb11
      @aaronpk
      https://gist.github.com/1043323
    • 34. aaron.pk/osb11
      @aaronpk
    • 35. aaron.pk/osb11
      @aaronpk
    • 36. aaron.pk/osb11
      @aaronpk
    • 37. aaron.pk/osb11
      @aaronpk
    • 38. aaron.pk/osb11
      @aaronpk
    • 39. aaron.pk/osb11
      @aaronpk
    • 40. aaron.pk/osb11
      @aaronpk
    • 41. aaron.pk/osb11
      @aaronpk
    • 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!
      aaron.pk/osb11
      @aaronpk
    • 43. Thank you.Geoloqi.comSlides & Code:aaron.pk/osb11
      Aaron Parecki @aaronpk

    ×