I'm going to put a little list of prerequisites for this because it's about to get a bit technical. Here they are:
1. Bash code and linux command line proficiency.
2. Understanding of ssh to access the Raspberry Pi.
3. Some networking know how, assigning static IP addresses and subnet masks.
4. Patience (this took me four weeks of back and fourth to finally nail down).
To begin, I used openhabian which is the out of the box distribution for the raspberry pi. You can download the image here. Download it (the suitable version for your pi) and use some sd card imaging software to flash the image to an sd card. I used balena etcher, which you can find here.
At this point, you can decide whether you want to boot openhab with an LAN connection to the internet or to change the openhab conf file to input your wifi information.
Now we play the waiting game. You need to leave the sd card do it's thing (expansion) and create the server.
Open any internet explorer and type in http://openhab:8080
This will connect you to the server dashboard. From here you can choose your setup. I would go with standard setup or simple if you're a first timer.
To be able to go to the next step you need to be able to access the pi with ssh. If you're running a windows pc then I would use putty, you can download it here. If you're running any linux distribution then you just need to type sudo ssh openhabian@yourpi'sip (replace yourpi'sip with the ip address of your raspberry pi, mine was 192.x.x.x. You can find it by typing ipconfig on a windows command line or ifconfig in a linux terminal) and use the password openhabian to access the system.
Now for step 2.....
Here are some links to purchase the raspberry pi. As an Amazon Associate I earn from qualifying purchases.
Raspberry Pi 4 Model B 4GB Complete Starter Pack - 32GB Noobs
0 Comments