element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog Episode 3: Forget Me Not: Setup EnOcean with openHAB
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: michaelwylie
  • Date Created: 10 Aug 2014 2:57 AM Date Created
  • Views 1543 views
  • Likes 0 likes
  • Comments 11 comments
  • forget_me_not
  • iot_monitor_auto
Related
Recommended

Episode 3: Forget Me Not: Setup EnOcean with openHAB

michaelwylie
michaelwylie
10 Aug 2014

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:

Downloading NOOBS

Disabling the Raspberry Pi Serial Port

Configuring openHAB

EnOcean Bindings

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.

 

image

 

2. Download the SD card formatting utility from www.sdcard.org

 

image

 

3. Insert your SD card into the computer's SD card reader, run SDFormatter, and format the SD card.

 

image

 

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!

  • Sign in to reply

Top Comments

  • michaelwylie
    michaelwylie over 10 years ago in reply to fvan +1
    I suspect so as well Frederick, but I also suspect your blog post leveled the playing field so to speak. A lot of finalists, myself included, would have struggled a lot more to gather all the information…
  • fvan
    fvan over 9 years ago in reply to Former Member

    Mona, we're already chatting on Twitter about your issue image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 9 years ago

    fvan so right now when I browse to http://192.168.1.102:8082/openhab.app?sitemap=iotpi my iotpi which is located in sitemaps folder doesn't show anymore. I am not sure what is wrong. I wonder which of the following I should go with (or is it even necessary 100% to go with any of those? Can I just use wireless?)

     

    1) EnoceanPi

    http://www.newark.com/enocean/enocean-pi-902/rf-module-transceiver-fsk-902mhz/dp/97W2131?CMP=KNC-GUSA-GEN-SHOPPING-NEW-ENOCEAN&ad=81605889141&gclid=Cj0KEQjwt763BRDZx_Xg3-Pv2cABEiQAoDfeGAbFxASmVKdVRt1L1bRrGkeV63tS4eS0Iv3hY-Kxu90aAnzv8P8HAQ

     

     

    2) zwave pi

    When I go to Razberry website the following is suggested. Like should we go with a USB stick version as it seems easier to use:

    http://www.zwaveproducts.com/shop/controllers/gateways-controllers

     

    Here's the link to all my config files and start.sh : https://github.com/lamiastella/OpenHAB

     

    If you can kindly run it and let me know why the UI for the sitemap iotpi doesn't show, that would be really great.

     

    Thanks,

    Mona

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelwylie
    michaelwylie over 9 years ago in reply to Former Member

    I think fvan just did something like this. Maybe he can chime in?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 9 years ago

    Hi,

     

    So I am very confused. I have been trying to control Hue Color lamps using OpenHAB that is running on a Raspberry Pi 2 model B. I got the complete configurations folder of /opt/openhab from two different people one used zwave and one use enocean. I wonder if it is necessary to use any of them and if that is the case why? Which one do you suggest me to use?

     

    Is there a link to a preconfigured configuration folder that would 100% work for raspberry pi (preferably without zwave/enosean) to control hue color using openhab?

     

    any help is really appreciated!

    Mona

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 10 years ago in reply to fvan

    I'm a software guy, so I feel comfortable wit this part

     

    Boy do I have a list of questions for you ....

    I agree with Michael that the sharing has made it easier for many to get their project up and running.

    It would be nice to think that resources (hardware or software) didn't stop everyone from finishing the challenge.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube