[BTicino/OpenWebNet] New openHAB2 binding ready for testing

@Rob-VF the flooding bug should be included in OH 3.2M1 which should be published in these days, after it’s published you can update directly from the official distribution/openhabian

@Gieffe70 welcome to the community!
For this command to be sent, a generic “send message” command should be added to the binding. Not started to work on it yet.

@AEM I did some progress on the CEN/CEN+ support (completed the library part under the hood) but the summer holiday period does not give too much spare time to spend on the binding. Surely I will post here some news as soon as I have a version that can be tested by users like you.

2 Likes

This looks like a bug!
If you get this after reboot, you should post some more logs before this exception is launched, at least starting from the point the last openwebnet message is received (they are all logged when they are received from the BTicino gateway). And if the problem is related to the Energy Meter, then you should re-enable it for the problem to appear again.

Thanks a lot

Thank you very much|

Cool, thank you for the update @massi and enjoy your holidays! :grinning_face_with_smiling_eyes:

any news on the CEN/CEN+ support for the OH3 binding?
stick to OH2.5 latest binding version, but getting since a few days strange

2021-09-15 12:35:11.653 [WARN ] [org.openwebnet.OpenGatewayBus       ] - ##gw-openwebnet-BUS## ...re-connect FAILED. Exception: Connection refused (Connection refused)

1 Like

Hi Mark, tnx for your solution.
I’ve continuously same issue (casual disconnections).
I use openhab v. 3.1.0 running on rpi 4.
Have You understood cause of the problem?

Tnx.

Fabio

Hi, can you provide more information about the problem?
Which BTicino gateway are you using?
Can you share the (DEBUG level) log when the disconnection happens?
Which version of the OpenWebNet binding are you using? The one that comes officially with OH 3.1.0 ?

@massi any progress to test in CEN/CEN+?
I am running a MH202 and can test CEN/CEN+
using latest OH3 Version installed from gui - no disconnects noticed (only in OH2.5 HMAC disconnect issue; thats why switched to OH3, now very perfectly stable)

Thanks

hallo, I created this new thread for those interested in helping testing CEN/CEN+ support that I am adding to the official OH3 binding:

@massi
Ciao Massi, i’m trying to test scenario with with address:

A: 9 PL: 5 with buttons: 1/2/3/4 (physical buttons) and from 5 to 16 only available virtual on LCD.

my question is, can i configure them (okay also in testing mode/snapshot) on your binding?
actually i’m running them on homebrige and are working, but i would like to remove homebrige and use only openhab to mange the entire home…

thanks a lot!

i try to answer:
of course, with the snapshot binding you can manage cen-commands now, just uninstall the original binding and install the snapshot as described

then add to your things-file a line like this for your cen-thing:

bus_cen_scenario_control      YourCenName            "cen label"              @ "Cen/CenPlus" [ where="95", buttons="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" ]

then you can trigger your dsl-rule with a command like this under “when”-condition

Channel "openwebnet:bus_cen_scenario_control:YourServer:YourCenName:button#1" triggered START_PRESSURE

but all this is also described detailed from massi in the “adding cen…” -topic :wink:

first, thanks for your reply, very clear!
i forgot to tell i’m running OH3, but i think the syntax/thing/rule are the same.

maybe i got it:

triggers:
  - id: "1"
    configuration:
      event: SHORT_PRESSURE
      channelUID: openwebnet:bus_cen_scenario_control:48d56ba5f1:CEN_Scenes:button#4
    type: core.ChannelEventTrigger
conditions: []
actions:
  - inputs: {}
    id: "2"
    configuration:
      itemName: LifXBeam_Switch
      command: ON
    type: core.ItemCommandAction

is this okay to switch a light on? and to turn it off, i have to create another rule with off command? but same event?
it’s unclear what’s the difference for these triggers:

START_PRESSURE
SHORT_PRESSURE

EXTENDED_PRESSURE
RELEASE_EXTENDED_PRESSURE

sorry i don´t use this kind of rules so i cannot tell if it works - but just try it to see

its just what the names suggest´, just imagine you have an physical switch on the wall:
START_PRESSURE is sent evey time you touch the switch
SHORT_PRESSURE is sent if you press the switch shorter than 0,5sec (sent at the moment when you release)
EXTENDED_PRESSURE is sent if you keep the switch pressed longer than 0,5 sec, will continuosly be sent again as long as you hold presse (good for dimming rules)
RELEASE_EXTENDED_PRESSURE is sent when you release the switch after having it pressed longer than 0,5 sec before
depending on what you want to realize one or another command can be better, especially when you want to use one switch for more than one action

ok i will give a try. thanks for all!

Hi,

I have been busy for the last year but am now starting to get back into this. I have OH3.0.0 installed on a test PI but not touched if for nearly a year. Is this still the correct thread for OH3 version of this binding? If so, the title needs changing.

Probably I forgot a lot and will be rusty for a while. Back to noobie for a while too.

When I left it all that I was missing was CEN and the remotewireless temperature probe both of which worked in OH2.

What’s the current status of CEN, CENplus integration, temperature proble and how to test?.. Uninstallthe official binding and download jar file? … from where?

Cheers Mark

Hi Mark,
The official thread for new features (like termoregulation and energy management) on OH3 binding is here:

Here you can find a dedicated thread for CEN/CEN+ support:

Thanks. I saw those but there was no general OH3 thread for the binding like we had for OH2. The binding info in OH3 includes links to the community.

So, I created one