Openhab and Envisalink Vista / Honeywell Alarm

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?

https://github.com/basriram/openhab-addons/releases/download/untagged-c0bf524466b8db84a54b/org.openhab.binding.ademco-3.2.0-SNAPSHOT.jar

Best, Jay

can you try this link

https://github.com/basriram/openhab-addons/releases/download/3.2.0.M4/org.openhab.binding.ademco-3.2.0-SNAPSHOT.jar

1 Like

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

+1 THANKS!!! Worked for me too.

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 -

https://github.com/basriram/openhab-addons/releases/download/3.2.0.M4/org.openhab.binding.ring-3.2.0-SNAPSHOT.jar

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

1 Like

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.

  • Account Status
  • Doorbell Status

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 :slight_smile:

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

My only guess is if you have 2FA turned on with your Ring account, the binding may not have incorporated 2FA when it was originally written.

I do NOT have 2FA turned on with my account and it works.

2022-05-02 20:11:03.324 [INFO ] [g.openhab.binding.ring.internal.RingHandlerFactory] - createHandler thingType: ring:doorbell
2022-05-02 20:11:03.369 [INFO ] [g.openhab.binding.ring.internal.RingHandlerFactory] - createHandler thingType: ring:account
2022-05-02 20:11:03.393 [INFO ] [org.openhab.binding.ring.internal.RestClient      ] - Creating Ring client for API version 11 on endPoint https://api.ring.com
2022-05-02 20:11:04.316 [INFO ] [org.openhab.binding.ring.internal.RestClient      ] - Creating Ring client for API version 11 on endPoint https://api.ring.com

Best, Jay

I tried this path as well, but I cannot deactivate 2FA.

In my profile I can only choose between adding a new number for verification or to use an authorization App.
There is no option to switch the 2FA off.

There is one option in the Ring control center to authorize new devices, but the generated code does not help with OH either:
In the thing view it still states:

2 factor enabled, enter code

:frowning:

Anyone have any suggestions on disarming and arming? I am able to receive status with the updated binding in this thread but I cannot successfully send commands to the alarm panel. The status just reverts to previous.

I can successfully go to the Envisalink page and send commands.

Do I need to create rules in order to change state?