[BTicino/OpenWebNet] Adding CEN commands: design

I think I understand your problem.

[quote="bastler, post:85, topic:54142"]
2019-01-20 11:13:58.418 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED <<<<<<<<<<< *17*1*163##
[/quote]

You have the physical key programmed for WHO = 17 not for WHO = 15
WHO = 17 is not supported
WHO = 15 CEN
WHO = 25 CEN+

https://www.myopen-legrandgroup.com/it/developers/

about the differences between us:

  1. yes, this additional “#4#01” is the installation-niveau that i have to add. i need that almost everywhere, even for switches

  2. this i tried at the moment. i added a new cenplus-address that is not programmed in my mh200n. the same result, rule does only trigger when startet from sitemap. but amazing: when i start from physical switch i see the button in sitemap is activating (but not the rule)

  3. don´t know why is who=17. i configured the switch in myhomesuite as “scheduled scenario plus” ??

Hi @gozilla01 and @bastler
Good that you are doing careful testing!

I suggest you do this:

  • for file configuration look at the CEN/CEN+ examples (things, items,sitemap,rule) that I recently added to the README. There is even a rule example that uses CEN+
  • before doing file based config for a new thing, I suggest you first add it manually from PaperUI. In fact When you create a thing using manual PaperUI (not discovery) you will find the instructions for The OpenWebNet address (WHERE) parameter, and also you will be able to copy&paste the thing definition from the PaperUI.
    Bye
    M

@bastler
Copy your configuration and erase everything you do not need to take the test, so minimize it.
See also if it is not a cache problem to be deleted.
Make a backup, I happened to delete the cache and everything is crack.
Do you use the latest version of OH 2.4.0?

thank you all, i´ll minimize the config and test again. michele, can you please tell how to clear cache?

See Tools for restart / clear cache etc

@bastler
Test use client openwebnet command:

CEN with button = 9 and where 26
*15*09#1*26##
CEN with button = 10 and where 26
*15*10#1*26##

I think these commands are for you (CEN with Where=21, button =9 and 10):
*15*09#1*21#4#01##
*15*10#1*21#4#01##

thank you both very much, now it works!

it seems the cache was the problem:

i minimized configuration, cleared the cache and restarted openhabian. after that the openwebnet-binding was gone, i had to install it again (including feature:install…).

but then it worked. now i restored all my manual config back and it still works, great :ok_hand:

best, stefan

excellent

Hi Massi

I just ran a discovery using beta9-2 binding. All my F428 contacts ( where 33-38) were found but not my basic 3477 contacts interface 31, 32. Like last time I think.

3477 contacts are the small ones that fit inside enclosures and behind things etc. F428 is the DIN form factor for racks . Both are should be the same otherwise. If you could get the 3477 working that would be great for me :slight_smile:
I tried also this but didn’t work:

Thing bus_dry_contact_ir 31 "Garage door closed sensor"  [ where="31" ]

Update… It worked sometime laterr I removed [switchable] in the item definition

2019-01-20 21:02:54.592 [hingStatusInfoChangedEvent] - 'openwebnet:bus_dry_contact_ir:Screen10:31' changed from UNKNOWN: waiting state update... to OFFLINE (COMMUNICATION_ERROR): Could not get channel state

For those that were found it seems to work well
image
image

PaperUI shows correct state but sitemap does not until the contact state is changed. Update… Fixed this by creating a Thing in my thing file

Thing bus_dry_contact_ir 34 "Dark sensor"  [ where="34" ]

The contacts items are configured as switches … correct?

Switch Dark_Sensor "Dark sensor"  <moon> {channel="openwebnet:bus_dry_contact_ir:Screen10:34:sensor"}

Am I correct that the IR sensor discovery is not for the IR reciever for remote control HD4654 but it was not found.

