OpenHab2: Setting Up The Home Automation Server Final Install
Setting Up The Home Automation Server
Final Install:
Preparation:
1. Unplug the raspberry pi from the micro usb cable as well as unplug the ethernet cable
2. Then bring over to a table and take the whole case apart because we need to make some small modifications
3. Next unscrew the raspberry pi from the bottom piece of the case and put it somewhere safe
4. Make sure you do not loose the small screws so move them somewhere safe
Modifying the case
1. Grab a small piece of wood, I am using a short piece of a 2 x 4 this is to prevent the desk being damaged
2. Then take the bottom piece of the acrylic case with the straight side to the left and the shorter side to the middle box facing you
3. Choose a drill bit that is bigger than the screws you are going to use to mount the pi, The screws I have are M3.5 so I chose a 4mm drill bit
4. Next grab your drill and put in the drill bit
5. I am going to drill two holes for mounting, one is going to be in between the micro sd card hole and the square cut out, the other hole is going to be in between the left edge and the square
6. Once the holes are drilled, we are going to countersink them so they are flush with the case
7. Find a counter sink bit that will make the screw flush, I chose a size 8 and found that it worked really well
8. Once you chose a size put it in the drill and go to the hole and just start drilling, while you are drilling though take breaks to test and see how flush the screw is
9. When the screw is perfectly flush then we are done and then repeat the procces for the other hole
10. Great now that both screws are counter sunk, put the case back together but, without the pi inside
11. Bring it over to where you are going to mount and play around with its positioning, keep in mind the locations of the ports and clearance
12. Once you chose its position bring the case back over to the table and take it apart.
13. After it is apart find a drill bit that is smaller than the screw we are going to use to mount the case
14. Take the bottom piece of the case back over to where we are going to mount it and drill holes use the bottom piece as a template
15. When the holes are drilled bring the bottom piece back to the table and put the two mounting screws through the holes
16. Then take 8 - 10 of the plastic washers and put them over the screws, the reason we do this is to provide a space between the bottom piece and the mounting surface so we can assemble the case on the wall
17. This is the tricky part grab the 4 screws that we use to mount the pi to the case and stick the through (Refer to the video if confused)
18. Now with all the screws in bring it over to the mounting place and screw in the mounting screws into the predrilled holes
19. To prevent the raspberry pi from ever shorting just in case I put pieces of electrical tape over the metal mounting screws
20. Next take the 4 small plastic spacers used for attaching the pi to the case and put them over the 4 screws we put in before screwing it to the wall
21. Then take the pi in addition to the 4 nuts and mount the pi to the case, since we can't reach the screws we will just finger tighten the nuts
22. All we have to do is assemble the case, so grab the microsd card side piece as well as the two long pieces and put them on
23. After take the piece with the fan, and connect the fan as well as put the piece on
24. Finally take the piece with the port cutouts and put it on
25. Before we plug in the cables I like to label them
26. I used my dymo label maker and made a label for the two sides of the ethernet cable as well as the power brick
27. I also labeled the actual pi with what type of server it is and its IP address
28. Then I took the micro usb cable and the ethernet cable and plugged them in
29. The automation server is now done in terms of hardware