I have cut over to OH 3.2 and I was wondering if you where going to port your Envisalink Vista / Honeywell Alarm 2.5.x version over to the OH 3.x framework?
Best, Jay
I have cut over to OH 3.2 and I was wondering if you where going to port your Envisalink Vista / Honeywell Alarm 2.5.x version over to the OH 3.x framework?
Best, Jay
I actually did, although with the short term intent of moving away from OH2 for obvious reasons (administration and binding support). It appears ceewin is no longer active (to my knowledge). I needed a solution to move me forward so I did the following. Iāve installed (along side the Envisalink which is monitored) an AD2IoT (Alarm Decoder; ESP32) appliance and this has actually provided greater flexibility:
ā AD MQTT (you cannot arm/disarm via MQTT) or simply use the AD binding (which is fantastic).
ā AD virtual keypad that can be used locally/remotely (VPN) for programming the system.
ā Motion sensors are now visible in an armed stay state (great for occupancy sensing).
One of the things I like the most about the AD binding is the fact that I can send a command directly to the panel so this resolves my request for a duress code and allows my Z-wave locks to disarm/arm the alarm. I think my only āwishā would be that the ācommandā item wouldnāt store the value passed. I was just thinking today I might post a request to the maintainer to see if this is of any interest/possible. I store all my user codes encrypted on a web server and I use HTTPS to request the actual code to send to the panel. Of course I could always clear the item (not the most elegant solution) and I currently have all log data for AD_* items suppressed so that helps.
ā
If you decide to port ā¦ I discovered MQTT would be a good solution, however adding the channel along side the binding doesnāt actually work. So youād have to create a rule to publish updates to gContacts/gMotion and gArmed states. This is what I was doing and it worked well. Iām sure there are a few other methods but again, I was looking for a interim.
All the luck ā¦
I would like to stay within the OH 3.x framework for the Ademco alarm system interface. It worked so well with v2.5.x.
Iām willing to pay anybody $100 to port the 2.5.x code to 3.x if anybody is interested?
Best, Jay
I havenāt have a chance to port my home system to 3.0. Thatās why I havenāt port this binding. If someone needs to port it, i would be able to assist. Iām currently busy and probably will be free in a month.
I had ported it a while back and have been using it within OH 3.x framework with no issues. Here is the jar file and the actual source can be found here
The link to the JAR is giving me a 404 error?
Best, Jay
can you try this link
Hi Sriram,
Thank you SO much for doing this work and allowing others to have it also. This was 1 of 2 bindings I needed in order to finish my migration from OH 2.x to 3.x. I got your binding up and running all via discovery vs. the file definition way I did in OH 2.x.
One thing I learned is you canāt have the OH 2.5 binding running also on a different machine during the migration because the EyezOn Envisalink device canāt keep track of which call itās responding to OH 2.x or OH 3.x. I had to shut down the OH 2.5 in order to fully get this one to work which is completely fine!
You wouldnāt have any insights in how can migrate the RING doorbell binding from OH 2.x to 3.x?
Ring Binding port from 2.5 to 3.x version - Add-ons / Bindings - openHAB Community
If your interested in doing it, Iāll compensate you for it.
Best, Jay
I do not have a Ring doorbell to test but managed to migrate the binding to OH3 and it installed properly in my instance. Let me know if it works for you -
In case it complains of missing json-simple dependency you can install it manually in karaf console -
bundle:install https://repo1.maven.org/maven2/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar
You are a GREAT person for doing this and I have installed it and got the Ring account and Ring Doorbell THINGS up and running.
I did have to do a clean restart of OH vs. dropping them in for those wanting to use the binding.
Thank you so much!
Best, Jay
i install both *.jar.
i also add my ring, but how will I be notified when someone rings?
how do I get a photo or videostream?
I donāt think youāll get a photo or videostream. Best thing you might get would be a locally saved video on an event, but only if you use the paid subscription.
How does the event#kind work? I expected it would change based on the event recognized by the doorbell (e.g. switch to ādongā when somebody rings and switch to āmotionā when a motion is detected), but for me it switched to āmotionā initially and then never changed.
Not aware how to get a photo - Iām using a HIK Vision camera to get a photo when it happens.
The Ring video stream has a 2 minute delay when the ring binding receives a ādingā status. Hereās my logic to put a URL in front of the actual file the Ring binding creates so I can put these URLās in an email to me.
var remoteMotionURL = RingEventVideoURL.state.toString().replace("http://192.168.0.32:8080/ring/video/","http://www.XXXXX.org/OHRing/")
var localURL = RingEventVideoURL.state.toString().replace("http://192.168.0.32:8080/ring/video/","http://192.168.0.32:8080/static/ring/video/")
logInfo("RING","Ring remoteMotionURL is " + remoteMotionURL)
logInfo("RING","Ring localURL is " + localURL)
I have an IIS server with a virtual directory tied to where the Ring videoās are stored on the OH3.x Pi4 (http://www.XXXXX.org/OHRing/)
Best, Jay
Hi @jwiseman,
please let us know, if you got the Ring doorbell binding working.
This would be much appreciated.
@basriram
Thank you for your great contribution!
Yes, the Ring doorbell JAR works. I have been running it since the original posting.
The only 2 items that arenāt working, but arenāt needed, for the binding to work anyway.
Keep in mind, there is a 1 - 2 minute delay when an action occurs (ding, motion, etc.) because of the delay on the Ring API side of things.
This piece is important on the Thing setup, where the ring videos are stored. They are around 20 mb for every event.
Best, Jay
Thank you, Jay
Is this the online state or what is this about?
(my doorbell will arrive today
I think it was back in the day when the binding was originally developed - I monitor the Ring account for being online/offline at the Thing level.
It does go offline maybe every other day but comes right back online. This could be a lot of different reasons, my internet connection, failed API call, etc.
rule "Checking Ring Account Thing Status"
when
Thing "ring:account:7494353203" changed
then
Hereās what it looks like when it comes online.
2022-04-10 12:22:21.291 [INFO ] [g.openhab.binding.ring.internal.RingHandlerFactory] - createHandler thingType: ring:doorbell
2022-04-10 12:22:21.334 [INFO ] [g.openhab.binding.ring.internal.RingHandlerFactory] - createHandler thingType: ring:account
2022-04-10 12:22:21.359 [INFO ] [org.openhab.binding.ring.internal.RestClient ] - Creating Ring client for API version 11 on endPoint https://api.ring.com
2022-04-10 12:22:22.167 [INFO ] [org.openhab.binding.ring.internal.RestClient ] - Creating Ring client for API version 11 on endPoint https://api.ring.com
Best, Jay
I donāt get the Ring Account online.
I tried with authcode received after login attempt by binding and without (running 3.2 stable).
The log says:
RestApi getAuthCode: https://oauth.ring.com/oauth/token, response code: 400, message Bad Request.
Any help is greatly appreciated.
No one with an idea?
When I store the Bridge thing without the 2-fac code I get:
2022-05-02 15:04:32.760 [INFO ] [hab.binding.ring.internal.RestClient] - Creating Ring client for API version 11 on endPoint https://api.ring.com
Then I get the 6-digit code and when I store this, I get:
2022-05-02 15:04:33.051 [INFO ] [hab.binding.ring.internal.RestClient] - RestApi getAuthCode: https://oauth.ring.com/oauth/token, response code: 400, message Bad Request.
And even though I have put in the correct 6-digit code, the binding is still asking for it.
2022-05-02 15:10:39.269 [DEBUG] [ing.ring.handler.AbstractRingHandler] - AuthenticationException when initializing Ring Account handler2 factor enabled, enter code