sudo systemctl stop openhab2.service
rm -rf /var/lib/openhab2/cache/*
rm -rf /var/lib/openhab2/tmp/*
sudo systemctl start openhab2.service

or

sudo systemctl stop openhab2
sudo openhab-cli clean-cache
sudo systemctl start openhab2

Massi,
The discovery does not find the 3476 Basic
How can I help you ?

Try manually creating the Thing and item like this:

Things file

Thing bus_dry_contact_ir 31 "Garage door closed sensor"  [ where="31" ]

Items file

//3477 contacts interfaces
Switch GarageDoorClosed_Sensor "Garage door closed" <garagedoor> {channel="openwebnet:bus_dry_contact_ir:Screen10:31:sensor"}

Where in 31 the 1 is the contact number. Keep the three and just change the second number.

That worked for my 3477 interfaces even though they were not discovered by PaperUI

Thanks Mark,
I can make it work via file configuration.
My post referred to Massimo for completeness of your problem with the automatic discovery
Both 3476 and 3477 are not recognized for automatic discovery

hi massimo,

i was to fast, only cenplus is working here, cen-commands can be sent from sitemap and paperui, but they are not triggered form rules. i suppose the reason may be the installation-niveau because that is the only difference here to the other users.

to be sure i did no errors in manual config i run the discovery and found the cen there (nothing maually added) the cen is working from every site: paperui, sitemap and physical switch. but the corresponding rule only triggers from paperui and sitemap, not from “external”. to check that i created a rule that inserts “successfully ACENControlWHERE31401_Button1” in the log when button pressed

please look at the logs, this is when i send cen 31#4#01 button 1 during paperui, you see the rule works, “successfully …” is added:

==&gt; /var/log/openhab2/openhab.log &lt;==

2019-01-21 07:55:22.773 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

==&gt; /var/log/openhab2/events.log &lt;==

2019-01-21 07:55:24.990 [ome.event.ItemCommandEvent] - Item 'ACENControlWHERE31401_Button1' received command PRESSED

==&gt; /var/log/openhab2/openhab.log &lt;==

2019-01-21 07:55:25.038 [INFO ] [thome.model.script.CEN wc musik test] - successfully ACENControlWHERE31401_Button1

2019-01-21 07:55:25.050 [DEBUG] [ebnet.handler.OpenWebNetThingHandler] - ==OWN:ThingHandler== handleCommand() (command=PRESSED - channel=openwebnet:bus_cen_scenario_control:MH200N:31h4h01:button_1)

==&gt; /var/log/openhab2/events.log &lt;==

2019-01-21 07:55:25.047 [nt.ItemStatePredictedEvent] - ACENControlWHERE31401_Button1 predicted to become PRESSED

==&gt; /var/log/openhab2/openhab.log &lt;==

2019-01-21 07:55:25.057 [DEBUG] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== handleChannelCommand() (command=PRESSED)

2019-01-21 07:55:25.064 [INFO ] [g.openwebnet.bus.MyHomeJavaConnector] - COM SENDING ============&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *15*01*31#4#01##

==&gt; /var/log/openhab2/events.log &lt;==

2019-01-21 07:55:25.064 [vent.ItemStateChangedEvent] - ACENControlWHERE31401_Button1 changed from RELEASED to PRESSED

==&gt; /var/log/openhab2/openhab.log &lt;==

2019-01-21 07:55:25.068 [DEBUG] [g.openwebnet.bus.MyHomeSocketFactory] - ##gw-openwebnet-socket## CANNOT read from socket: read returned -1

2019-01-21 07:55:25.072 [DEBUG] [g.openwebnet.bus.MyHomeJavaConnector] - ##gw-openwebnet-connector## read returned -1

2019-01-21 07:55:25.076 [DEBUG] [g.openwebnet.bus.MyHomeJavaConnector] - ##gw-openwebnet-connector## let's try with a NEW SESSION...

2019-01-21 07:55:25.079 [INFO ] [g.openwebnet.bus.MyHomeSocketFactory] - ##gw-openwebnet-socket## Trying openCommandSession() socket.... (172.20.90.2:20000)

2019-01-21 07:55:25.086 [DEBUG] [org.openwebnet.bus.MyHomeConnection ] - ##gw-openwebnet-conn## ... starting HANDSHAKE ...

2019-01-21 07:55:25.089 [DEBUG] [org.openwebnet.bus.MyHomeConnection ] - COM RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;====== *#*1##

2019-01-21 07:55:25.093 [DEBUG] [org.openwebnet.bus.MyHomeConnection ] - COM SENDING ======&gt;&gt;&gt;&gt;&gt;&gt; *99*0##

2019-01-21 07:55:25.097 [DEBUG] [org.openwebnet.bus.MyHomeConnection ] - COM RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;====== *#*1##

2019-01-21 07:55:25.100 [INFO ] [g.openwebnet.bus.MyHomeSocketFactory] - ##gw-openwebnet-socket## ... CONNECTED command session 172.20.90.2:20000

2019-01-21 07:55:25.104 [INFO ] [g.openwebnet.bus.MyHomeJavaConnector] - COM SENDING ============&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *15*01*31#4#01##

2019-01-21 07:55:25.181 [INFO ] [g.openwebnet.bus.MyHomeSocketFactory] - COM RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;============ *#*1##

2019-01-21 07:55:25.185 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *15*01*31#4#01##

2019-01-21 07:55:25.190 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ==OWN== ownId=15.31#4#01

2019-01-21 07:55:25.194 [DEBUG] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== handleMessage() for thing: openwebnet:bus_cen_scenario_control:MH200N:31h4h01

2019-01-21 07:55:25.195 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *17*1*85##

2019-01-21 07:55:25.197 [DEBUG] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== updateButtonState() for thing: openwebnet:bus_cen_scenario_control:MH200N:31h4h01

2019-01-21 07:55:25.199 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SCENARIO_PROGRAMMING NOT SUPPORTED, frame=*17*1*85##

2019-01-21 07:55:25.203 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *17*1*85##

2019-01-21 07:55:25.839 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 07:55:25.843 [DEBUG] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== # 31#4#01 sending CEN virtual release...

2019-01-21 07:55:25.849 [INFO ] [g.openwebnet.bus.MyHomeJavaConnector] - COM SENDING ============&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *15*01#1*31#4#01##

2019-01-21 07:55:26.142 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *16*3*123##

2019-01-21 07:55:26.149 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*16*3*123##

2019-01-21 07:55:26.153 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *16*3*123##

2019-01-21 07:55:26.158 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*21#4#2*5#2#1##

2019-01-21 07:55:26.162 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*21#4#2*5#2#1##

2019-01-21 07:55:26.167 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*21#4#2*5#2#1##

2019-01-21 07:55:26.170 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*23#4#2*5#2#3##

2019-01-21 07:55:26.178 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*23#4#2*5#2#3##

2019-01-21 07:55:26.182 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*23#4#2*5#2#3##

2019-01-21 07:55:26.187 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*2#4#2*5#2#3##

2019-01-21 07:55:26.192 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*2#4#2*5#2#3##

2019-01-21 07:55:26.197 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*2#4#2*5#2#3##

2019-01-21 07:55:26.234 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *15*01#1*31#4#01##

2019-01-21 07:55:26.234 [INFO ] [g.openwebnet.bus.MyHomeSocketFactory] - COM RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;============ *#*1##

2019-01-21 07:55:26.248 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ==OWN== ownId=15.31#4#01

2019-01-21 07:55:26.252 [DEBUG] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== handleMessage() for thing: openwebnet:bus_cen_scenario_control:MH200N:31h4h01

2019-01-21 07:55:26.256 [DEBUG] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== updateButtonState() for thing: openwebnet:bus_cen_scenario_control:MH200N:31h4h01

2019-01-21 07:55:26.345 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *17*2*85##

2019-01-21 07:55:26.348 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SCENARIO_PROGRAMMING NOT SUPPORTED, frame=*17*2*85##

2019-01-21 07:55:26.351 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *17*2*85##

2019-01-21 07:55:26.538 [DEBUG] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== # 31#4#01 updating state to 'RELEASED'...

==&gt; /var/log/openhab2/events.log &lt;==

2019-01-21 07:55:26.550 [vent.ItemStateChangedEvent] - ACENControlWHERE31401_Button1 changed from PRESSED to RELEASED

==&gt; /var/log/openhab2/openhab.log &lt;==

2019-01-21 07:55:27.024 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*21#4#2*5#2#3##

2019-01-21 07:55:27.028 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*21#4#2*5#2#3##

2019-01-21 07:55:27.032 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*21#4#2*5#2#3##

2019-01-21 07:55:27.246 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *16*3*21##

2019-01-21 07:55:27.251 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*16*3*21##

2019-01-21 07:55:27.256 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *16*3*21##

2019-01-21 07:55:27.260 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#22*3#2#1*12*1*4##

2019-01-21 07:55:27.266 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*#22*3#2#1*12*1*4##

2019-01-21 07:55:27.270 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#22*3#2#1*12*1*4##

2019-01-21 07:55:27.285 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#16*21*1*0##

2019-01-21 07:55:27.290 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*#16*21*1*0##

2019-01-21 07:55:27.295 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#16*21*1*0##

2019-01-21 07:55:27.300 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#22*3#2#1*1*0##

2019-01-21 07:55:27.305 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*#22*3#2#1*1*0##

2019-01-21 07:55:27.309 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#22*3#2#1*1*0##

2019-01-21 07:55:27.315 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *16*3*123##

2019-01-21 07:55:27.324 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*16*3*123##

2019-01-21 07:55:27.327 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *16*3*123##

2019-01-21 07:55:27.331 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*2#4#2*5#2#3##

2019-01-21 07:55:27.334 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*2#4#2*5#2#3##

2019-01-21 07:55:27.338 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*2#4#2*5#2#3##

2019-01-21 07:55:27.406 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *16*13*101##

2019-01-21 07:55:27.410 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*16*13*101##

2019-01-21 07:55:27.414 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *16*13*101##

2019-01-21 07:55:27.417 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#22*2#1*12*0*10##

2019-01-21 07:55:27.421 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*#22*2#1*12*0*10##

2019-01-21 07:55:27.424 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#22*2#1*12*0*10##

2019-01-21 07:55:28.337 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#16*21*1*9##

2019-01-21 07:55:28.341 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*#16*21*1*9##

2019-01-21 07:55:28.344 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#16*21*1*9##

2019-01-21 07:55:28.356 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#22*3#2#1*1*9##

2019-01-21 07:55:28.360 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*#22*3#2#1*1*9##

2019-01-21 07:55:28.363 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#22*3#2#1*1*9##

2019-01-21 07:55:28.908 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 07:55:31.968 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 07:55:35.106 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 07:55:38.180 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

==&gt; /var/log/openhab2/events.log &lt;==

2019-01-21 07:55:39.039 [vent.ItemStateChangedEvent] - iTK_Tmp_KaminVL changed from 41.3125 °C to 41.125 °C

==&gt; /var/log/openhab2/openhab.log &lt;==

2019-01-21 07:55:40.494 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#1*0011#4#01*6*16##

2019-01-21 07:55:40.499 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ==OWN== ownId=1.0011#4#01

2019-01-21 07:55:40.502 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ==OWN== ownId=1.0011#4#01 has NO DEVICE associated, ignoring it

2019-01-21 07:55:42.092 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 07:55:45.159 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

but when i start cen from external, the rule does not react:

.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 08:06:05.460 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 08:06:06.380 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *15*01*31#4#01##

2019-01-21 08:06:06.385 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ==OWN== ownId=15.31#4#01

2019-01-21 08:06:06.389 [DEBUG] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== handleMessage() for thing: openwebnet:bus_cen_scenario_control:MH200N:31h4h01

2019-01-21 08:06:06.393 [DEBUG] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== updateButtonState() for thing: openwebnet:bus_cen_scenario_control:MH200N:31h4h01

2019-01-21 08:06:06.416 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *17*1*85##

2019-01-21 08:06:06.420 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SCENARIO_PROGRAMMING NOT SUPPORTED, frame=*17*1*85##

2019-01-21 08:06:06.424 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *17*1*85##

2019-01-21 08:06:07.338 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *16*3*123##

2019-01-21 08:06:07.345 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*16*3*123##

2019-01-21 08:06:07.349 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *16*3*123##

2019-01-21 08:06:07.354 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*21#4#2*5#2#1##

2019-01-21 08:06:07.359 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*21#4#2*5#2#1##

2019-01-21 08:06:07.364 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*21#4#2*5#2#1##

2019-01-21 08:06:07.368 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*23#4#2*5#2#3##

2019-01-21 08:06:07.374 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*23#4#2*5#2#3##

2019-01-21 08:06:07.378 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*23#4#2*5#2#3##

2019-01-21 08:06:07.383 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*2#4#2*5#2#3##

2019-01-21 08:06:07.388 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*2#4#2*5#2#3##

2019-01-21 08:06:07.393 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*2#4#2*5#2#3##

2019-01-21 08:06:07.461 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *17*2*85##

2019-01-21 08:06:07.465 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SCENARIO_PROGRAMMING NOT SUPPORTED, frame=*17*2*85##

2019-01-21 08:06:07.468 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *17*2*85##

2019-01-21 08:06:08.132 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*21#4#2*5#2#3##

2019-01-21 08:06:08.136 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*21#4#2*5#2#3##

2019-01-21 08:06:08.140 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*21#4#2*5#2#3##

2019-01-21 08:06:08.372 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *16*3*123##

2019-01-21 08:06:08.377 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*16*3*123##

2019-01-21 08:06:08.382 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *16*3*123##

2019-01-21 08:06:08.387 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *22*2#4#2*5#2#3##

2019-01-21 08:06:08.392 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*22*2#4#2*5#2#3##

2019-01-21 08:06:08.397 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *22*2#4#2*5#2#3##

2019-01-21 08:06:08.502 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *16*3*21##

2019-01-21 08:06:08.507 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*16*3*21##

2019-01-21 08:06:08.512 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *16*3*21##

2019-01-21 08:06:08.517 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#22*3#2#1*12*1*4##

2019-01-21 08:06:08.522 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*#22*3#2#1*12*1*4##

2019-01-21 08:06:08.527 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#22*3#2#1*12*1*4##

2019-01-21 08:06:08.542 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#16*21*1*0##

2019-01-21 08:06:08.547 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*#16*21*1*0##

2019-01-21 08:06:08.552 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#16*21*1*0##

2019-01-21 08:06:08.558 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#22*3#2#1*1*0##

2019-01-21 08:06:08.567 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*#22*3#2#1*1*0##

2019-01-21 08:06:08.571 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#22*3#2#1*1*0##

2019-01-21 08:06:08.600 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 08:06:08.821 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *16*13*101##

2019-01-21 08:06:08.825 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*16*13*101##

2019-01-21 08:06:08.829 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *16*13*101##

2019-01-21 08:06:08.833 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#22*2#1*12*0*10##

2019-01-21 08:06:08.843 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*#22*2#1*12*0*10##

2019-01-21 08:06:08.846 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#22*2#1*12*0*10##

2019-01-21 08:06:09.471 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#16*21*1*9##

2019-01-21 08:06:09.476 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_1 IS DEPRECATED and NOT SUPPORTED, frame=*#16*21*1*9##

2019-01-21 08:06:09.480 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#16*21*1*9##

2019-01-21 08:06:09.484 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#22*3#2#1*1*9##

2019-01-21 08:06:09.489 [DEBUG] [penwebnet.message.OpenMessageFactory] - ##openwebnet## WHO=SOUND_SYSTEM_2 NOT SUPPORTED, frame=*#22*3#2#1*1*9##

2019-01-21 08:06:09.493 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## Malformed/Unsupported OpenMessage: *#22*3#2#1*1*9##

2019-01-21 08:06:11.669 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 08:06:14.726 [INFO ] [.internal.handler.OwBaseThingHandler] - updating thing properties failed: I/O error: exception while reading packet - Read timed out

2019-01-21 08:06:15.975 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; *#13**22*08*06*33*001*01*21*01*2019##

2019-01-21 08:06:15.979 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## handleManagementDimension not processed

2019-01-21 08:06:15.983 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ==OWN== GatewayManagement WHAT = null

this is the test rule:

rule "CEN wc musik test an"
when
    Item ACENControlWHERE31401_Button1 received command
then
        logInfo("CEN wc musik test", "successfully ACENControlWHERE31401_Button1")
end

Hi Massimo,
yesterday during the tests with Stefan noticed some problems with CEN / CEN +, I hope I can explain myself well.
OH 2.4.0
beta 9-2

1 Problem

.things

 Thing 	bus_cenplus_scenario_control    Cenplus_test  "Scenario+ Test"	@ "Test"	[ where="210", buttons="9,10" ]
 Thing  bus_cen_scenario_control        Cen_test   "Scenario Test"   @ "Test"   [ where="26", buttons="9,10" ]

.items

String iLR_cenplus_test9    "CEN+ B9"     <network> { channel="openwebnet:bus_cenplus_scenario_control:mybridge:Cenplus_test:button_9" }
String iLR_cenplus_test10   "CEN+ B10"    <network> { channel="openwebnet:bus_cenplus_scenario_control:mybridge:Cenplus_test:button_10"}
String iLR_cen_test9        "CEN B9"      <network> { channel="openwebnet:bus_cen_scenario_control:mybridge:Cen_test:button_9" }
String iLR_cen_test10       "CEN B10"     <network> { channel="openwebnet:bus_cen_scenario_control:mybridge:Cen_test:button_10"}

.sitemaps

Switch item=iLR_cenplus_test9 	label="CEN+ B9" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cenplus_test10 	label="CEN+ B10" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cen_test9 		label="CEN B9" 	    mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cen_test10 		label="CEN B10" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]

.rules

rule "sktest9"
    when
        Item iLR_cenplus_test9 changed
    then
        switch(iLR_cenplus_test9.state ) {
            case "PRESSED": {
               logInfo("CEN+ B9", "success!" )
               Luce_sala.sendCommand(ON)
            }
            case "PRESSED_EXT": {
               logInfo("CEN+ B9 EXT", "success!" )
               Luce_sala.sendCommand(ON)
            }
        }
end
rule "sktest10"
    when
        Item iLR_cenplus_test10 changed 
    then
        switch(iLR_cenplus_test10.state ) {
            case "PRESSED": {
               logInfo("CEN+ B10 OFF", "success!" )
               Luce_sala.sendCommand(OFF)
            }
            case "PRESSED_EXT": {
               logInfo("CEN+ B10 OFF EXT", "success!" )
               Luce_sala.sendCommand(OFF)
            }
        }
end
rule "sktest9a"
    when
        Item iLR_cen_test9 changed 
    then
        switch(iLR_cen_test9.state ) {
            case "PRESSED": {
               logInfo("CEN B9 ON", "success!" )
               Luce_sala.sendCommand(ON)
            }
            case "PRESSED_EXT": {
               logInfo("CEN B9 ON EXT", "success!" )
               Luce_sala.sendCommand(ON)
            }
        }  
end
rule "sktest10A"
    when
        Item iLR_cen_test10 changed 
    then
        switch(iLR_cen_test10.state ) {
            case "PRESSED": {
               logInfo("CEN B10 OFF", "success!" )
               Luce_sala.sendCommand(OFF)
            }
            case "PRESSED_EXT": {
               logInfo("CEN B10 OFF EXT", "success!" )
               Luce_sala.sendCommand(OFF)
            }
        }
           
end

As you can see from the animation when you press (just one click) on PRESSED the binding changes the status:
from RELEADES To PRESSED and then automatically from PRESSED to RELEADES, while with PRESSED_EXT this does not happen.
From physical switches the status changes work correctly, from OH no
The rules start correctly from both OH and physical switches

  • What is the right behavior PRESSED or PRESSED_EXT?
  • Why do not you see the value in sitemaps CEN+ B10?

2 Problem

.things

Thing  bus_cenplus_scenario_control    Cenplus_test "Scenario+ Test" @ "Test"	[ where="210", buttons="9,10,11,12" ]
Thing  bus_cen_scenario_control        Cen_test     "Scenario Test"  @ "Test"   [ where="26", buttons="9,10,11,12" ]

.items

String iLR_cenplus_test9    "CEN+ B9"     <network> { channel="openwebnet:bus_cenplus_scenario_control:mybridge:Cenplus_test:button_9" }
String iLR_cenplus_test10   "CEN+ B10"    <network> { channel="openwebnet:bus_cenplus_scenario_control:mybridge:Cenplus_test:button_10"}
String iLR_cenplus_test11   "CEN+ B11"    <network> { channel="openwebnet:bus_cenplus_scenario_control:mybridge:Cenplus_test:button_11"}
String iLR_cenplus_test12   "CEN+ B12"    <network> { channel="openwebnet:bus_cenplus_scenario_control:mybridge:Cenplus_test:button_12"}
String iLR_cen_test9        "CEN B9"      <network> { channel="openwebnet:bus_cen_scenario_control:mybridge:Cen_test:button_9" }
String iLR_cen_test10       "CEN B10"     <network> { channel="openwebnet:bus_cen_scenario_control:mybridge:Cen_test:button_10"}
String iLR_cen_test11       "CEN B11"     <network> { channel="openwebnet:bus_cen_scenario_control:mybridge:Cen_test:button_11" }
String iLR_cen_test12       "CEN B12"     <network> { channel="openwebnet:bus_cen_scenario_control:mybridge:Cen_test:button_12"}

.sitemaps

Switch item=iLR_cenplus_test9 	label="CEN+ B9" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cenplus_test10 	label="CEN+ B10" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cenplus_test11 	label="CEN+ B11" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cenplus_test12 	label="CEN+ B12" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cen_test9 		label="CEN B9" 		mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cen_test10 		label="CEN B10" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cen_test11 		label="CEN B11" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]
Switch item=iLR_cen_test12 		label="CEN B12" 	mappings=[PRESSED="Scenario (PRESSED)",PRESSED_EXT="Scenario (PRESSED_EXT)"]

.rules

rule "sktest9"
    when
        Item iLR_cenplus_test9 changed
    then
        switch(iLR_cenplus_test9.state ) {
            case "PRESSED": {
               logInfo("CEN+ B9", "success!" )
               Luce_sala.sendCommand(ON)
            }
            case "PRESSED_EXT": {
               logInfo("CEN+ B9 EXT", "success!" )
               Luce_sala.sendCommand(ON)
            }
        }
end
rule "sktest10"
    when
        Item iLR_cenplus_test10 changed 
    then
        switch(iLR_cenplus_test10.state ) {
            case "PRESSED": {
               logInfo("CEN+ B10 OFF", "success!" )
               Luce_sala.sendCommand(OFF)
            }
            case "PRESSED_EXT": {
               logInfo("CEN+ B10 OFF EXT", "success!" )
               Luce_sala.sendCommand(OFF)
            }
        }
end
rule "sktest11"
    when
        Item iLR_cenplus_test11 changed
    then
        switch(iLR_cenplus_test11.state ) {
            case "PRESSED": {
               logInfo("CEN+ B11", "success!" )
               Luce_entrata.sendCommand(ON)
            }
            case "PRESSED_EXT": {
               logInfo("CEN+ B11 EXT", "success!" )
               Luce_entrata.sendCommand(ON)
            }
        }
end
rule "sktest12"
    when
        Item iLR_cenplus_test12 changed 
    then
        switch(iLR_cenplus_test12.state ) {
            case "PRESSED": {
               logInfo("CEN+ B12 OFF", "success!" )
               Luce_entrata.sendCommand(OFF)
            }
            case "PRESSED_EXT": {
               logInfo("CEN+ B12 OFF EXT", "success!" )
               Luce_entrata.sendCommand(OFF)
            }
        }
end
rule "sktest9a"
    when
        Item iLR_cen_test9 changed 
    then
        switch(iLR_cen_test9.state ) {
            case "PRESSED": {
               logInfo("CEN B9 ON", "success!" )
               Luce_sala.sendCommand(ON)
            }
            case "PRESSED_EXT": {
               logInfo("CEN B9 ON EXT", "success!" )
               Luce_sala.sendCommand(ON)
            }
        }  
end
rule "sktest10A"
    when
        Item iLR_cen_test10 changed 
    then
        switch(iLR_cen_test10.state ) {
            case "PRESSED": {
               logInfo("CEN B10 OFF", "success!" )
               Luce_sala.sendCommand(OFF)
            }
            case "PRESSED_EXT": {
               logInfo("CEN B10 OFF EXT", "success!" )
               Luce_sala.sendCommand(OFF)
            }
        }
           
end
rule "sktest11A"
    when
        Item iLR_cen_test11 changed 
    then
        switch(iLR_cen_test11.state ) {
            case "PRESSED": {
               logInfo("CEN B11 OFF", "success!" )
               Luce_entrata.sendCommand(OFF)
            }
            case "PRESSED_EXT": {
               logInfo("CEN B11 OFF EXT", "success!" )
               Luce_entrata.sendCommand(OFF)
            }
        }
           
end
rule "sktest12A"
    when
        Item iLR_cen_test12 changed 
    then
        switch(iLR_cen_test12.state ) {
            case "PRESSED": {
               logInfo("CEN B12 OFF", "success!" )
               Luce_entrata.sendCommand(OFF)
            }
            case "PRESSED_EXT": {
               logInfo("CEN B12 OFF EXT", "success!" )
               Luce_entrata.sendCommand(OFF)
            }
        }
           
end

Caution
Buttons 9 and 10 are also configured on physical switches
Buttons 11 and 12 are configured ONLY on OH (button virtual)

Press CEN B12
OK Start Rules
OK Exit on Bus, log client

[Ricevuto 21.01.2019 16:05:34] [MONITOR] *15*12#1*26##
[Ricevuto 21.01.2019 16:13:54] [MONITOR] *15*12#3*26##

Press CEN+ B12
OK Start Rules
OK Exit on Bus, log client

[Ricevuto 21.01.2019 16:17:36] [MONITOR] *25*21#12*210##
[Ricevuto 21.01.2019 16:17:38] [MONITOR] *25*22#12*210##

Press CEN+ B11
OK Exit on Bus, log client

[Ricevuto 21.01.2019 16:23:09] [MONITOR] *25*21#11*210##

Rules:
OK Start [ipse.smarthome.model.script.CEN+ B11] - success!
KO Start [ipse.smarthome.model.script.CEN+ B10 OFF] - success! (this rules should not start)

2019-01-21 16:24:58.247 [INFO ] [ipse.smarthome.model.script.CEN+ B11] - success!
==> /var/log/openhab2/events.log <==
2019-01-21 16:24:58.258 [ome.event.ItemCommandEvent] - Item 'Luce_entrata' received command ON
2019-01-21 16:24:58.267 [nt.ItemStatePredictedEvent] - Luce_entrata predicted to become ON
2019-01-21 16:24:58.351 [vent.ItemStateChangedEvent] - iLR_cenplus_test10 changed from RELEASED to PRESSED
==> /var/log/openhab2/openhab.log <==
2019-01-21 16:24:58.363 [INFO ] [.smarthome.model.script.CEN+ B10 OFF] - success!
==> /var/log/openhab2/events.log <==
2019-01-21 16:24:58.369 [ome.event.ItemCommandEvent] - Item 'Luce_sala' received command OFF
2019-01-21 16:24:58.377 [nt.ItemStatePredictedEvent] - Luce_sala predicted to become OFF
2019-01-21 16:24:58.560 [vent.ItemStateChangedEvent] - iLR_cenplus_test10 changed from PRESSED to RELEASED
2019-01-21 16:24:58.563 [vent.ItemStateChangedEvent] - iLR_cenplus_test11 changed from PRESSED to RELEASED
2019-01-21 16:25:01.037 [ome.event.ItemCommandEvent] - Item 'check_Domotica' received command ON

Press CEN+ B10
Exit on Bus, log client (the output on the bus of the command 11 is incorrect)

[Ricevuto 21.01.2019 16:31:35] [MONITOR] *25*21#11*210##
[Ricevuto 21.01.2019 16:31:36] [MONITOR] *25*21#10*210##

Rules:
KO Start [.smarthome.model.script.CEN+ B10 OFF] - success! (this rules must start 1 time, from the log we see that part 2 times)
KO Start [ipse.smarthome.model.script.CEN+ B11] - success! (this rules should not start)

2019-01-21 16:35:14.566 [INFO ] [.smarthome.model.script.CEN+ B10 OFF] - success!
==> /var/log/openhab2/events.log <==
2019-01-21 16:35:14.577 [ome.event.ItemCommandEvent] - Item 'Luce_sala' received command OFF
2019-01-21 16:35:14.589 [nt.ItemStatePredictedEvent] - Luce_sala predicted to become OFF
2019-01-21 16:35:14.705 [vent.ItemStateChangedEvent] - iLR_cenplus_test11 changed from RELEASED to PRESSED
==> /var/log/openhab2/openhab.log <==
2019-01-21 16:35:14.712 [INFO ] [ipse.smarthome.model.script.CEN+ B11] - success!
==> /var/log/openhab2/events.log <==
2019-01-21 16:35:14.718 [ome.event.ItemCommandEvent] - Item 'Luce_entrata' received command ON
2019-01-21 16:35:14.727 [nt.ItemStatePredictedEvent] - Luce_entrata predicted to become ON
2019-01-21 16:35:14.904 [vent.ItemStateChangedEvent] - iLR_cenplus_test10 changed from PRESSED to RELEASED
2019-01-21 16:35:14.911 [vent.ItemStateChangedEvent] - iLR_cenplus_test11 changed from PRESSED to RELEASED
2019-01-21 16:35:15.893 [vent.ItemStateChangedEvent] - iLR_cenplus_test10 changed from RELEASED to PRESSED
==> /var/log/openhab2/openhab.log <==
2019-01-21 16:35:15.898 [INFO ] [.smarthome.model.script.CEN+ B10 OFF] - success!
==> /var/log/openhab2/events.log <==
2019-01-21 16:35:15.904 [ome.event.ItemCommandEvent] - Item 'Luce_sala' received command OFF
2019-01-21 16:35:15.914 [nt.ItemStatePredictedEvent] - Luce_sala predicted to become OFF
2019-01-21 16:35:16.089 [vent.ItemStateChangedEvent] - iLR_cenplus_test10 changed from PRESSED to RELEASED

Is this correct for a sensor? Predicted! Whats that?

2019-01-24 14:41:26.221 [vent.ItemStateChangedEvent] - Rain_Sensor changed from NULL to ON

2019-01-24 14:41:30.355 [ome.event.ItemCommandEvent] - Item 'Rain_Sensor' received command OFF

2019-01-24 14:41:30.365 [nt.ItemStatePredictedEvent] - Rain_Sensor predicted to become OFF

==> /var/log/openhab2/openhab.log <==

2019-01-24 14:41:30.365 [WARN ] [et.handler.OpenWebNetScenarioHandler] - ==OWN:ScenarioHandler== cannot get button number from channel: openwebnet:bus_dry_contact_ir:Screen10:36:sensor. Ignoring command OFF

edit… predicted >>> comes from newer openhab releases?

Hi,

This could be dum question!!
I started to try implement CEN.
I have CEN item and CEN Thing.
When I select pressed in paperUI the CEN runs and I see the CEN pressed and the subsequent actions in the log.

When I select start CEN from the screen 10 panel I dont see anything in the log for CEN but I do see the CEN actions. So, it ran but the binding didn’t detect it and show in log the change.

So, should the binding detect when a CEN is button is pressed on a physical switch (I have tested this yet), Screen10 button, phone app start command (same CEN no show as Screen 10 button)?

Background:
I have some MH202 scenarios executed by CEN. Some of these scenarios have very sensitive timing requirements, sub 1 sec, and I do this by using dummy light MH202 actions which are approx 250ms to execute. I string a few of these dummy actions to get 250 -750ms pauses in the sequences of actions. This did work (its for PIR override) but lately its become unreliable. The timings are affected by activity on the BUS and I wonder if the recent binding improvments have affected BUS acttivity?

Anyhow, I want to move the CEN actions from MH202 to openhab. Openhab has much better ways to control sub 1 second pauses. I have created a rule and it worked first time but to run the rule I really need to detect when the CEN button command was sent from the screen10 panel .

Or maybe I could using a dummy S10 switch instead???

Mark

Yes, it was added to OH2.4.0

YES The binding should see all CEN messages that are notified on the BUS.
You can double check if the CEN message is sent on the BUS when you press the physical button by using then event session in the official Bticino OpenWebNet client (search the main thread you will find info).
If you see a message from the BUS but the binding does not show any change then you should open a new issue and copy the received message, and only the relevant log when the message is received but the binding does not react
I cannot help much if no relevantly log or message examples are given to me to be analyzed

Bye
M