SnakeHome is a local-hosted powerful Snake-Styled automation system, based on HAOS and using wireless relays and some sensors. Hosted on a Raspi 4 and directly driving I2C sensors and Digital sensors, using the Raspi's GPIO.
I like that I can automate and smartly control my whole house, and also using my voice to control it. So, decided to make this project as i can host, control, automate, and integerate many things..
- Snake-Styled Case
- Using I2C bus on the same Pi 4
- Has additional I2C buses using an I2C multiplexer
- Custom Pi Hat for the I2C buses, RGB strip, and Motion sensors.
Note
Here you are the Fusion Assembly Link
| Item Name | Purchase Link | Quantity | Price per Unit | Total |
|---|---|---|---|---|
| LCD HDMI 7 inch 800x480 Capacitive Touch Screen | RAM-E Shop | 1 | $61.41 | $61.41 |
| Raspberry Pi 4 | Cytron | 1 | $100 | $100 |
| 4-Channel Wireless Relay Module ESP-12F (RM4W) | Fares PCB | 5 | $6.14 | $30.71 |
| AM-2320 Temperature & Humiditydity | RAM-E Shop | 4 | $3.58 | $14.32 |
| PIR Motion Sensor Module HC-SR501 | RAM-E Shop | 2 | $1.02 | $2.04 |
| TCA9548APWR I2C 8 channels bus multiplexer TSSOP24 | UGE-One | 1 | $1.74 | $1.74 |
| Chip Resistor SMD 10Ω ±1% 62.5mW ±100ppm/℃ 0402 | Maker's Electronics | 11 | $0.002 | $0.022 |
| B4B-XH-A JST XH Data Terminal Male 4 Pin Connector Header 2.5mm | Maker's Electronics | 5 | $0.012 | $0.06 |
| B3B-XH-A JST XH Data Terminal Male 3 Pin Connector Header 2.5mm | Maker's Electronics | 2 | $0.01 | $0.02 |
| Data Cable JST 3 Pin 2.54mm 26AWG 25cm One Side Terminal | Maker's Electronics | 2 | $0.17 | $0.34 |
| PHR-4 JST PH Connector Housing Female 4 Pin 2mm with 20cm Terminal Cable | Maker's Electronics | 5 | $0.10 | $0.50 |
| PCB (JLCPCB) | JLCPCB Cart | 5 | $0.40 | $2.00 |
| E-POST (JLCPCB) | JLCPCB Cart | 1 | $13.60 | $13.60 |
| 3D Prints | Local Vendor (Printfy-eg) | 1 | $33.80 | $33.80 |
| NeoPixel Stick 8-bit WS2812 5050 RGB LED Driver Development Board | RAM-E Shop | 3 | $1.00 | $3.00 |
| M3 & M2 Screwsrews | UGE-One Search | 18 | $0.05 | $1.00 |
| M3 & M2 Insertserts | UGE-One Search | 18 | $0.05 | $1.00 |
| USB Small Microphone | Aliexpress | 1 | $1.00 | $1.00 |
| TOTAL | ~~ | ~~ | ~~ | $266.56 (THE PI IS HELL) |
- Print the needed 3D parts and Pi hat.
- Heat the inserts and put each one in its place.
- Assemble the Pi4 and the Hat(After soldering it).
- Place them inside the Case and use M3 screws to rainforce them.
- Solder the 3 RGB Stick chain.
- Place the RGB Sticks and use M2 screws to rainforce them.
- Connect the RGB sticks connector.
- Connect the sensors connectors and take out each sensor wires from its hole.
- Assemble the 3D Snake face parts and use Glue to rainforce them.
- Assemble the Touch Screen using M3 screws in the Top Case.
- Connect the Pis HDMI and USB to the screen. (The Screen will take its power from the USB as well as the Touch data.)
- Place the Bottom Case on the wall and mark the Screw holes.
- Make the holes in the wall and Place the 3D case on them.
- Close the Top Case using M3 Screws.
- Connect the Pi to Power and Lan cables.
- Power on the Pi and use the RasPi Imager to Download and install the core Home assistant OS on your memory card.
- Boot the Pi, and setup HAOS.
- Enable the I2C bus using this Method.
- Use the Configratino.yaml file to use the Sensors on the I2C bus, with the ESPHome integration in HAOS.
- For the WiFi Relays, Flash the Firmware Binary.
- Connect it with HAOS as a ESPHome device.
- Follow this Tutorial to integrate Voice assistant commands. (You can ignore the AI thingy)
- Enjoy making automations and easy control over your house.