Shouldn't the process for setting up home automation software be automated?
Past Posts:
Epidode 1: Forget Me Not: Application
Episode 2: Forget Me Not: The Best Laid Plans ...
This post is about my experience setting up my Raspberry Pi. Other users have detailed documentation for setting up openHAB and I don't see the merit in producing the same work. I will, instead, add my two cents to what has already been published.
[Forget me Knot Week 1] BASHing my head against the wall
Forget_me_not: My Smart Home Post #2 Week-1 Getting Started
Forget_me_not: My Smart Home Post #2 Week-1 Getting Started
[CaTS] ForgetMeNot - Week 1: EnOceanPi and Sensors <----- You should definitely read this one, good job Frederick!
Resources for setting up:
Disabling the Raspberry Pi Serial Port
Raspberry Pi, No Keyboard or Mouse Required
Setup the Raspberry Pi
1. Go to Downloads | Raspberry Pi and download NOOBS. Below I have shown an image of the website. Click the Download ZIP link to get NOOBS and click on NOOBS setup guide to see a video about setting up NOOBS.
2. Download the SD card formatting utility from www.sdcard.org
3. Insert your SD card into the computer's SD card reader, run SDFormatter, and format the SD card.
4. Copy the contents of the ZIP file you downloaded (NOOBS) to the SD card.
5. Insert the SD card into your Raspberry Pi and turn on the Raspberry Pi.
Follow all the instructions when you boot up. Install the OS blah blah blah, there's a million websites about starting up your Pi the first time. Get to a terminal window to perform the system update and upgrade
sudo apt-get update sudo apt-get upgrade
Disable the serial console on the Raspberry Pi. What's this all about anyway? We'll the Raspberry pi by default has a UART connection (TX, RX) that it automatically sets up. The EnOCean Pi needs to claim these pins for itself, so you have to tell Raspbian that it can't have the console. That's done by using a nice script Andrew Scheller wrote:
sudo wget https://raw.github.com/lurch/rpi-serial-console/master/rpi-serial-console -O /usr/bin/rpi-serial-console && sudo chmod +x /usr/bin/rpi-serial-console sudo rpi-serial-console disable
Now, REBOOT!
That's it, your Pi should be ready to go with the EnOcean gateway (hopefully by this time you've plugged in the EnOcean Gateway to your Pi).
The rest of the steps to get openHAB up and running are covered very well by other finalists, and I recommend reading Frederick's detailed instructions.
A few tips:
- When inserting commands into the configuration files, don't forget to remove the # in front of the line. This is very important, as that # makes the line a comment and the command never runs.
- Install openHAB to /home/pi/openHAB so you don't have to worry about user permissions when using the designer software.
- I definitely recommend using the debugging setup Daniel Williams used so you can get your sensor IDs without installing FHEM.
- You should definitely remove a lot of the extra jar files from the openHAB/addons folder. If you leave them all there the Pi gets bogged down. It takes forever to restart openHAB and you will be restarting a lot to get it debugged. I removed all the binding ones except enocean, serial, gpio, and cups.
- If your smart phone does not have a new version of Android it will be best to use a web browser directed to http://192.168.xxx.xxx:8080/openhab.app?sitemap=demo to see the status of your smart home.
Good luck!
Top Comments