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 Forget_me_not : My Smart Home Post#3 Week-2 Enocean Sensors and 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: ravi_butani
  • Date Created: 14 Aug 2014 8:29 AM Date Created
  • Views 922 views
  • Likes 0 likes
  • Comments 3 comments
  • forget_me_not
  • fhem
  • openhab
  • tektronix
  • eclipse
  • raspberry-pi
  • iot_homeauto
Related
Recommended

Forget_me_not : My Smart Home Post#3 Week-2 Enocean Sensors and openHAB

ravi_butani
ravi_butani
14 Aug 2014

Table of Contents


I have shared my progress of week-1 of Forget Me Not Design Challenge on my previous blog Post Forget_me_not: My Smart Home Post #2 Week-1 Getting Started....,


I am very excited, as I have received Enocean-Pi and sensors on starting of this week.. and Android application is now possible because I have bought new Android cellphone that supports openHAB android app .image


today, I am going to share my experience with Enocean sensors and setting up openHAB server for home network.


image

 

I have done with installing FHEM on my Pi by help of post http://www.element14.com/community/roadTestReviews/1795...thanks to malakai2112 for finding sensor’s ID.

I have all my sensors working out of the box .. PTM210 switch works fine, But temperature sensor and reed contact sensor not working properly.. Once it works and then stops working after say half hour again they work once or twice but then stops working.



image


sensor starts working properly after keeping them in normal room light for a two days.


here is My Initial thoughts on Enocean Sensors..


PTM210: in this Push button sensor there are two switch A and B both works fine, but I don’t know why Enocean provided only one rocker.



image

image

Here is video of my working PTM210 Push button sensor...

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


STM320 : Reed Contact switch works just fine and I am trying to hack this for allow to work it with other circuit.

 

image


image

STM330 : Temperature sensor also works but temperature is not accurate and I am working on this. on FHEM it shows D0,D1,D2,D3 digital signal and

Sensor 1, Sensor2, Sensor3 analog signals. If I will be able to use this signals without any firmware changes on STM330 it will be great and I am exploring this possibility.

 

image

image

Now I am ready to make some changes to sensors to work them for my application, Here user manuals of sensors from Enocean will be help me a lot.

Mean while good news is, I have received CadSoft EAGLE Pro 7 Processional license and I will be able to design my custom hardware PCB soon.image


Currently, I am trying to set up openHAB for my home network.


As I have excellent internet connectivity at my work place which is educational institute with more than 500 employee and more than 3000 students. So here is all different network topology and heavy security on network traffic compared to Home where this system going to be used. So I will not going to waste my time on this network for setup my application.


At my home I do not have broadband connectivity as like many/most of other Indiansimage, So I have decided to setup home network and remote URL using my old android cellphone with fair internet connectivity at home and I will be using that as WiFi router.


So costly WiFi router is use less for me and I am using my old cellphone as WiFI hotspot, As now I have new Android cellphone which support openHAB app, and my old phone is now helps me for that. I will be using port forwarding android application for access openHAB server running on Raspberry-Pi remotely.image


So far I am not able to connect Raspberry-Pi with hotspot running on My Old Android cell phone because my Raspberry-Pi facing power supply problem with USB WiFi adapter, So I am waiting for External Raspberry-Pi power supply ordered from element14 to be delivered shortly.

Once I will be able to setup these network, i will be happy to sharing “how to guide” here.


Mean while, Here are the Steps for creating Home WiFi Network without router (openHAB running on my Windows laptop)


  • Start Hotspot from your android phone (settings ---> Wireless and Network Setting ---> Tethering and Portable hotspots ----> Portable WiFi HotSpot -- > check)
  • Currently, I am not using any security but you can set it by (settings ---> Wireless and Network Setting ---> Tethering and Portable hotspots ----> Portable WiFi HotSpot setting-- > configure wifi hot spot ---> security ---> set password )
  • Now you will be able to see this hotspot on your windows network and sharing options, name for my hotspot is “my router”.
  • Connect to your hotspot and set it as home network.
  • On command prompt fire “ipconfig” command to know IP address assigned to your PC/laptop.In my case it is “192.168.43.8” it is your localhost now for openHAB server.
  • Run start.bat from openHAB installation folder.
  • Now setup done image connect any laptop/tablet/cellphone to this hotspot you will be able to access openHAB server running on Windows using this url http://192.168.43.8:8080/openhab.app?sitemap=demo

imageimage

imageimage


image

I’ll be update with  steps for working with openHAB server on Raspberry-Pi rather than windows, as soon as I will have Raspberry-Pi external power supply and good quality  Wi-Fi USB adapter for Raspberry-Pi from element14.


This is all about home network, for running openHAB server remotely I am still setting up remote URL using free domain name as sub domain name of such website services and exploring port forwarding for achieve fair security.

 

For my blog photos and videos, I don’t have high resolution camera image but I will shortly buy the same for my upcoming blogs image.

My way of leaning the things is very much scattered so these blog posts my not be very informative but I will try to improve on this.

Also I am working Hard to setup openHAB application according to my project needs....

 

<< Previous

Home

Next >>


  • Sign in to reply

Top Comments

  • fvan
    fvan over 11 years ago +1
    Looking good! Screenshot tip of the day: on your android smartphone/tablet, you can take a screenshot by pressing the power and volume down button simultaneously ( link ). Frederick
  • ravi_butani
    ravi_butani over 11 years ago in reply to vish

    Same here.. Sensors kit received. Waiting for pi..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • vish
    vish over 11 years ago

    Hi Ravi,

    did you got all the components - rPi + sensor kit???

    I'm still waiting for my rPiimage

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

    Looking good!

     

    Screenshot tip of the day: on your android smartphone/tablet, you can take a screenshot by pressing the power and volume down button simultaneously (link).

     

    Frederick

    • Cancel
    • Vote Up +1 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