# \[Announce\] node-red-contrib-enocean

**URL:** <https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135>\
**Category:** Share Your Nodes\
**Created:** [14 April 2019 18:05 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135 "2019-04-14T18:05:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [14 April 2019 18:05 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/1 "2019-04-14T18:05:00Z")

</div>

i finally found the time to work on the [node-red-contrib-enocean](https://flows.nodered.org/node/node-red-contrib-enocean) project.  
It's coming along nicely. Features implemented:

- listen to and decode incoming telegrams. most EEPs should work out of the box.
- automatic and manually teach in
- telegram meta data like RSSI and timestamp
- sending telegrams (basic implementations)
- dedicated button encoder/sender

i would really like some feedback, and possibly some help for the documentation.

if you have any question, you can ask here, or over at [github](https://github.com/enocean-js/enocean-js)

Enjoy!

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [14 April 2019 18:08 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/2 "2019-04-14T18:08:15Z")

</div>

Is there a readme for it ? What hardware does it require ? What pre-refs are there ?

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [14 April 2019 18:13 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/3 "2019-04-14T18:13:20Z")

</div>

just pushed the new readme. currently only the enocean-input node is documented.  
hardware wise you would need any TCM 300, TCM310 or TCM320 device like the [USB 300](https://www.google.com/search?q=enocean+USB+300) or the [enocean pi](https://www.google.com/search?q=enocean+pi)

> pre-refs

what are pre-refs?

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [14 April 2019 18:16 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/4 "2019-04-14T18:16:41Z")

</div>

in node help/description still to do though...

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [14 April 2019 18:33 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/5 "2019-04-14T18:33:14Z")

</div>

Sorry. Pre-reqs

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [15 April 2019 03:04 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/6 "2019-04-15T03:04:09Z")

</div>

oh sorry, should have known that 😉 i'm quite new to node-red...

no, no other requirements, you just need the enocean-\>serial hardware, and probably at least one other enocean iot device to play with...

---

<div class="post-metadata">

**Author:** ![tilleul](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tilleul/32/78_2.png) [@tilleul](https://discourse.nodered.org/u/tilleul)\
**Post date:** [22 April 2019 06:17 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/7 "2019-04-22T06:17:32Z")

</div>

This sounds interesting ... I will give a try when I get the chance.  
Is the source code on github ? All I could find was enocean-js and two-year old node-red-contrib-enocean repo ....

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [22 April 2019 11:55 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/8 "2019-04-22T11:55:54Z")

</div>

yes, i switch to a monorepo like structure, so all source code is now in the enocean-js repo...

i know the documentation is still lacking, sorry 😉

To cut a long story short, the source is here: [https://github.com/enocean-js/enocean-js/tree/master/packages/node-red-contrib-enocean](https://github.com/enocean-js/enocean-js/tree/master/packages/node-red-contrib-enocean)

the bugs and issues are here: [https://github.com/enocean-js/enocean-js/issues?q=is%3Aopen+is%3Aissue+project%3Aenocean-js%2Fenocean-js%2F1](https://github.com/enocean-js/enocean-js/issues?q=is%3Aopen+is%3Aissue+project%3Aenocean-js%2Fenocean-js%2F1)

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [25 April 2019 04:52 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/9 "2019-04-25T04:52:06Z")

</div>

new version 0.4.9

- `enocean-btn` now encodes a 4-Rocker switch. so you can encode 128 switches = 512 Rockers = 1024 Buttons with one USB Stick.
- new generalized `enocean-out` behavior (no documentation yet). one `enocean-out` for all outgoing telegrams.
- support for sending (simple) `UTE` teach-in telegrams

this version break compatibility with previous versions of `enocean-out`.

**please be aware that the API and behavior will still change, and things will break**

i'm planing to freez the api and behavior with v0.5.0 and then following a more strict semVer versioning...

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [5 May 2019 07:02 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/10 "2019-05-05T07:02:37Z")

</div>

v 0.4.12 fixes some issues with teach-in...

there is now an example flow you can work of... [https://flows.nodered.org/flow/992eede05f4f4097a00711aa4e73ce8b](https://flows.nodered.org/flow/992eede05f4f4097a00711aa4e73ce8b)

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [7 May 2019 11:38 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/11 "2019-05-07T11:38:40Z")

</div>

just published a first draft of 0.5.0 (`0.5.0-alpha.0`)

when 0.5.0 is finalized I will freeze the API and follow semVer more strictly.  
The new version has some significant changes:

- separated the input node from the actor node.
- an actor node can learn more that one sensor
- an actor node can learn more than one EEP per sensor
- teach in mode is now triggered by a message instead of a button
- sensors are saved in node context exclusively preventing some bugs I had when using concurrent memory mechanisms
- the separation should make debugging much easier now because you can log all unknown raw packets.
- there will be fewer event handlers registered.
- triggering teach-in by message enables the complete teach-in procedure to be used from dashboards...
- and much more...

beware though because it's the first alpha 😉

 ![image](https://user-images.githubusercontent.com/10807348/57296977-a11b3700-70ce-11e9-9a92-61a15b52cb12.png)

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [9 May 2019 08:10 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/12 "2019-05-09T08:10:56Z")

</div>

Version 0.5.0-alpha.1 is here.

with this release teach in and deletion should be stable manually, automatic or via the ui.  
i'm quite pleased with the structure and API now.  
from now on i will do code clean up and optimizations, as well as documentation and localisation... and bug fixes! please share your thoughts, feature request and bugs so i can get them in to 0.5.0 final.

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [14 May 2019 16:00 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/13 "2019-05-14T16:00:16Z")

</div>

a rough screencast showing how things should work: [https://youtu.be/3p3hWlNsAvo](https://youtu.be/3p3hWlNsAvo)

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [15 May 2019 03:40 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/14 "2019-05-15T03:40:09Z")

</div>

just published v0.5.0

It is the first stable API. You can now start using it and expect your flows to work with future versions as well.  
Notable changes to the last beta:

- better error handling when opening ports
- list available serial devices in config-node

---

<div class="post-metadata">

**Author:** ![bigman](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bigman](https://discourse.nodered.org/u/bigman)\
**Post date:** [5 March 2020 05:38 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/15 "2020-03-05T05:38:29Z")

</div>

Hi Holger,  
Thanks a lot for your dev extending our Rasp with all enconean devices.  
I use an USB300 with some raspberry

I didn't get the reading data from "enocean in" node, nevertheless i have the green light indicating that is connected.  
I test the connexion and data using the command line ("lsusb" and " sudo hexdump \< /dev/ttyUSB0")  
I tested it with a rocker device (the led on USB dongle is blinking)

I saw your implementation video, and the green ligth (status node) is blinking when data are received, wich is not my case, it's allways stay green and solid.

The output node is working well.

Let me know if you think something ?

Thanks a lot again.  
Best regards

PS : Sorry to post in this topic, i didn't konw how to be sure that you get my message

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [5 March 2020 06:13 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/16 "2020-03-05T06:13:24Z")

</div>

can you send me an example flow, please. I'll have a look.

sending telegrams working, suggests that the USB300 is configured correctly...

it migth be connected to this: [https://github.com/enocean-js/enocean-js/issues/168#issuecomment-592165917](https://github.com/enocean-js/enocean-js/issues/168#issuecomment-592165917)

or you have multiple config nodes... idk

---

<div class="post-metadata">

**Author:** ![bigman](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bigman](https://discourse.nodered.org/u/bigman)\
**Post date:** [5 March 2020 08:34 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/17 "2020-03-05T08:34:16Z")

</div>

Thanks for your reply.

```
  I'm not in front of my device, i'll send you more details when

```

i'm going back home.

I use the same [ example  
flow ](https://flows.nodered.org/flow/1f0dd4b46e783c6306fc5fc8f8584630)that you provided

 ![fjnogdididndllgc.png](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/6/365ede420963782c910f9197138d14996c25650d.png)

Fyi, i tested with 2 differents raspberry 4 (debian and raspbian)

```
  --> If i connect directly "Enocean IN" to a debug node should

```

i see normally the data (and the under led blinking) ?

Thanks again !

Emmanuel.

---

<div class="post-metadata">

**Author:** ![bigman](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bigman](https://discourse.nodered.org/u/bigman)\
**Post date:** [5 March 2020 19:39 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/18 "2020-03-05T19:39:34Z")

</div>

Hi,

```
  Here the image of the environnement, let me know if you can see

```

why i don't see something in the actor or in debug window ?

Good night

Thanks

 ![gdijafcmnaokclnk.png](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/a/bade54311babb4a8e7c4515ac511a4ef145c360e.png)

---

<div class="post-metadata">

**Author:** ![Holger-Will](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/holger-will/32/7302_2.png) [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Post date:** [6 March 2020 03:49 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/19 "2020-03-06T03:49:22Z")

</div>

> [@bigman](#):
>
> If i connect directly "Enocean IN" to a debug node should  
> i see normally the data (and the under led blinking) ?

yes!

> why i don't see something in the actor or in debug window ?

mmhh... just a wild guess, but i see you use sudo for the hexdump...

can you post the output of `ls -al /dev/ttyUSB*` it should read something like

`crw-rw---- 1 root dialout 188, 0 Feb 25 08:11 /dev/ttyUSB0`

---

<div class="post-metadata">

**Author:** ![bigman](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bigman](https://discourse.nodered.org/u/bigman)\
**Post date:** [6 March 2020 12:02 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135/20 "2020-03-06T12:02:18Z")

</div>

Hi,

No need to have an elevation.

All hardware interface seems OK.

![ojmngciombegoohd.png](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/5/955ad2ca539c672bba630a4825b56d7d453f4928.png)

Regards.

Emmanuel

[Next page](https://discourse.nodered.org/t/announce-node-red-contrib-enocean/10135.md?page=2)
