TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker or making a Paypal contribution here: paypal.me/SupportTMC

Can your Model S control your house? Mine can!

Discussion in 'Model S: User Interface' started by Brian0, Apr 6, 2013.

  1. Brian0

    Brian0 Member

    Joined:
    Feb 20, 2013
    Messages:
    18
    Location:
    Woodinville, WA
    It's the eve of the Northwest Tesla Owner's Club Spring 2013 Get Together and I thought I'd be outside washing my car, but it's been dumping rain... because I live in the Northwest. So I thought I'd stay indoors and get in touch with my inner n3rd and play around with my Model S from the comfort of my keyboard.

    In the spirit of the HomeLink functionality I thought it would be cool if I could control more then just my garage door from my Model S. I've got a bunch of IP cameras and Z-Wave going through a Mi Casa Verde so I thought I'd try to interface them all together. It's a quick hack job, but here's my 'proof of concept' where I've got a couple lights that toggle with a push of the button along with some programmed scenes for things like All Lights Off or All Downstairs Lights On for when I come home. I can check on the dog and see who is at my front door (of course only when the car is stopped). I have all of this going through a linux reverse proxy that limits only the commands I want exposed to the Internet and blocks access to things like web admin pages for the cameras and automation gear.

    I need to pretty it up and continue to work on my security controls, but thought I'd share what I put together this afternoon.

    Dashv1.jpg

    Has anyone else done anything similar out there?
     
  2. aja2460

    aja2460 Old Member

    Joined:
    Nov 25, 2012
    Messages:
    114
    Location:
    Woodinville, WA
    Pretty cool Brian...
    See you tomorrow
     
  3. doug

    doug Administrator / Head Moderator

    Joined:
    Nov 28, 2006
    Messages:
    15,914
    Location:
    Stanford, California
    Very cool.
     
  4. bonnie

    bonnie Oil is for sissies.

    Joined:
    Feb 6, 2011
    Messages:
    14,241
    Location:
    Columbia River Gorge
    Agreed. Very cool.
     
  5. dtich

    dtich #P708

    Joined:
    May 31, 2012
    Messages:
    428
    Location:
    Los Angeles
    excellent! i too access my home automation from the car. i use indigo and about 10 other programs to control alarm, hvac, audio/video, lights, irrigation, phone, cameras, etc. via insteon, zwave, ip, rf, ir, and mesh wireless. crazy the car is starting to integrate... it doesn't know what it's in for!

    ps - you've got a fw update waiting. :)
     
  6. vetboy45

    vetboy45 Member

    Joined:
    Feb 14, 2013
    Messages:
    62
    Location:
    Kent wa
    That's fantastic. I've actually been delaying purchasing any home automation in the hopes that there would be a way to interface with the model S. Would this work with another format besides z-wave? Does this void the warranty? I'll see you tomorrow as well. Cool stuff.

    Ben
     
  7. Brian0

    Brian0 Member

    Joined:
    Feb 20, 2013
    Messages:
    18
    Location:
    Woodinville, WA
    That's odd. My original post was removed. :cursing: Well at least a few people got to see it!
     
  8. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    I found this thread confusing as a result.

    Will we see you tomorrow at Metropolitan Detail?
     
  9. Brian0

    Brian0 Member

    Joined:
    Feb 20, 2013
    Messages:
    18
    Location:
    Woodinville, WA
    Hey Ben,

    The warranty wouldn't be affected at all since all you're doing is browsing to a http address in the web browser. As far as working with non-Zwave gear, you just need something that will act as a bridge between HTTP/HTTPS and your home automation gear. For me I'm using a Mi Casa Verde Lite. I used this page as a guide to translate Zwave functionality to a URL for my bridge. So if you can find something similar you should be good.

    But... whatever you do, make sure you don't just port forward all your traffic from the Internet to all your tech toys. People will find them and start turning your lights on/off on you (or unlock your doors if you have the functionality)... That's why I used a reverse proxy as a filter.

    - - - Updated - - -

    So for those that didn't see it, I created a home automation/ip camera portal for my Model S through the web browser.

    Internet <>Firewall<>Reverse Proxy<>Web server<>Camera/ZWave(Mi Casa Verde)

    So by bookmarking my portal in the car's browser I have instant access to view my cameras, turn on/off specific lights, or run automated scenes like all light off, or garage/kitchen/family room lights on for when we get home. My inspiration came from the HomeLink button and I wanted to expand it to other areas of my home.
     
  10. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
  11. Brian0

    Brian0 Member

    Joined:
    Feb 20, 2013
    Messages:
    18
    Location:
    Woodinville, WA
    And yes we'll be at Metropolitan Detail tomorrow!!!
     
  12. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    Cool. See ya there! Pray for at least a little sunshine...
     
  13. NigelM

    NigelM Recovering Member

    Joined:
    Apr 3, 2011
    Messages:
    13,257
    Location:
    Sarasota, FL
    Don't know what happened there, but it's fixed now.
     
  14. Krugerrand

    Krugerrand Active Member

    Joined:
    Jul 13, 2012
    Messages:
    4,271
    Location:
    California
    Oh, look. BrianO has a jail cell in his home. :biggrin:
     
  15. Banahogg

    Banahogg Member

    Joined:
    Jan 22, 2013
    Messages:
    293
    Location:
    San Jose, CA
    When I brought up my house control system in the car, I noticed that it doesn't appear to support HTTP basic auth correctly, which is a little annoying.
     
  16. dtich

    dtich #P708

    Joined:
    May 31, 2012
    Messages:
    428
    Location:
    Los Angeles
    #16 dtich, Apr 7, 2013
    Last edited: Apr 11, 2013
    Yep, +1.

    you can try embedding the login in the url, works w most servers... e.g.:

    <http://user:[email protected]/thepageimlookinfor>

    ...remove that underscore after user: had to include it so the dang thing wouldn't make a :p out of it every time...


    fwiw...


    edit: removed url tags on the http line so people wouldn't actually click it and have their browsers warn about phishing.. it's not a real url, just an example... :)
     
  17. Ocelot

    Ocelot Member

    Joined:
    Jul 2, 2012
    Messages:
    436
    Location:
    Canada
    :biggrin:
     
  18. Brian0

    Brian0 Member

    Joined:
    Feb 20, 2013
    Messages:
    18
    Location:
    Woodinville, WA
    I thought it was weird when I bought the house. But we use it often! :tongue:
     
  19. Robert.Boston

    Robert.Boston Model S VIN P01536

    Joined:
    Oct 7, 2011
    Messages:
    7,842
    Location:
    Portland, Maine, USA
    Wow, when you give your kids a time-out, you're serious! Great system, Brian.
     
  20. preilly44

    preilly44 Member

    Joined:
    Nov 1, 2014
    Messages:
    92
    Location:
    Bethesda, MD, United States
    I know this is an old thread...but does anybody have this working with Smart Things and/or Foscam Cameras?
     

Share This Page