Cheapest Smart Home for $38

92,601

1,170

52

Published

Introduction: Cheapest Smart Home for $38

About: We are the creators of - Prota OS: an OS for smart home hub that connects all devices and services and automate them in a simple way - MicroBot Push: a wireless button pusher that turns all your old applian...

Have you heard of the new Raspberry Pi Zero? Only priced at $5 (or $10 for the W version), it revolutionizes smart home by making it cheaper than ever and accessible to any budget. Another part of making smart home more accessible is the connection and automation part. That’s why we developed Prota OS, the Raspberry Pi based OS, that helps you connect your devices, sensors and services in a single smart hub and write automation workflows in natural language.

In this Instructables, we hope to show you what you can do with Prota OS with no skills and a very limited budget. Here are our four objectives:

  • 6 features
  • $38 budget
  • 1 hour setup
  • 0 skills needed

Let’s find out if we completed them!

FEATURES

  • Automated and connected appliances
  • Trigger automation when entering or leaving home
  • Old webcam turned into a smartcam
  • Motion detection while away
  • Notification of intrusion
  • Old smartphone turned into a smartcam

Step 1: REQUIRED COMPONENTS

  • Raspberry Pi Zero W = $10
  • 16GB SD card = $8
  • GPIO pin header = $3
  • RF transceiver (with soldered antenna) = $2
  • 3*RF socket = $15
  • Old webcam = $0
  • Old smartphone = $0

TOTAL = $38!

Step 2: SETTING UP YOUR PROTA SMART HUB

Prota OS is already available on RPi 2, 3. We are currently adapting the OS to RPi WZ, we will very soon update the OS version to allow RPIWZ support. If you want to use it on early access, make sure to join the Beta Program explained at the end of the project.

Prota OS can be downloaded for free on https://prota.info/prota/pi/. It’s only 3.8GB and easy to burn on a SD card (make sure to use a 16GB card).

Follow the instructions of Raspberry Pi foundation to write the OS image on your SD card. Extract the .img file from the zip folderPlug in your SD cardDownload and open Etcher, select the image and the drive and start the process.That’s it!

\

Once Prota OS is burned on the SD card, you can follow this simple installation guide to set up your Prota hub (less than 1 minute!). You only need to define its name and password, your time zone and your email address and the rest is completely automatic!

That’s it! In less than 15 minutes and with no hassle, you transformed your Raspberry Pi into a Smart Home automation hub!

Step 3: SETUP YOUR SMART PLUGS

The Raspberry Pi Zero W does not have a header integrated but it’s very easy to add one (and you can buy it for less than $2 on Amazon). You can solder it very easily in a minute.

Thanks to those PINs, we can now connect the Raspberry Pi Zero W to our RF transceiver. The latter will communicate via radio frequency with your RF sockets to turn them on and off. It’s a very economical way to connect devices/appliances that can be triggered by just being connected to a power supply (like lights and TV).

You need to solder the RF transceiver and home-made antenna together. Make sure the soldering connects the antenna to the ANT port on the RF transceiver.

You can have more information on how to make an external antenna in this article.

Keep in mind that the required length of your antenna will depend on the frequency of your RF socket. Our OS supports 433, 477 and 315 MHZ.

Once soldering is done, plug three jumper wires to your RF transceiver (433/477/315 MHZ).

VDD = Electric current (5V)
GND = ground (select a ground PIN)
DATA = has to be connected to GPIO23

You can connect those three jumper wires as we did on PIN 2 (5V), PIN 6 (GND) and PIN 16 (GPIO 23).

The last step is to connect the configured antenna with the RF socket.

  • Open App Libraries and download ON/OFF app
  • Click on “Add socket”
  • Type-in the details, select “On Board” and click on “Done”

  • The app will start scanning the surrounding sockets. Press and hold on the socket’s button until the LED blinks
  • When the LED stops blinking and stays on solid red, it means your Prota Pi has paired with your socket. You can then press on “Remember”

You can now try turning it on and off via the app interface.
Do the same for your other two sockets.

Alternatively, if you already have WeMo switches at home you can also very easily connect them via ON/OFF by selecting “WeMo Switch” in the New Device interface above.

Step 4: CONNECT YOUR WEBCAM

There is nothing more simple than turning an old webcam into a smart cam with Prota OS!

