Konnected - Beta Add support for Alarm Panel Pro

Firmware is v0.1.2-c6ad60 - which is the latest they seem to have available.

@volfan6415 That would explain the errors. Thanks! FWIW, I do have it mostly working now as follows: each zone is added to the Konnected thing as a channel with a channel ID of only the numeric value of the channel - i.e.: “1”, “2”, etc. Also, I cannot add zone “4”, or the whole things fails. So long as I name the channels that way and do not create a channel “4”, it all seems to work, though it does throw some exceptions.

Really appreciate all your work on this

@gb1227 can you send me a log when you have a channel with zone4 thanks!

I’m running openHAB 3.1.0 Release Build.

When I tried to add my Konnected Pro via the included binding, there was a handler error.

I deleted the binding and installed the JAR found here, however there was an error-

2021-08-14 00:19:26.688 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.konnected-3.0.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.konnected [286]
  Unresolved requirement: Import-Package: javax.measure; version="[1.0.0,2.0.0)"
	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]

Can you provide the full log file?

The full log file is quite a lot of non-related stuff. Do you want debug logs from the Konnected Binding? If so, what event do you want to see?

[Unresolved requirement: Import-Package: javax.measure; version="2.1.0,3.0.0)" - Development - openHAB Community

I get the same - in the openhab.log file I get the following

2021-08-23 14:33:33.344 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.konnected-3.0.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.konnected [249]
  Unresolved requirement: Import-Package: javax.measure; version="[1.0.0,2.0.0)"

	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]

extended logging:

2021-08-23 15:58:20.807 [INFO ] [org.apache.felix.fileinstall        ] - Installing bundle org.openhab.binding.konnected / 3.0.0.202101111558
2021-08-23 15:58:20.829 [DEBUG] [ell.impl.action.osgi.CommandExtender] - org.openhab.binding.konnected (257): Starting destruction process
2021-08-23 15:58:20.831 [DEBUG] [ell.impl.action.osgi.CommandExtender] - org.openhab.binding.konnected (257): Not an extended bundle or destruction of extension already finished
2021-08-23 15:58:20.835 [DEBUG] [ROOT                                ] - bundle org.apache.felix.scr:2.1.26 (72) bundle org.openhab.binding.konnected:3.0.0.202101111558 (257) : Starting destruction process
2021-08-23 15:58:20.837 [DEBUG] [ROOT                                ] - bundle org.apache.felix.scr:2.1.26 (72) bundle org.openhab.binding.konnected:3.0.0.202101111558 (257) : Not an extended bundle or destruction of extension already finished
2021-08-23 15:58:21.038 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.konnected-3.0.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.konnected [257]
  Unresolved requirement: Import-Package: javax.measure; version="[1.0.0,2.0.0)"

	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]
