OpenHab 3.0.0 and Enocean Binding ignoring sender id

Tags: #<Tag:0x00007efec119d018> #<Tag:0x00007efec119cf50>

Hello guys,

First of all congratulations on all contributors to this project.
I’m only 2 days with OpenHab and totally beginner. My system looks like this:

Rasp. 3
Enocean PI
10 Eltako TF61L Lightactors
2x TF100L SmartPlug

What I achieved so far:

  • Raspian an EnoceanPI are working
  • Installed Enocean Binding
  • Configured gateway with PaperUI
  • Created first things and added to my model:
  • used TeachIn switch to learn openhab to my actors while they are in learning mode.
  • was able to control lights then with rocketswitch channel of entral command.

What I’am not able to do:

  • I cannot trace the Enocean packets on the openhab logs.
  • Additionally as soon as I have learned in the second actor and used also teach in method openhab is able also to send data to this actor. BUT when using the switch from A its sending switch comand to actor A and B. Its like openhab is ignooring the senderid which should generate unique EnoceanIDs for the openhab controlled things.
  • I do not know how to define the textbased configuratiions at the moment I am only using paper ui.

Here are the paperui configurations:

UID: enocean:centralCommand:6f9bd4b35d:6c6c4d5baa
label: Steckdose Küche Spots
thingTypeUID: enocean:centralCommand
configuration:
  enoceanId: XXXXXXX
  senderIdOffset: 1
  suppressRepeating: false
  sendingEEPId: A5_38_08_01
  receivingEEPId: F6_00_00
  broadcastMessages: true
bridgeUID: enocean:bridge:6f9bd4b35d

UID: enocean:centralCommand:6f9bd4b35d:8db12f2597
label: TF61L Spots Wohnzimmer
thingTypeUID: enocean:centralCommand
configuration:
  enoceanId: XXXXXX
  senderIdOffset: 2
  suppressRepeating: false
  sendingEEPId: A5_38_08_01
  receivingEEPId: F6_00_00
  broadcastMessages: true
bridgeUID: enocean:bridge:6f9bd4b35d
UID: enocean:centralCommand:6f9bd4b35d:8db12f2597
label: TF61L Spots Wohnzimmer
thingTypeUID: enocean:centralCommand
configuration:
  enoceanId: 0591EA1B
  senderIdOffset: 2
  suppressRepeating: false
  sendingEEPId: A5_38_08_01
  receivingEEPId: F6_00_00
  broadcastMessages: true
bridgeUID: enocean:bridge:6f9bd4b35d

While XXXXXX is the Enocean ID of my actors.

I would really apprreciate if someone can help me out on this.

2021-01-06 01:21:26.436 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'TF61LSpotsWohnzimmer_Switch' received command OFF
2021-01-06 01:21:26.442 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'TF61LSpotsWohnzimmer_Switch' predicted to become OFF
2021-01-06 01:21:26.448 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'TF61LSpotsWohnzimmer_Switch' changed from ON to OFF
2021-01-06 01:21:26.708 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'SteckdoseKucheSpots_Switch' changed from ON to OFF
2021-01-06 01:21:26.820 [INFO ] [openhab.event.ChannelTriggeredEvent ] - enocean:rockerSwitch:64fddb7ded:rockerswitchB triggered DIR2_PRESSED
2021-01-06 01:21:27.235 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'TF61LSpotsWohnzimmer_Switch' received command ON
2021-01-06 01:21:27.240 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'TF61LSpotsWohnzimmer_Switch' predicted to become ON
2021-01-06 01:21:27.246 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'TF61LSpotsWohnzimmer_Switch' changed from OFF to ON
2021-01-06 01:21:27.567 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'SteckdoseKucheSpots_Switch' changed from OFF to ON
2021-01-06 01:21:27.725 [INFO ] [openhab.event.ChannelTriggeredEvent ] - enocean:rockerSwitch:64fddb7ded:rockerswitchB triggered DIR1_PRES

Hi Markus, what kind of enocean bridge are you using? FAM14?? FGW-USB?

@damator Im using Enocean PI as a Gateway:

for debugging you have to do the following by using putty:

sudo openhab-cli console
log:set DEBUG org.openhab.binding.enocean

Then you can see much more debugs messages. Your setup is not the same as my setup so I don’t know if I can help much more…

Why do you have configured a rockerswitch (enocean:rockerSwitch:64fddb7ded:rockerswitchB) ?

Normally you’d link e.g. a dimmer-item to the channel of the actor and control it via this only.

Maybe it is a procedural error. I always create an equipment from thing and add it to my OpenHab model and then the rockerswitch is automatically created.

Try this:
Add an enocean thing. Then go the things settings and select a channel. Link your desired channel to a new created item.
That’s it, now you should be able to control your thing via the item.

Thx for the hint @dirkdirk . But the behaviour is exactly the same like in my approach.@damator I also added this line via console, But I do not get any Enocean packets on the console.

Best regards

hi markus, try to restart openhab…

Tried did not help seems I am stuck

Then I’d go back: delete all things besides one (eg spots wohnzimmer), all rockers all items. Then create item and link to dimmer-channel of the one thing like mentioned by dirkdirk.
Then test if that works.

After that add complexity by adding additional things and items.