It’s so simple you can actually do it in 60 seconds and just few clicks (see above).

  • Plug your old webcam
  • Open App Libraries
  • Download Webcam app
  • Open Webcam app

Step 5: TURN YOUR OLD SMARTPHONE INTO a SMARTCAM

You can turn an old smartphone into a smart cam by using ManyThing app, which is supported by IFTTT.

  • Download the app on iOS or PlayStore depending on the smartphone you will use as a webcam.
  • Sign up and choose “Camera” to put it in Webcam mode (Viewer is the mode to use on the device from which you want to monitor).
  • Define the Settings according to your preferences

Try to find a point of view that would compliment the orientation of your webcam and give you a great range of sight. Requirement: keep in mind it’s necessary that your smartphone stays connected to a power supply and in reach of your WiFi connection.

Step 6: SET UP YOUR TELEGRAM BOT(OR SLACK BOT)

A Telegram bot is a virtual assistant that you can create on Telegram messenger app.

  • Download Telegram app on your smartphone and create an account
  • Download Telegram app on your Prota Pi (in App Libraries)
  • Open the Telegram app on Prota and click on “Request Authorization”
  • Set a name and username for your bot, then click on "Create"

Your bot is now created!

Step 7: AUTOMATE!

The key part of smart home is to create automation workflows that will connect your devices together according to pre-programmed scenario.

Let’s do that by using two great tools, Stories app (in Prota OS) and IFTTT (If This Then That).

Connect to IFTTT

First, let’s connect your Prota with the IFTTT service.

  • In App Libraries, download the IFTTT app. This app has no interface and only handles the link.
  • Go to IFTTT (the app or website) and search for “Prota”. Click on connect and select your Prota Pi.
  • Search for “MicroBot Push” channel, click on connect and select your Prota Pi.
  • Search for “Manything” channel and connect your old smartphone to it.

Write Storylines
Stories app is the automation tool of your Prota Pi hub that generates workflows in natural language, to make it more accessible to any user.

In Stories app, write the following automation storylines:

  1. When Prota applet run, ON/OFF S1/S2 turn on
  2. When Prota applet run, ON/OFF S1/S2 turn off
  3. When Prota applet run, ON/OFF turn on S3
  4. When it is 9AM, Prota restart Webcam app.
  5. When it is 6PM, Prota terminate Webcam app.
  6. When Webcam detects motion, Webcam takes a snapshot, Telegram bot sends a message “Motion has been detected while you’re away” Then Telegram bot sends the snapshot Then run prota applet

You can use those links to import directly the storyline to your Stories app using the Cite feature :

Those storylines need to be linked to Applets created on IFTTT.

Create Applets

To create the necessary applets automatically, click on the link below each applet below to get the applets we pre-set for you. You will simply have to enter some elements specific to your location and turn the applet on.

Step 8: LET’S TRY IT OUT!

You can now set everything up and start enjoying the benefits of an automated home!

We hope you enjoyed this Instructables and discovered the many possibilities you have to make your home smarter in very simple and inexpensive ways. Thanks to IFTTT, you can integrate most major smart devices to this project and increase the number of available features. Great improvements could be to build-up a smart doorbell to be warned of visitors whether you’re at home or away, to integrate a smart thermostat to save up on energy while away or use a MicroBot Push to turn dumb appliances into smart devices.

If you liked this project, make sure to have a look at our previous projects, to follow us on both Instructables and Twitter.

BETA PROGRAM
You like Prota OS and want to test our newest apps before their release?
Subscribe your email address here to enroll or get further information on our Beta program.

Prota OS update for Raspberry Pi Zero W will be soon released. If you want to get it with early access make sure to join the Prota beta program. Once we are ready to launch, we’ll send download link :)

You like our projects? Make your own!

We are currently (and until July 30) running a maker contest. Show us the creative projects you can do with Prota OS and win awesome prizes!

More info here - https://support.prota.info/hc/en-us/community/top...

