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 - Intro
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: kipe
  • Date Created: 2 Aug 2014 8:29 PM Date Created
  • Views 559 views
  • Likes 0 likes
  • Comments 3 comments
  • forget_me_not
  • python
  • enocean
  • iot
  • iot_python
Related
Recommended

Forget Me Not - Intro

kipe
kipe
2 Aug 2014

Hi,


I was one of the lucky few to be selected for this awesome road test, and as I wait for the hardware to hack, here's a brief introduction to my project.

The following is part application, part new text, so might be a bit confusing at times image


A small introduction

I've been studying electrical engineering in Lappeenranta University of Technology since 2007. For the last couple of years I’ve been also working there part time, participating in energy measurement development for solar and wind energy, utilizing both National Instruments LabView and related hardware, as well as Beaglebone Black and Raspberry Pi as low cost solutions.


My passion towards home automation has grown ever since my dad started building a house "in the middle of nowhere" back in 2006. As the house isn't occupied during weekdays, some sort of remote controllable automation was required. At the time automation systems for remote control were expensive, very basic and terrible to use. This lead to the idea, that we could develop our own system. The first version was ready for winter 2007, just monitoring few temperature sensors. Ever since the system has grown and currently it's used both for my flat and my fathers house, together spanning 15 temperature sensors, 10 wired relays, 5 wireless switches/dimmers, couple of magnetic switches and three webcams with motion detection.


I've been experimenting with different solutions for home automation for ages and I've always come to the conclusion, that "I can do it better." This is not to mean that other solutions are done worse or nothing like that, it's just easier for me to keep things under control and just the way I want by doing them myself. I know, that developing a own version of stuff that's already been done is basically idiotic and wastes a lot of time, but I like to tinker with things image


The project

Based on other blog posts so far, I'm doing something very wrong. I'm not planning on using OpenHAB or solving a specific problem(s). Instead, I'm trying to achieve something that would benefit the community as whole, instead of just showcasing the hardware. This will be quite boring to most of you, as it'll be quite some time, till (and if) I get anything visible done, but I'll try my best.

I'm planning on implementing the EnOcean protocols etc with Python, as it's the language of choice for most of Raspberry enthusiasts out there (and me). I'm aware, that there is some stuff done already, but they only implement parts of the protocol (at least the ones I've found), without a proper API and support for multiple device types. Of course I'm going to use on protocol implementations written before on other languages for inspiration and ideas.


The main goal is to get a framework for enthusiasts to build their own projects, with the package being ready to go with a simple "pip install enocean". After this I'd like people to be able to receive messages by a simple "from enocean import Listener; Listener().start()".

If I get to that stage, of course I'm going to provide a "reference design" to extending the functionality, with a web UI.


If I have time, I'd also like to develop some specific hardware solutions which I have the need for, but those aren't a priority at the moment. I’ll introduce them, if I ever get to that point. Also I'm planning on implementing this as part of my existing system.

Progress

So far I've been nose deep in documentation! Things have progressed quite nicely though, I should have basic message ("packet") parsing done now (just started working on the project today, maybe 8 hours of coding or so). Of course, the code is quite rough and without comments or exception handling so far, but I'll sort them out some time later.

I'll be trying to learn something new in this project also, properly managing unit tests! I've done some basic ones before in couple of projects, but properly testing a project is something new to me.

So the next big challenge will be creating proper tests for the modules done so far, this should be quite simple though, as there's quite a lot of message examples in the documentation. After tests for the message handling is done, I’ll move on to designing the serial part of the library, so I can actually receive messages.


Once I get to the stage I'm satisfied in, I'll of course make the code publicly available and for your testing image

This will probably be after I get the hardware and do some functionality tests to see, that the design of the library is OK. I don’t want to release a library before I’m comfortable with the basic API, as it shouldn’t change once it’s designed.

  • Sign in to reply
  • mcb1
    mcb1 over 11 years ago

    Sounds like a very useful addition to the community.

    As Frederick said there is merit in this, so don't apologise. image

     

    re the wireless

    We have a number of remote units, that report on exception (ie a fault), otherwise they are expected to report at regular intervals.

    I'd be suggesting you need the ability to have this 'status' report, and flag any that miss reporting as unknown.

     

    Mark

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

    Don't worry, I wasn't completely serious image

    But I've got to admit, I was quite worried about my application, as I don't have concrete plans for the hardware or OpenHAB itself.

     

    Very glad for this opportunity of course, the protocol does seem interesting, as it finally allows two way communication.

    The stuff I've been using so far are only sending or receiving data. This poses a huge problem for wireless switches etc, as there's no response whether or not the device was actually in range. I might go a bit deeper about this subject a bit later in another blog post.

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

    Don't assume you're doing something wrong when comparing to the other applications: you're one of the selected few image

     

    Frederick

    • 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