Hey Guys!
My name is João Duarte, I'm an IT Consultant at full time and this is my first Hackster project.
Here I'm describing how to build a box where you can plug devices, and with the aid of a Raspberry PI and Cayenne, you can control anything you like from anywhere. Please let me know if this (or my english) is not clear enough so I can edit it.
OverviewThe enclosure was built only using recycled materials I found around.
- Assemble all the frames except the top one with screws.
- Drill two holes where you will fix the outlets
- Fix the Outlets
- Pimp it as you like xD (I added some supports on the bottom and a puller on the top)
Follow the diagram attached in order to wire everything as it should. I recommend some extra caution here since the relay will be used to turn on and off devices that uses 230V AC. Don't forget to check everything before you plug it to the wall, and if you have any questions or doubts please message me before you try it!
Here is where this project gets different from the ones you already saw using Outlets/Relays/Microcontrollers.
Step 2I used the Cayenne Dashboard application so I can control the status of my Relays anywhere I am. A very simple example that I made, was using an Arduino and a DHT11. I had the Arduino sending a temperature value to my Cayenne Dashboard, and everytime it reached a certain threshold value, it triggered an event to turn my Heater that was connected to my box to "On".
Pretty simple and amazing since you don't need to code anything! Please go to www.cayenne-mydevices.com so you can get it running on your PI.
See it Working!
Comments