element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Cam-e-lot - Round 10 - Man vs Binding (3)
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: amgalbu
  • Date Created: 13 Sep 2014 5:37 PM Date Created
  • Views 366 views
  • Likes 0 likes
  • Comments 0 comments
  • forget_me_not
  • iot_cam-e-lot
Related
Recommended

Cam-e-lot - Round 10 - Man vs Binding (3)

amgalbu
amgalbu
13 Sep 2014

We are now ready to test the new profile. When running the OpenHAB runtime from Eclipse IDE, the configuration files needs to be located in the folder

 

c:\Documents and Settings\Administrator\OpenHAB\distribution\openhabhome\configurations

 

First of all, change the openhab_default.cfg file to set the COM port for the enOcean binding

 

################################# EnOcean Binding #####################################

#

# EnOcean USB adapter serial port

#enocean:serialPort=COM3

aleoncean:port=COM3

 

Then, let's create a file "enocean.sitemap" in the "sitemaps" folder

 

sitemap demo label="Main Menu"

{

    Frame {

           Group item=gSwitches label="Inputs"

    }

}

 

Finally, let's create the file "enocean.items" in the "items" folder

 

Group All

Group gSwitches         (All)

 

Switch Switch3          "Switch3" (gSwitches) {aleoncean=" LOCALID=01:8E:39:72,REMOTEID=01:85:3A:3A,TYPE=RD_D2-01-00,PARAMETER=SWITCH_3"}

Switch Switch4          "Switch4" (gSwitches) {aleoncean=" LOCALID=01:8E:39:72,REMOTEID=01:85:3A:3A,TYPE=RD_D2-01-00,PARAMETER=SWITCH_4"}

Switch Switch5          "Switch5" (gSwitches) {aleoncean=" LOCALID=01:8E:39:72,REMOTEID=01:85:3A:3A,TYPE=RD_D2-01-00,PARAMETER=SWITCH_5"}

 

 

You should replace the content of the LOCALID field with the enOcean ID you can read on your USB300 dongle and REMOTEID with the enOcean ID of the transceiver connected to your Raspberry Pi board

 

Select "Run" -> "OpenHAB runtime" and wait about a minute to let Eclipse to build project, run initialization routines and make everything up and running.

Now type he following URL in your browse

 

http://localhost:8080/openhab.app?sitemap=enocean#

 

If everything has run as expected, you should see the a screen like this one

From here you should be able send out commands to the enOcean receiver connected to the Raspberry Pi board...

I will explain in the next posts the changes to the EOLink library to handle commands and send out status changes that complies with the new profile...

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply
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