2021-08-23 15:58:23.555 [DEBUG] [org.apache.felix.configadmin        ] - getConfiguration(pid=org.openhab.addons)
2021-08-23 15:58:23.557 [DEBUG] [org.apache.felix.configadmin        ] - Found cached configuration org.openhab.addons bound to mvn:org.openhab.core.bundles/org.openhab.core.karaf/3.1.0
2021-08-23 15:58:26.662 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@22bce2c4{l=/192.168.0.10:8080,r=/192.168.0.53:37796,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@1d3914e5[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@d4252a4{s=COMMITTED}]=>HttpChannelOverHttp@1d391f1d{s=HttpChannelState@7242b09{s=WAITING rs=ASYNC os=COMMITTED is=IDLE awp=false se=false i=false al=2},r=3,c=false/false,a=WAITING,uri=//192.168.0.10:8080/rest/events?topics=openhab/inbox/*,age=150141} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2021-08-23 15:58:26.665 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@22bce2c4{l=/192.168.0.10:8080,r=/192.168.0.53:37796,OPEN,fill=-,flush=-,to=30002/30000}{io=0/0,kio=0,kro=1}->HttpConnection@1d3914e5[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@d4252a4{s=COMMITTED}]=>HttpChannelOverHttp@1d391f1d{s=HttpChannelState@7242b09{s=WAITING rs=ASYNC os=COMMITTED is=IDLE awp=false se=false i=false al=2},r=3,c=false/false,a=WAITING,uri=//192.168.0.10:8080/rest/events?topics=openhab/inbox/*,age=150143} idle timeout expired
2021-08-23 15:58:26.667 [DEBUG] [org.eclipse.jetty.io.FillInterest   ] - onFail FillInterest@2b185c66{null}
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) ~[?:?]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]
2021-08-23 15:58:26.673 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@22bce2c4{l=/192.168.0.10:8080,r=/192.168.0.53:37796,OPEN,fill=-,flush=-,to=30011/30000}{io=0/0,kio=0,kro=1}->HttpConnection@1d3914e5[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@d4252a4{s=COMMITTED}]=>HttpChannelOverHttp@1d391f1d{s=HttpChannelState@7242b09{s=WAITING rs=ASYNC os=COMMITTED is=IDLE awp=false se=false i=false al=2},r=3,c=false/false,a=WAITING,uri=//192.168.0.10:8080/rest/events?topics=openhab/inbox/*,age=150152}
2021-08-23 15:58:56.676 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@22bce2c4{l=/192.168.0.10:8080,r=/192.168.0.53:37796,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@1d3914e5[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@d4252a4{s=COMMITTED}]=>HttpChannelOverHttp@1d391f1d{s=HttpChannelState@7242b09{s=WAITING rs=ASYNC os=COMMITTED is=IDLE awp=false se=false i=false al=2},r=3,c=false/false,a=WAITING,uri=//192.168.0.10:8080/rest/events?topics=openhab/inbox/*,age=180155} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2021-08-23 15:58:56.678 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@22bce2c4{l=/192.168.0.10:8080,r=/192.168.0.53:37796,OPEN,fill=-,flush=-,to=30002/30000}{io=0/0,kio=0,kro=1}->HttpConnection@1d3914e5[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@d4252a4{s=COMMITTED}]=>HttpChannelOverHttp@1d391f1d{s=HttpChannelState@7242b09{s=WAITING rs=ASYNC os=COMMITTED is=IDLE awp=false se=false i=false al=2},r=3,c=false/false,a=WAITING,uri=//192.168.0.10:8080/rest/events?topics=openhab/inbox/*,age=180157} idle timeout expired
2021-08-23 15:58:56.680 [DEBUG] [org.eclipse.jetty.io.FillInterest   ] - onFail FillInterest@2b185c66{null}
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) ~[?:?]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]
2021-08-23 15:58:56.686 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@22bce2c4{l=/192.168.0.10:8080,r=/192.168.0.53:37796,OPEN,fill=-,flush=-,to=30010/30000}{io=0/0,kio=0,kro=1}->HttpConnection@1d3914e5[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@d4252a4{s=COMMITTED}]=>HttpChannelOverHttp@1d391f1d{s=HttpChannelState@7242b09{s=WAITING rs=ASYNC os=COMMITTED is=IDLE awp=false se=false i=false al=2},r=3,c=false/false,a=WAITING,uri=//192.168.0.10:8080/rest/events?topics=openhab/inbox/*,age=180165}

Additional info:

I originally just did an upgrade to openhab 3 from 2
I did a fresh install of openhab 3 but still get the same error

Al Cam- I did the same thing. I’m glad I did a clean OH3 install, but this javax.measure issue is still a problem for me.

Does anyone have this successfully running on OH3? Also, I’m on a raspberry pi, so maybe people who do have it running are on a different architecture.

hey i will look into this. I should be able to get to it in a week or so. But hurricane ida has me displaced currently.

1 Like

Thanks Zach! I hope this is an easy fix!

Thanks Zachary.

One question - are you paid by konnected to do this?

I’m grateful that you work on it but keen to see it is properly funded and supported.

I am not paid. I was provided with devices free of charge.

Firstly, thanks for your efforts on this. It is very much appreciated.

I’m somewhat disappointed that Konnected don’t fund this properly.
I bought their boards because they had openHAB support. Had I known it wasn’t proper funded support I would not have bought Konnected.

I am going to write to them to ask they fund it properly.

At the moment we are completely dependent on your good work so could easily be left with boards that are useless. As it stands I’ve had to do a workaround to get the outputs working and can’t upgrade to OH3.

Yeah, I already dumped on the guy for saying “works seamlessly with OpenHAB.”

I was very disappointed and would never help him again. I mean, I backed him on Kickstarter and then got left out in the cold with regards to OpenHAB support. He basically said, it’s community support and I’m not going to do anything about it.

I only continue to complain because that’s how crowdfunding/community driven projects work- people should know that the guy that built this board is a hack.

Zach on the other hand, has been very helpful. Thanks for covering for the lame support offered by the company!

Alternately, it’s basically $200/board. If we can get enough users together who have affected by his blatantly false advertising that it “works seamlessly” with OpenHAB, we could threaten class action. There are 1000 views on this thread, so even if half sign on, that’s enough money risked to possibly force Konnected to move on something. I imagine supporting OH3 is much cheaper than refunding all those boards.

So, if you are affected by this issue, please let me know. I’ll start collecting a list and if we get big enough, I’ll pass it to my lawyer.

I am 100% up for that but I fear there aren’t enough OH users, given my post about outputs not working on OH2 having no replies (does nobody use outputs in OH?) and how we appear to be the only people that have tried OH3. Also, I am in the UK which probably rules anything out.

Zach - as with most community stuff on the internet - you should have some way grateful users could contribute. We do appreciate your efforts.

Hi Al, I have taken Zach’s great work and made a couple of changes. I now have outputs working with OH31.1 apart from alarm2_out2. Happy to share a build of the binding.

Hi Neil,

yes, that would be great if you could share the binding.

Al.