[co7io] BACnet v2 binding for openHAB 2.x

Hello,
i have successfully installed the add-on. I also see the bacnet objects. Unfortunately I cannot write on the objects. I can only read the values. Where can I look for the error?

It is not an error, write part is not implemented yet. I haven’t had time to fully port 1.x functionality.

Aaa ok. good to know. Do you already have an idea in which version this could be possible? That would be a useful function for my building project.

I am currently busy with canopen binding and updates for OH3. I can take a look on bacnet writing somewhere in next week. Are you fine with analog/binary/multistate input/output types or you need something more?

Hello,
thank you for the info.
The following types are currently interesting for me to read and write:

AI / AO / AV
BI / BO /
MI / MO / MV

Otherwise your add-on will work without any problems.
With the expansion of the write function, I can perfectly equip the control from the manufacturer Kieback & Peter (Germany) with a small visualization. Editing schedules is then the crown in the end. But that’s not really that important for me personally.

High praise for your work.

@Kaoth I’ve uploaded 2.5.2-SNAPSHOT version of binding with support for writes, please test (you need to go over download procedure again).

Most of things gets mapped to ints so you need to work a bit with sitemaps. It works for analogs and binary I/O. I have no possibility to test multistate objects.

Anyone else interested in OH3 testing - please stand up! :slight_smile:

Best,
Łukasz

Hello Łukasz,
I just tested that. I can write the AV’s.
But I have a problem with the BO’s. I can write this. The outputs on the PLC control then also switch on, but I can then no longer switch off via OpenHab.
It’s like a button that turns on once. In the “Paper UI” the slider is not echoed either.
It immediately jumps back to the “OFF” position.

Am I doing something wrong?

Greetings
Marcus

I believe this might be related to binding logic which is currently implemented. My test device have read only binary outputs hence I can’t test what’s going on.

I have to take a closer look on that.

Hello, i am quite new to openhab, really starting to love it. Wanted to try the BACnet binding, looks very interesting. but when i try to install i get the following error. it is on a new OH3. What am i doing wrong?

2020-12-25 17:55:03.038 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-binding-bacnet’: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-bacnet; type=karaf.feature; version="[2.5.2.SNAPSHOT,2.5.2.SNAPSHOT]"; filter:="(&(osgi.identity=openhab-binding-bacnet)(type=karaf.feature)(version>=2.5.2.SNAPSHOT)(version<=2.5.2.SNAPSHOT))" [caused by: Unable to resolve openhab-binding-bacnet/2.5.2.SNAPSHOT: missing requirement [openhab-binding-bacnet/2.5.2.SNAPSHOT] osgi.identity; osgi.identity=co7io-binding-bacnet; type=karaf.feature [caused by: Unable to resolve co7io-binding-bacnet/2.5.2.SNAPSHOT: missing requirement [co7io-binding-bacnet/2.5.2.SNAPSHOT] osgi.identity; osgi.identity=org.connectorio.binding.bacnet; type=osgi.bundle; version="[2.5.2.SNAPSHOT,2.5.2.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.connectorio.binding.bacnet/2.5.2.SNAPSHOT: missing requirement [org.connectorio.binding.bacnet/2.5.2.SNAPSHOT] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.connectorio.binding.base.config)(version>=2.5.0)(!(version>=3.0.0)))" [caused by: Unable to resolve org.connectorio.binding.base/2.5.2.SNAPSHOT: missing requirement [org.connectorio.binding.base/2.5.2.SNAPSHOT] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.smarthome.core.thing)(version>=2.5.0)(!(version>=3.0.0)))"]]]]

Version which is published is compatible with OH2. I pushed updated source code to github. All necessary changes to compile against OH3 are there. I haven’t had time to test and deploy most recent binary build. I will post update soon. Sorry that it takes so long.

Thanks for your quick answer! Hope to see the updated version soon, happy to test for you :+1:

I am on 2.5.11-1, me platform is a pi 3b+.
I purchased a backmove wfif controller, It came with no documentation. My assumption is that it will broadcast it’s IP address. Will your snapshot discover it?

Are you sure it is manufactured by Beckhoff?

Broadcast can be disabled on device/controller hence discovery might not work all the time. By default it is enabled hence you should be able to detect it.

I’m sorry, it is bravo controls

Sorry, I thought it is other topic on two other integrations we made. I will look for catalog card of this device to see if its standard bacnet equipment. From picture looks like it is. :slight_smile:

// Edit: yup, its gonna work.
Double check if device is reachable over your network using ping.
Make sure it is same logical bacnet network (binding by default uses network with 0 identifier).

Thank you @Lukasz

Hi,

I have used 1.x BACnet binding for long time and have liked it a lot.
Now I found this and it looks very promising!

Let me know if any help in testing is needed. I’m going to OH3 and would like to see this binding ready for it soon.

Continuing the discussion from [co7io] BACnet v2 binding for openHAB 2.x:

@splatch I’ve been using openhab v1 and v2. From previous years I know there is an update of openhab at end of the year. Yesterday I started v3. I was using bacnet add-onn 1.9.0

I would like to test BACnet OH3. I’ve working BACnet controller in my house, with real value’s

FYI, 3.0.0-alpha-1 version of binding have been published. Please test. I will update download links later (go to connectorio.com/shop).

Hello,
i copied the file to /usr/share/openhab/addons.
then installed via the webUI, installation seems to go well, no log entry. then added the IP Bridge. this resulted in:
Thing ‘co7io-bacnet:ipv4:BACnet_IPBridge’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
I have a fresh image of openhabian/OH3 on a raspi3
are there more log’s i can look into?