DIY “Samsung Family Hub” Refrigerator with Raspberry Pi + Camera!!!

DIY “Samsung Family Hub” Refrigerator with Raspberry Pi + Camera!!!

I got tired of seeing the commercials for Samsung’s Family Hub refrigerator with the cameras inside, so I decided to make my own. I used a Raspberry Pi and USB webcam to take a picture inside our fridge and upload it.

Whenever the door opens, a light sensor triggers the a simple program I wrote to take a picture and upload it via FTP to our website. Total cost was about $80 dollars.

See what’s in our fridge!

Parts I Used (Amazon Affiliate)
Webcam –
Raspberry Pi –
Light Sensor –
SD Card –
Keyboard and Mouse –

Download the python program:

Sign up for monthly income, expenses, and net worth reports!

Help us make these videos:

Twitter –
Instagram –
Facebook –

Check out our blog:

Categories: Home Theater

About Author

Comments

  1. Joshua Kiser
    Joshua Kiser 10 March, 2022, 13:11

    Best part is if something breaks you only need 30-50 bucks for parts instead of whats probably 1000+ for the samsung.

    Reply this comment
  2. sharee wert
    sharee wert 10 March, 2022, 13:11

    What about the outside family hub. Which laptop would be best, best magnet or strips to hold it etc…

    Reply this comment
  3. mirvrijn
    mirvrijn 10 March, 2022, 13:11

    I know there are other cams these days, as we are living four years later but wow.. this is so cool to see! Are you selling cams or sdcards now or did you help develop existing fridge cams that are on the international market?

    Reply this comment
  4. Waterloo Drinker
    Waterloo Drinker 10 March, 2022, 13:11

    Add some temp controls! 🙂

    Reply this comment
  5. jonny777bike
    jonny777bike 10 March, 2022, 13:11

    Maybe you could add a small two slim wires and put a potentiometer at the top right of the fridge door and sense what angle the fridge door is at and only take a picture when the door is at that angle or specific resistance. Just a thought on how to take a picture at a specific angle.

    Reply this comment
  6. Dean S
    Dean S 10 March, 2022, 13:11

    I'm guessing you no longer have this domain name? My ad blockers lock it down and recommend I don't load the page as it uses ad servers that are blacklisted.

    Reply this comment
  7. Stephen M
    Stephen M 10 March, 2022, 13:11

    Could you use a raspberry pi zero w?

    Reply this comment
  8. Coding The System
    Coding The System 10 March, 2022, 13:11

    Yes I need a security camera in my refrigerator because my produce is gonna break out.

    Reply this comment
  9. Joseph Zajdler
    Joseph Zajdler 10 March, 2022, 13:11

    OMG, inourfridge.com is no longer up.

    So disappointed.

    Reply this comment
  10. نوره القحطاني
    نوره القحطاني 10 March, 2022, 13:11

    Hi
    I have work in graduation project and
    I have problem with setting the sensor.. Can you please give me the right script of it ☹️ …. This is my sensor

    https://www.sunfounder.com/learn/sensor-kit-v2-0-for-b/lesson-20-photoresistor-module-sensor-kit-v2-0-for-b.html

    ( problem is at import PCF8591 as ADC)

    Reply this comment
  11. Sherrie McGovern
    Sherrie McGovern 10 March, 2022, 13:11

    we didn't pay anywhere near $6,000 for our Family Hub

    Reply this comment
  12. Steven May
    Steven May 10 March, 2022, 13:11

    Hi Mike and Lauren, we have just launched FridgeCam which you might like to see bit.ly/Fridgecam and you can all that it does at http://www.smarter.am/fridgecam I loved watching what you did after we had done our 3 years of development. We also have Alexa integration.

    Reply this comment
  13. Infiltrator2003
    Infiltrator2003 10 March, 2022, 13:11

    Damn dude. You rock.

    Reply this comment
  14. Commander Crash
    Commander Crash 10 March, 2022, 13:11

    Its always more rewarding to do a DIY project then to buy from big Manufacturers + with big Manufacturers if you have a issue its going to cost you even to call for help. but With raspberry you can find a solution on the forms that do justice.

    Reply this comment
  15. Jake Dassan
    Jake Dassan 10 March, 2022, 13:11

    so to see what's in your fridge you still have to open it?

    Reply this comment
  16. ficolas2
    ficolas2 10 March, 2022, 13:11

    This project is really cool but… I cant see the usefulness

    Reply this comment
  17. Jigatree
    Jigatree 10 March, 2022, 13:11

    Nice project but I still can't see a reason to take a picture when you have to be there and open the door.

    Reply this comment
  18. Shahzad Khan
    Shahzad Khan 10 March, 2022, 13:11

    Cool prfoject, but not really useful.

    Reply this comment
  19. CHATCHAI PRESERTDEE
    CHATCHAI PRESERTDEE 10 March, 2022, 13:11

    it will take a picture When the door is close or open?

    Reply this comment
  20. CHATCHAI PRESERTDEE
    CHATCHAI PRESERTDEE 10 March, 2022, 13:11

    How do you manage moisture??

    Reply this comment
  21. Skwerlhunter08
    Skwerlhunter08 10 March, 2022, 13:11

    Awesome, this is just what I needed. I want to make something similar for our mailbox.

    Reply this comment
  22. shoilett1
    shoilett1 10 March, 2022, 13:11

    On the website, http://inourfridge.com/, you mentioned that you were having problems with the WiFi signal strength. You can try placing the Raspberry Pi and the WiFi module outside of the refrigerator and place the camera and light sensor inside the refrigerator.

    Reply this comment
  23. Contempl8 Tech
    Contempl8 Tech 10 March, 2022, 13:11

    Lol this seems so rediculus, I can't really imagen why you would really need this lol. But we'll done good on you for setting this up!

    Reply this comment
  24. Zeng Allen
    Zeng Allen 10 March, 2022, 13:11

    Nice project!!
    My wife is unhappy with the 'odor' of pickcles in
    it. I am a pickle lover, so I bought a smart fridge odor eliminator. No
    more complaaints. Happy wife happy life.
     http://www.amazon.com/dp/B01DBKPJGK
    Check out w/ code "NEWCOMER" to save 30% off. You are welcome.

    Reply this comment
  25. KillerZero259
    KillerZero259 10 March, 2022, 13:11
  26. Kurt Smith
    Kurt Smith 10 March, 2022, 13:11

    Cool project Mike, good job! Thought of doing something like this myself. But after a little research, it looks like back in January a company called Smarter released a $100 Frig camera that does the same thing. Takes the fun out of it of course. I'm not affiliated, just an FYI.

    Reply this comment
  27. cafn8ed74
    cafn8ed74 10 March, 2022, 13:11

    nice project. I'm wondering if lens fogging has been an issue. I looked in your fridge, and the image looked a bit cloudy. Likely more of an issue if the door is being opened frequently, but a cold lens coming into contact with warm, damp Florida air seems like a perfect storm. If the camera could live outside the door, and peek in when it's opened that could help. Not sure if the added complexity would be justified, though, on a project that already works fairly well.

    Reply this comment
  28. PicoCluster LLC
    PicoCluster LLC 10 March, 2022, 13:11

    Good job!! Super cool well share that with our crowd

    Reply this comment
  29. Scott Haun
    Scott Haun 10 March, 2022, 13:11

    this is awesome!

    Reply this comment
  30. Angela J
    Angela J 10 March, 2022, 13:11

    Are you not going to post Friday finance videos any more?

    Reply this comment
  31. Rainer K.
    Rainer K. 10 March, 2022, 13:11

    Wouldn't the Samsung take a picture when you start closing the door? That way it would show what you have just taken out/put in whereas when it does that at the beginning you don't have the actual last state.

    Reply this comment
  32. Andrew Oakley
    Andrew Oakley 10 March, 2022, 13:11

    I cannot overstate how horrific it is, that a British computer should be involved in a project that involves TEA being stored in a FRIDGE. Our nations have a history of fighting over this stuff, y'know.

    More seriously – brilliant. The ultra-wide-angle short-focus webcam is a good find, especially that it seems to be supported out-of-box under Raspbian. I've tried adding a fisheye lens to the official Raspberry Pi camera (v1) with poor results.

    Reply this comment
  33. Guz Forster
    Guz Forster 10 March, 2022, 13:11

    Amazing initiative and project! People like you make my day!

    Reply this comment
  34. Adi Mulawarman
    Adi Mulawarman 10 March, 2022, 13:11

    cool project.

    Reply this comment
  35. hrethtrpo45
    hrethtrpo45 10 March, 2022, 13:11

    Hi Mike, you should know that GitHub records a history of all your changes. Your first commit had a password in the script, if that password is important I suggest changing it (and also using better passwords in general…)

    Reply this comment
  36. tube-dude
    tube-dude 10 March, 2022, 13:11

    How about a link to the light sensor. And a schematic.

    Reply this comment
  37. Paul Kiefert
    Paul Kiefert 10 March, 2022, 13:11

    The only thing I might add is that the image could be incorrect. For example if you opened it and took out the tea, the latest photo would still show the tea as it was taken right after the fridge was open and before you removed the Tea., not right before it was closed and after you removed something.

    Reply this comment
  38. Josh Makes Stuff
    Josh Makes Stuff 10 March, 2022, 13:11

    Great job figuring this out, but this is the definition of first-world problems.

    Reply this comment
  39. Jon Eichler
    Jon Eichler 10 March, 2022, 13:11

    Suggestion for the html page on your domain is add a meta refresh so it will automatically refresh the page at whatever interval you want. http://www.w3schools.com/tags/att_meta_http_equiv.asp Great project!

    Reply this comment
  40. Pidasian Hippie
    Pidasian Hippie 10 March, 2022, 13:11

    I bet this was a cool, fun project. I cannot imagine spending all that money to get the Samsung.

    Reply this comment
  41. Danny Shackleford
    Danny Shackleford 10 March, 2022, 13:11

    Really cool idea. My wife asked me when I would do that for our fridge. My response was….. not happening anytime soon.

    Reply this comment
  42. Paulo De Oliveira
    Paulo De Oliveira 10 March, 2022, 13:11

    Mike I went straight to inourfridge.com and the last pic was taken at 12:32AM… Midnight eating hmmm..
    Right so with that out the way – I thought it would be cool for it to take a picture on demand with the fridge closed – you'd probably have to use multiple cameras so that when you're at the mall you quickly check in to see what you're short on – otherwise this is a brilliant idea and you should sell it to #SAMSUNG.. ha ha ha..
    Also maybe you could sell the goodies you used on the main page with hosting on the sub-domains (inourfridge.com/mikeandlauren/ as you suggested) for the first year for about $15? What do you think?

    Reply this comment

Write a Comment

<