Does someone know how to arm alarm with this binding?
/Mike
Does someone know how to arm alarm with this binding?
/Mike
After updating to the last build this error also shows up in openhab.log after I restart the openhab2.service:
2018-02-01 15:05:53.337 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.377 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.376 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.348 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.502 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.537 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.494 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.466 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.341 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.566 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.570 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.579 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.576 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.686 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.663 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.635 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.572 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.628 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.748 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.745 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.746 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.731 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.768 [INFO ] [risure.handler.VerisureBridgeHandler] - Supposed to handle a command REFRESH
2018-02-01 15:05:53.824 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:05:53.894 [ERROR] [ome.core.thing.link.ThingLinkManager] - Exception occurred while informing handler: null
java.lang.NullPointerException: null
at org.openhab.binding.verisure.handler.VerisureObjectHandler.handleCommand(VerisureObjectHandler.java:73) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:243) ~[?:?]
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:290) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-02-01 15:06:02.675 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Raw RFlink received data': 3
2018-02-01 15:06:06.589 [INFO ] [clipse.smarthome.model.script.RFLink] - Doorbell pressed SWITCH=10 - CMD=OFF
2018-02-01 15:06:16.449 [INFO ] [ng.verisure.internal.VerisureSession] - Wrong response type null for call to https://mypages.verisure.com/settings/doorwindow?_=1517493976013
Have development for this binding died again?
/Mike
I just did a pull request to @jarlebh branch where I fixed a few things.
I only have the Verisure hub to control my Yale door lock (I have another alarm system) and this binding was not working in that case due to a null pointer exception.
Also added a Switch to control the lock/unlock of the lock.
Do we have an updated binary version for this anywhere?
I have not had any response from @jarlebh on the pull request.
Here is a build with my changes:
https://www.dropbox.com/s/053j349yjddyupx/org.openhab.binding.verisure-2.3.0-SNAPSHOT.jar?dl=0
My Github fork is here if anyone want to see the changes:
I have used this to setup this as a lock in HomeKit:
This is done through NodeRed.
Info of installing Nodered is here. Info on using NodeRed with HomeKit is here.
I have two Verisure items:
String Entre_Lock_Status "Lock status [%s]" <lock> { channel="verisure:lock:1:blabla:status" }
Switch Entre_Lock "Lock" <lock> { channel="verisure:lock:1:blabla:doorlock" }
And then created this flow in NodeRed:
This allows me to see the status in HomeKit and lock and unlock the lock. Also through Siri.
The HomeKit node is setup as a LockMechnismn
And as a DOOR_LOCK accessory:
The other nodes are set up as follows (from left to right):
Hi @msv12
Is it possible to get status from Door/Windows as item type Contact?
Is it possible to get a channel in Doorlock for Autolock ON/OFF?
/Mike
Just installed your build and looks like it works great. Thanks!
I have a VeriSure alarm system with Door/window contacts, Photo detectors, Motion detectors, and Smoke detectors. They seem to work fine (did some initial testing).
Just wanted to report on my results with this build, since you donāt have all the VeriSure equipment at home⦠;o)
Iāve just added this binding and it works as intended. Thanks for good work.
To get around the API rate limit, is there maybe another way to integrate with Verisure the through My Verisure website? I have found a Python-based project, which seems to integrate via the API used by the Verisure native mobile apps: GitHub - persandstrom/python-verisure: A python module for reading and changing status of verisure devices through verisure app api. - Not sure if the rate limit applies to this way of accessing the Verisure system.
Tested working good
(but if i lock the door from the app it wont refresh in openhab before 30minutes, is that correct)?
Switch item=Dor_lock
Text item=Dor_Status
Text item=Dor_whois Text item=Dor_LastTime
Text item=Dor_LastTime
Switch Dor_lock āHoveddĆørā {channel=āverisure:lock:1:thingID:doorlockā}
String Dor_Status āStatusā {channel=āverisure:lock:1:thingID:statusā}
String Dor_whois āIDā {channel=āverisure:lock:1:thingID:changernameā}
String Dor_LastTime āSisteā {channel=āverisure:lock:1:thingID:timestampā}
I get the āVerisure Bindingā thing to work, and it states āonlineā. I have a Yaleman Lock. When I search for new things, it reports that the lock (āMainDoorā) was found and should be in the inbox, however it never appears in the in-box. When I try to manually add a lock with the name āMainDoorā it never initialize, it says āUNINITIALIZED - HANDLER_INITIALIZING_ERRORā
Any one that has any idea why it does not work?
Any news of this binding?
/Mike
Iāve made a re-design of the Verisure binding to support multiple installations/sites since I also have a Verisure installation at my summer house.
Iāve based the re-design on the work made by @Andreas_L, @jarlebh and @msv12 but updated it to handle multiple sites, the changes are not backward compatible so all discovered things will get new internal IDs.
Iāve also added support for some new things:
The source code can be found here in the 4788-verisure branch and the README can be found here.
Iāve also compiled a jar-file based on OH2.5 but it also works for OH2.4.
openhab@openhab2:/usr/share/openhab2/addons $ md5sum org.openhab.binding.verisure-2.5.0-SNAPSHOT.jar
c6eb6f26219a306455916b5fb1ff9153 org.openhab.binding.verisure-2.5.0-SNAPSHOT.jar
The updated binding has been initially tested by @tnemrap and Iāve also got great idĆ©as from Mike in improving the binding functionality.
NOTE: During code review by the maintainers Iāve done some breaking changes to the original jar-file that was referenced in this post. Please read the updated README for changes, the biggest change is that Iāve implemented a configuration property for each Thing called deviceId, hence if you have defined things manually in a things file, you will need to update that according to the updated README.
NOTE: The default refresh period is still 10 minutes, be aware that Verisure might detect if you poll to often!
Happy testing!
BR,
/Janne
Seems to be an issue with adding Yale Smartlocks with the new binding
Status: UNINITIALIZED - HANDLER_INITIALIZING_ERROR org.openhab.binding.verisure.internal.VerisureAlarmJSON cannot be cast to org.openhab.binding.verisure.internal.VerisureSmartLockJSON
I get this issue using the following setting in my things-file and then allowing GUI-discovery of the SmartLock
Bridge verisure:bridge:1 "Versiure Bridge" [ username=<redacted>, password=<redacted>, refresh=300, numberOfInstallations="1"]
Are you using Jannes Binding?
This works for me
Bridge verisure:bridge:1 "Verisure Bridge" [username="email@email.xx", password="secret", pin="123456", numberOfInstallations="1"]{
Thing alarm alarm_1 "Verisure Alarm" [ ID="alarm_1" ]
Thing smartLock 2A8L_XXXX "EntrƩ LƄs" [ ID="2A8L_XXXX" ]
Thing doorWindowSensor 2JJS_XXXX "EntrƩ Dƶrr" [ ID="2JJS_XXXX" ]
Thing doorWindowSensor 2JJG_XXXX "Altandƶrr sovrum" [ ID="2JJG_XXXX" ]
Thing doorWindowSensor 2JJS_XXXX "KƤllardƶrr" [ ID="2JJS_XXXX" ]
Thing doorWindowSensor 2JJS_XXXX "Altandƶrr kƶk" [ ID="2JJS_XXXX" ]
Thing smokeDetector 2AJ2_XXXX "Hall Rƶkdetektor" [ ID="2AJ2_XXXX" ]
Thing smokeDetector 2AJ2_XXXX "Gillestuga Rƶkdetektor" [ ID="2AJ2_XXXX" ]
}
/Mike
This does not work for me, giving the same response:
Bridge verisure:bridge:1 "Versiure Bridge" [ username=<redacted>, password=<redacted>, refresh=300,
numberOfInstallations="1"] {
Thing smartLock 2AQSxxxx "Verisure Entrance Yale Doorman" [ ID="2AQSxxxx" ]
}
I do have a different ID code pattern. Perhaps it is a different version of Yale Doorman that causes an issue?
You should have the pin in Bridge.
Donāt you have a _ sign in your IDās?
/Mike
The ID is indeed lacking an underscore.
As for the pin, is it required if I only wish to read the status of the lock, but not alter it?
Have you tried with pin and underscore?
/Mike