Thanks for all the replies, I checked out github and its exactly what I was looking for for the web part. I also found this video guide that looks to be doing what I want https://www.youtube.com/watch?v=ecnxMOie7PM
This is above my head in terms of small electronic components but I'll learn it after I watch it a bunch. If someone who is well versed in these small electronic components could take a quick look at it and let me know if this is plausible solution to my question I'd greatly appreciate it.
If this works i'll eliminate the battery packs he has to run his circuits by most likely splicing in a step down AC to DC converter (cell phone charger most likely because it takes 120v AC and outputs 5V DC) in parallel to the circuit before the relay. That would make sure the electronic circuit is powered as the first side of the relay is powered. Of course this is all providing that the parts would work with the output amperage as well and that this would even work for what I want to use it for.
EDIT: I looked at getting some Rasp PI Zero's but cant find a good source to buy them from at a decent price that ships to Canada. Any suggestions if i need to go that route?
EDIT 2: So i started to dapple in OpenHab and managed to get my PI to host a nice webpage that I can access with my phone or PC that has a toggle button that activates or deactivates a Gpio pin that causes my relay to open or close. Im sadly no closer to understanding how to eliminate a raspberry pi at the actual location of the item i wish to switch with a relay but have seen some projects that combine a central PI with the pre programmed arduino to do what seems to be exactly that.
I'm still trying to understand the video I posted but i think it's exactly what I was looking for. Im just to dense to understand it xD
EDIT 3: I've found a way to do what I want to do and have it available to use anywhere but it doesn't include the Raspberry pi because its just simpler this way for the time being anyways. If anyone wants to try it out i'll be using IO adafruit (Open beta and free atm) to control the devices over the internet on my cell phone and this is the parts ill be using...
- ESP8266 E12
- 5V Relay Module
- AMS1117 Low Drop Out Regulator
- 1K Resistor (1/4w)
- Cell phone charger block with 5v output
- 14 gauge NMD wire
- Jumper wires
- replacement 15amp plug male head
- Duplex Outlet
- Deep PVC electrical box & Single gang electrical wall plate
- FTDI Usb to Serial Converter (3.3V version and its only to program the ESP8266)
Here's the plans for the plug http://imgur.com/a/gkdOc
and i'd like to thank HariFun for helping me put this together. End result will be a plug in a box that is plugged into a wall outlet for power. One side of said plug will always be on and the other will be switched via the relay with the IO Adafruit program.
This project is HariFun's idea i'm just adding to it with different wire and i'll probably swap to a 2 channel Relay. Here is a link to his instructables on how to do this project http://www.instructables.com/id/DIY-WiF ... /?ALLSTEPS