Share

    Recommendations

    • Clocks Contest

      Clocks Contest
    • Water Contest

      Water Contest
    • Oil Contest

      Oil Contest

    52 Discussions

    Leaving aside the previous comments, not everyone has a spare webcam and smartphone laying around. The price should be at least $150 dollars even if the parts you have listed are at the prices you list.

    6 replies

    @MattY40
    $150? Are you crazy? Even if you didn't have an old webcam and an old smartphone, you could buy a cheap webcam for $15 in a store (like Staples) or used locally (Craigslist). An old smartphone on Craigslist could cost you about $40 (iPhone 4s, less for an old Android) or you could buy a cheap off-brand Android phone from Walmart, CVS, ect for $30-$50.

    Okay, for the sake of argument, let's say you can source those parts for those prices, and that you could find the rest of the list for the prices you quoted (although I notice you did not provide links).

    Let's also assume people don't have jumper wires. A pack of those costs about 2 bucks.

    So with the $38 you originally quote, 2 for jumpers, and 55 for the parts we have already talked about, you're up to $95

    I'm sorry, but your title isn't accurate. You might amend it to "as low as $38" to keep people from thinking that you are just after views.

    What's with all of the "you you you"? I did not write this guide. I did not give it a title. I did not omit purchasing links. I'm not after views. And I still think the pricing on this guide is accurate. Most people have old electronics. That's the whole philosophy of Instructables: DIY with a focus on reusing things you have.

    Sorry, I thought you were the original poster. Still, my comments all stand. This is clickbait for a company, not a real instructable. This community should be about DIY people helping each other, not about companies generating exposure and sales. If the title had said "as low as $38" it would have been an entirely different thing.

    0
    user
    kd8bxp

    6 months ago

    Modulation type? FSK, ASK/OOK? I understand this may be different for different parts of the world and different types of outlets - but some clue about which transceiver used would be helpful. I have been unable to find any for under about $5.00 U.S. I have found a number of 433mhz/315mhz TX/RX pairs but they are not transceivers - would these work?

    http://www.electroschematics.com/9999/rc-link-ask-...

    I am pretty sure a lot of the RF outlets use these because they are cheap.

    But not sure they would work with this project.

    1 reply

    Visually, the "RF sockets" look like Etekcity devices, available on amazon for $30 for a kit of 5 sockets and 2 handheld transmitters. Over at https://www.samkear.com/hardware/control-power-out... it says you can get a compatible 433MHz transmitter/receiver kit for about $5 ($6.66 SMAKN kit from Amazon). Amazon says the SMAKN thing is ASK/OOK modulation.

    There looks like a lot of meat on that other blog entry.

    0
    user
    dnsbob

    6 months ago

    Note that there is no security in these wireless plugs - anyone could turn your wireless plugs on and off, so be sure there is nothing dangerous connected to them (coffee pot, heater, etc). But this would be more expensive and difficult with secure wireless.

    Sounds interesting, but there's not enough information around to know if this is a bait and switch for home automation products.

    Nice 'ible. Thanks for doing this.

    Any chance you can put some model numbers of the parts that you used? Mainly the RF transceiver and the RF sockets.

    0
    user
    JimI8

    1 year ago

    You are assuming more knowledge than I have so I guess mine is less than zero...LOL

    1) Do the old smart phones need a contract for access????

    2) Can more than ONE smartphone be used for cameras simultaneously?

    3) Can a Raspberry 3 be used in place of the Zero??

    3 replies

    Hi!
    1) No contract needed, any smartphone that can use WiFi and on which you can install Manything app is fine.

    2) Manything offers a free plan for one camera. It's possible to connect two or more cameras but it's necessary to enroll to a paying plan.

    3) You can indeed use a Raspberry Pi 2 or 3 instead.

    which rf tranciever did you use?

    some phones shutdown the wifi if they are not active. evil.

    0
    user
    Dwargh

    1 year ago

    Great I'ble!

    It's a shame the Pi Zero is so expensive... :(

    (For germany I can't find a price below 15€)

    Is " protapi_official_0_21_17041019.img" the right version for the Pi zero W ?

    I burned a SD with "Etcher", but nothing happens.
    Inserting this SD in my Pi 3 B invokes installing Prota.
    Whats up ?

    Gr. René.

    I've been looking for the RF transiver part, I have managed to find the following but have no idea if they would work.

    http://uk.farnell.com/quasar/qam-tx1/rf-mod-transm...

    http://uk.farnell.com/rf-solutions/qam-tx2-433/tra...

    Does anybody have an idea if these are going to work?