Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2394 of /home/cmedes5/public_html/homeautomationhacking/includes/menu.inc).

Configure the Raspberry Pi

This process is still being developed and tested.  OpenWinkRPi has been changed, which will change this process.

This process has been designed for a Raspberry Pi running version 2015-02-16 of Raspbian Wheezy. As time permits, we will evaluate the script for later Raspbian releases. Since this process is designed for a classroom setting, it starts with a raw OS image on the SD card and configures the Raspberry Pi from the first (installation) boot.

The configuration script will update the Raspberry Pi Operating System, install software needed for communication with the Wink Hub and install OpenHAB.

  1. Download Raspbian Wheezy (mirrored here) from raspberrypi.org. We are using the February 16, 2015 version. We monitor new releases, and will test them as soon as possible.

  2. "Install" Raspbian onto an SD Card. Instructions are available at raspberrypi.org

  3. Connect the Raspberry Pi:
    • Monitor
    • Keyboard and Mouse
    • Ethernet Cable
    • Install the newly-imaged SD card
    • Do not connect a Wink Hub or any other add-on modules to the Raspberry Pi


  4. Plug in/turn on the Raspberry Pi

  5. During the first boot, configure the new image:
    Expand the filesystem to use the whole SD card (option 1)
    Enable Boot to Desktop/Scratch > > Desktop Login... (option 3, option 2)

  6. Download and run the configuration script. It will process for several minutes while updating the Ras Pi and downloading software and scripts.
    Open Terminal on the Ras Pi and type the following or copy from this page and paste into Terminal:
    wget http://www.homeautomationhacking.com/c/openwinkrpi.s
    chmod +x openwinkrpi.s
    sh openwinkrpi.s


  7. Once the script has completed, you should reboot the Raspberry Pi.  The localization changes do not fully take effect until the RasPi has rebooted.  If you don't reboot and are using an American keyboard, you will get strange discrepancies while typing.