Openhab and Envisalink Vista / Honeywell Alarm

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?

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