-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Accumulator Handler in bacnet binding #94
Comments
Hello @sicorrado, thank you for trying/using the binding! I will have a look on the binding and see if accumulator support missing or handled through generic code. Would you like to read some specific property of accumulator or present value? For the compilation part - it really depends how you update binding. At runtime you have to deploy a KAR file, so if you build binding alone, it does not update KAR file which you later on (probably) re-deploy. For that you need to do Hope that it helps you a bit with evaluation. |
Many thanks @splatch for your reply and explanations! After having retrieved last changes on branch 3.4.x, the compilation failed with the following message : [ERROR] Failed to execute goal on project org.connectorio.addons.binding: Could not resolve dependencies for project org.connectorio.addons:org.connectorio.addons.binding:bundle:3.4.0-SNAPSHOT: The following artifacts could not be resolved: org.openhab.core.bundles:org.openhab.core:jar:3.4.2 (absent), org.openhab.core.bundles:org.openhab.core.thing:jar:3.4.2 (absent), org.openhab.core.bundles:org.openhab.core.transform:jar:3.4.2 (absent): Could not find artifact org.openhab.core.bundles:org.openhab.core:jar:3.4.2 in co7io-public-releases (https://repository.connectorio.cloud/repository/co7io-public-releases) -> Not a big maven expert, I've just noticed that it is trying to download these jars from "central" (which is taking a generic path repo.maven.etc...), but no clue how to properly fix it :/ |
Add |
Thank you @splatch , with
It seems like the channel type "ACCUMULATOR" is still not recognized, even though added in channel-config.xml (when I modified src/main/resources/OH-INF/config/ ) |
Hi all
Running OpenHab 3.4.5 (docker image) / ConnectorIO 3.4.0 BACnet kar addons,
I've noticed that BACnet Accumulator objects cannot be handled due to the following error:
Exception occurred while calling thing handler factory 'org.connectorio.addons.binding.bacnet.internal.BACnetThingHandlerFactory
after a quick check in the code, the condition to test the ACCUMULATOR_THING_TYPE and AccumulatorHandler class are missed.
By reading the documentation, Accumulator objects seem to be available for Things type ( https://docs.connectorio.com/connectorio-addons/4.1.x/bindings/bacnet/descriptors/thing-types.html), this is why I was wondering if it is a missing implementation.
Before to open this issue, I was trying to add it by myself but struggling with recompilation (a simple 'mvn clean install' in binding.bacnet directory or 'mvn clean install -pl :org.connectorio.addons.binding.bacnet -am' does not take my modifications into account).
If you have any suggestion on it, I'd be very grateful!
Kind Regards
Silvia
The text was updated successfully, but these errors were encountered: