16 Comments

  1. Paul

    I’m working on a very similar thermostat project using a Pi and a Makeatronics solid state relay board as well! Can’t wait to see the next part!

    • jeff

      Thanks! I just realized that my demo site was requiring authorization to view. It should be fixed now if you want to check it out.

  2. neil

    A really useful project. Thanks for sharing and I can’t wait for more details from which I can try to clone what you have done even though I do not know how to program very well.

    • jeff

      Well hopefully in the next couple of months I will be able to release my source code. When I release it, I plan to have it set up where moderately experienced Linux users, or good direction followers can set it up with zero programming required.

  3. Looks great! I’m working on a home automation system too!

    http://i.imgur.com/tLpxaro.jpg

    I was trying yesterday to control the GPIO pins in c++ but my inexperience with coding and using the pi libraries shows that I need to be using springboards too. I’ll be looking forward to updates.

    Best of luck with your project!

  4. Randy Walker

    Wow! I love this! I have a whole slew of old iphones around my house and have been jsut itching to find a use for them.

    I am going to have to give this a try!

  5. Carl Hage

    Thanks for posting the sample. I used the static site as a demo. You have a bug in the javascript (well lots of bugs reported in the console) as it goes into an infinite loop of downloading 404 error files, filling 100% of my DSL.

    It would be nice to demonstrate a bloatware free design. I tried to kill the infinite loop by setting a breakpoint on XHR, and the onload event was 1 minute 24s (on my “normal” DSL) with somewhere around 2MB, finally stopping at 4.3MB and 2m 37s. That’s unusable on a remote phone unless you have unlimited 4G.

    • jeff

      Hmm.. I am really not a web developer at all. I focus on scientific computing professionally. As you can tell I hacked together a bunch of the client-side stuff. I just saved the static files from my browser and threw them up on bitbucket. Obviously it didn’t work out well. I’m doing some real time stuff with ajax, and maybe that is part of the problem. I’ll try to sort it out.

  6. Daryl

    I am planning on doing something similar!

    I have an extra wrinkle… 240V electric baseboard heat! This means I need to get a relay that can handle it, but they are driven by a 12~24V singnal, so I’ll need relays to step from 3.3v/5v to 12v/24v, then 12v/24v to 240v.

    Right now I’m just setting up the temp. Sensors (Dallas one wire, since the thermoresistor with a .1uF cap is to noisy). I’m planning on moving to a Power over Ethernet setup in each room with the sensors.

    Can’t wait!

    • jeff

      If you haven’t already run the lines for the sensors, I would recommend at least trying out the Spark Core as a totally wireless solution. It’s really nice.

  7. Andre

    Nice work!!
    I’d like to start a similar project, but I really don’t have any money..

    I don’t mean to sound offensive but… how do you have the time to do all this?? Is this project part of your job? 😀

    • jeff

      Well the hardware cost for the project is less than $100. The iPhone is completely optional. It just displays the remote web page.

      The project is not part of my job. However, I have a MS in engineering and I do machine learning and data analysis in Python for my job, so I already had much of the skills needed for this project. One thing I had never done before though is web development. I learned it entirely for this project. When I release the source code it will probably show.

Comments are closed.