New openHab2 EnOcean binding

hi dirk, only two days ago I opened a new thread with the same request:
eltako f4hk14

I thought it could work with the implemented functions and the reason for troubles are my settings… If there is any new variant of the binding I’am open to do testing…

Hi, silent reader here.
With your help and the wonderful binding from fruggy I was able to automate my Eltako devices.
Unfortunately after over a year of runtime the SD Card in my pi got corrupted. (Probably by to much writes.)
So i decided to move the openhab device to a PC and use the PI in the Control cabinet, which is connected to the Eltako Bus via FGW14USB only as a bridge with read only SD card.
Previously i was running openhab 2.4 with the dedicated enocean Binding as a .jar file. (Installation was around October 2019)

Now I moved to openhab 2.5.1.1. and installed the official Binding. (To my understanding stable version of downloadable .jar)
Yet, after installation and reconfiguration to use rfc2217 I’m no longer able to send on the bus.
I can see in the log file that I am receiveing telegrams, yet my predefined telegrams don’t appear on the bus anymore. (I read this by connecting to FAM14 via USB and reading telegrams with winetel. Which has worked just fine in the past, as far as I remember)
My Setup (OPENHAB[NETWORK]<=>RPI3<=> FGW14USB[MODE 6]<=>sensors and actors (FTS14/FUD14/FSB14/FSR14)<=>FAM14[MODE2]<=>PC[WINETEL]

Config:
openhab Server:
enocean.things:
Bridge enocean:bridge:gtwy "EnOcean Gateway" [ path="rfc2217://192.168.100.21:3003",rs485=true,espVersion="ESP2",rs485BaseId="00000001"] {

Thing centralCommand TR_Licht_Decke "TR_Deckenleuchte" @ "DG_Treppenhaus" [enoceanId="0000000A",senderIdOffset=10, sendingEEPId="A5_38_08_01" , receivingEEPId="A5_38_08_01","F6_00_00" , broadcastMessages=true, suppressRepeating=false]
enocean.items:
Switch TR_Licht_Decke_Swi "Treppenhaus Licht" <light> (DG_Treppenhaus,gLicht) {channel="enocean:centralCommand:gtwy:TR_Licht_Decke:generalSwitch", autoupdate="false"}
pi ser2net.conf:
3003:telnet:0:/dev/ttyUSB0:57600 8DATABITS NONE 1STOPBIT banner

but openhab shows the following:
using the manual rocker for switching:

pressing the item in the control panel:

So openhab tells me it is sending the request. but nothing happens.
Am I missing something? The configuration hasn’t changed besides sending commands over rfc2217 instead of usb, and using “official” binding instead of “external” .jar binding.

I can’t remeber if sent telegrams of openhab have been equally long before. They seem too long with the ending “FFFFFFFFFF00”
Is it possible that FGW14 filters the telegrams because they are too long?

Any idea would help.
Thanks in advance

Hi,

I’m using the Eltako but directly connected to the raspberryPI. Although it took a lot of effort, it is working very stable now.
Here an example of the things I have installed:

Bridge enocean:bridge:gtwy "EnOcean Gateway" [ 
     rs485BaseId="00000000", path="/dev/ttyUSB0", rs485="true", espVersion="ESP2" ] {

//Dimmers
   
     Thing centralCommand 02_64_Ld "Dimmer_Keuken_Spots" @ "Woonkamer" [ 
          enoceanId="00000002", senderIdOffset=100, suppressRepeating=false, sendingEEPId="A5_38_08_02", receivingEEPId="A5_38_08_02", broadcastMessages=true ]{
          Type dimmer : dimmer [ rampingTime=25 ] }

//Schakelaars 
  
     Thing centralCommand 09_6B_Ls "Switch_Verdieping_Gang" @ "Eerste Verdieping" [ 
        enoceanId="00000009", senderIdOffset=107, suppressRepeating=false, sendingEEPId="A5_38_08_01", receivingEEPId="F6_00_00", broadcastMessages=true ]

//PushButton

      Thing pushButton P_W6 "pushButton_woonkamer_5" @ "Woonkamer" [
         enoceanId="00001110", receivingEEPId="F6_01_01" ]

I made an excel to get have the corresponding alignment with the Eltako:

Don’t forget to reboot your system, this costed me a full day of troubleshooting…

Hope this helps

Hey,
is anyone here using a room operating panel?
I am missing the humidity channel with the EEP: A5-10-12.

There should be a humidity channel, but there isn’t one.

Any ideas how to add the channel?

Thank you!

Hi,
the problem probably is in the area of the ser2net. If I were you, I’d go with a temp minimal OH installation on a fresh additional SD and try to get direct communication with the FGW14USB working there with the current, official binding-version.
If that works, it is confirmed that the problem is with the remote USB/Pi/ser2net

@Aaron2 Since you are also working with central command can you take a look at my Setup which I posted here:

Having some issues with sender id beeing ignored. Maybe since you have a working setup a hint what I am doing wrong would be great!

Best regards!

Well, I changed my configuartion a little to achieve the same thing but in a different way. I removed the listener channel on my FMS61NP things. No need for that anymore. I created 1 FT55 RockerSwitch thing.
And I created several rules. To listen at the channels and change the state of my FMS61NP items.
@fruggy83 The only thing which confuses me is the EEP in the thing config:


I thought I need to create 1 thing for each DIR, but during my experiments I find out that I need only 1 thing and I can check which DIR was pressed. I this correct or a bug in the thing implementation?
Anyway, for me it is working :slight_smile:

I’m not fruggy but i’ll try to answer you. to keep it short:
If you choose F6-01-01 the press of the UPPER Butten is interpreted as DIR1 (Lower = DIR2), this is default for the Eltako Rocker Switches
If you coose F6-01-02 the LOWER Button is interpreted as DIR1 (Upper = DIR2)

You only need to create one thing for one physical rocker switch with 4 physical buttons, the left rocker (upper and lower button) is Channel A, the right rocker (upper und lower button) are Channel B.

hope this creates some clarity

@Wuehli This explanation is very helpful, at least for me. Many Thanks!!! I am now using only 1 thing for my physical FT55 and I get the information I want. Thanks for the reply.

1 Like

Hi Daniel @fruggy83,

Thanks for the support and development efforts, unerstandably you have a busy schedule.
I will need to start working on the project using Thermokon SR06 with RH sensor this spring.
Is it feasible for you to implement the D2-11-02 EEP within next month?
I presume you have not had the chance to look into this?
I am willing to support your efforts with 200 € donation.

Best Regards,
Tanel

Hi - I just found this thread. Question:

I am trying out several enocean switches, like the Eltako F6T55B or several Peha switches. Adopting and adding them as things works smoothly, reacting to the trigger events they send does as well. However, I can’t figure out how to identify the button that was pressed.

For example, the F6T55B - see my other thread that I just moved to here - has 6 buttons, where essentially the upper 4 are one device, the lower 2 a second device. Thus, I created two things and some rules, all good. But, the triggers are fired whenever one of the buttons is pressed, and I can, based on the two things, only distinguish between 1-4 and 5-6, but not one specific button.

Same problem I have with the Peha switches.

Thus, I am assuming I am simply missing some information. Looking forward to help!

Thanks!

Hi Tanel @Ratiomatic,

when my current PR gets accepted, I will create a PR for SMACK in the official binding and afterwards another one for the Thermokon devices (EEP D2-11 with all features). However I am not sure about the next release of openhab. If it is too late, we should discuss about merging my changes back to openocean.

I added some new features to the SMACK an D2-11 implementation which are not contained in openocean yet. Automatic teach out upon repeated teach in requests, handle SIG messages to get status about the internal backup battery of the room panel.

Best regards
Daniel

1 Like

Hi Michael @MaMi

could you please show me your rules for handling the buttons? If you simply want to switch something on or off upon a button press you could also just link the channels to an item and use a profile. On/Off and Play/Pause are already implemented. So if you press a button the profile will send an ON/Off or Play/Pause message to the item.

Best regards
Daniel

1 Like

Hi Daniel,

sorry for the delayed reply. Attached some of my rules.

Rules 1&2 react on the trigger sent by an Eltako F6T55B when two of it’s six buttons got pressed. (On that, you can also check my thread https://community.openhab.org/t/eltako-f6t55b-how-to-identify-the-pressed-button on the difficulties I had to get that switch work). Both rules simply turn a light on and off currently.

Rules 3-5 react on the trigger sent by a Peha Enocean switch, and open/close/stop some blinds.

However, what I am trying to do is for example:

if a button is only pressed for a short moment, switch a light on. But when the same button is pressed for a longer time, dimm the light up. I was hoping that this would be somehow supported by the binding, similar to how the Philips Hue binding is supporting the Hue Dimmer Switch (screenshot 6).

other example: when a button is pressed only shortly, start moving blinds up. When same button is pressed longer, start rolling the lamellas only.

I am happy to discuss in more detail, maybe also via confcall, if it helps.

1 2 3 4 5

Hi Michael @MaMi,

for the first two rules it should be possible to simply link the channels to your GalerieHelligkeit. However I tried it and since OH3 it is no longer possible to directly link these trigger channels to an item.
BTW @flynux Sorry I missed you post regarding this issue, I will analyse this problem, maybe it is an OH3 issue.

Rules 3-5 cannot be handled by the binding out of the box, as I am not getting these short press/long press messages from eltako rockers. The NodOn soft buttons emit those events short, long and double press.
However it is possible to do it by yourself. You already found a thread about a similar requirement. I already posted some rules there, maybe they give you an idee how to solve your problem. If it is not the case you could pm me and we try to find a solution together.

Best regards
Daniel

Hi @Bize
the PR regarding the EEP D2-50 just got merged today. I would be happy if you could test it.

@Ratiomatic
I will create the PR regarding SMACK in the next days and EEP D2-11 afterwards.

Hello @fruggy83
it would be nice if you could find some time to give me short feedback regarding my posts:

Thank you!

Best regards
Dirk

Hi Daniel (@fruggy83),

i already tried it, but i was not succesfull.
First I updated OH by openhabian-config and then i installed the enocean binding via paper UI (version 2.5.12).
Also i tried to update the enocean bundle in Karaf.

For me it seems like, the binding didn’t change. How can I update it?

Thank you!

Hi @Bize,

you first have to upgrade to OH 3 snapshot. I have not migrated it back to 2.5.

Best regards
Daniel

Hi @fruggy83,

now with OH3, i can find the device (D2-50 ventilation device) only as generic device (same as with OH2). In the Thing settings it is still mentioned: “eep = D2_FF_FF” and Thing type: “Thing whose EEP is unsupported. Use a TRANSFORM to convert things messages.”

When i now link all the available channels, like rollershutter → there is no effect to the device. But: the only thing what it seems to receive is the RSSI signal strength value.

For me it looks like the D2-50 is not available. I also can’t manually add it when I want to add a new Thing.

Any ideas?

BR
Berti