Using a Hat 4 CH Relay this time. Cleaner, Better.
09/21/2020
SERVER WILL NOT RUN FROM FRIDAY 12:00 EST - SUNDAY 12:00 EST
(DISCLAIMER : the following information is subject to change based on developing phases and dev. brain capacity. )
A home automation utility.
This App will allow the user to control electronic devices, from anywhere in the world, hopefully the universe.
With the GPIO and proccesing power of a R31416, a solid backend and a dependable server i have built a home automation system, at the moment it controls a funny projection lamp and a couple of light emiting diodes, but it can basically control, anything that requires electricity, acting as a smart hub...or anything i can get asked to do.
- User access a website
- User sends ON request.
- Device turns on.
- User sends OFF request.
- Device shuts off.
The first challenge was to find a way to use Javascript to control the GPIO pins on the R31416.
Second challenge was to be able to control it through another computer, at least inside the same network...a server maybe?? but HOWWWW???
When i was finally able to control the inputs not only from the local network, but had turned the r31416 on a server that hosted the site with all controls of the GPIO and the LED turned ON!!
Now it was time to make the little monster machine functional in a real home environment, added a relay some frankensteined electronics and IT WORKED!! at around 3:30 EST in the AM it worked.
- Google Search.
- Raspberry Pi.
- Relay
- CDN
- Server Infraestructure
- Project proposal
- Server Live
- Circuit Diagram
- Scout GPIO on Rpi
- Circuit engineering.
- Light up an LED.
- Electric elements dev.
- RSO
- The Wizards (P,J,D,M)
- CSS + HTML + Jsvascript \m/
- The Google and it's capacity to develop our Googliness.
- BH brain capacity, time management, and a shton of GIFD.
The first time the LED turned on by a local input:
https://www.youtube.com/watch?v=Ro7XKjRe7x8
Local network test from a cellphone on headless R31416:
https://www.youtube.com/watch?v=kwXusMJCzow
Pete tests controlling the the LED from Boston:
- "onoff": "^6.0.0"
- "socket.io": "^2.3.0"