YoLink Integration

Integrate your YoLink devices with Home Assistant, because YoLink has created a cloud integration for HA.

There is an excellent Home Assistant integration for Hubitat called Home Assistant Device Bridge, linked to below, that permits Home Assistant entities to be available as Hubitat devices.

1 Like

Alright, I was hoping to not have to do this but I'll spin up a HA machine for this. I also have some other sensors that seem to only work with HA. Thank you for the pointer!

2 Likes

There are many of us who integrate ā€œincompatibleā€ devices into Hubitat using other hubs. In the instance of HA, the integration is local (both hubs are on the same LAN), and therefore fast enough that thereā€™s no noticeable effect on automation speed.

1 Like
3 Likes

Just saw your post -- I've been thinking about this to monitor lake temperature close to the freeze point to trigger my bubbler to turn on so that I don't get a freeze in front of the wall. But, a benefit would be lake temperature in the summer!

I'm not a programmer. If Yolink can report to my cell phone in an instant, why can't they take that info and use it in Hubitat? I have a motion sensor in my mail box and my cell phone buzzes before I get the door shut after opening it to get the mail out.

There is already a community-contributed YoLink integration that probably does what you need:

The only "deficiency" is that it is cloud-based, connecting HE to your YoLink devices through an API running on YoLink's servers, so is possibly a little slower than desired and obviously dependent on their servers and a functioning internet connection. In contrast, Hubitat prefers to officially support solutions that run entirely on your local LAN, but YoLink has not yet released an API that would allow us to connect directly to our YoLink hubs.

Supposedly YoLink will come out with a new hub that supports a local API this year. Disclaimer - they also said it would come out last year too, so caveat emptor.

They make nice products, so I hope they do follow through with a local API at some point as I would never hinge anything important in home automation on a cloud integration solution.

2 Likes

Yolink is one of the few companies using LoRa, especially in a home environent. They can connect with IFTT, so maybe an integration can use that? They can connect directly to one another as well, so even if the network goes down a leak sensor can turn off the main water valve automatically.

Just a FYI, Yolink created restrictions. If you noticed your motions or whatever else you had linked into your hubs having issues. Most likely it's this:

To prevent excessive usage and ensure fair access for all users, the UAC API imposes restrictions on individual API users in two primary ways:

  1. Within a 5-minute sliding window, a single UAC is limited to making no more than 100 API calls.
  2. Within a 1-minute sliding window, a single target device can receive no more than 6 API calls, with a minimum interval of 200 milliseconds between each call.

Thanks for this suggestion. I see the integration supports my YoLink valve controller (YoLink - Home Assistant) so I'm going to go this route with a Hubitat bridge. Need it to shut off on my non-yolink leak detectors.

1 Like

So, just got my HA Green. I had it up and running, the YoLink integration, and the detection of my meter and valve all going in about 10 minutes (pretty good since I'm starting with zero HA experience).
image
But only the valve controller's battery status and water volume reading are picked up with HADB. The valve controller is not an option to choose as an importable device.


Now I see "valve" isn't listed as a supported device ([RELEASE] Home Assistant Device Bridge (HADB)). Oh well, I guess I'll try to go the other way and see if HA can import the water sensors from HE.

Edit: Adding some pictures.

Did you fix your problem or do you still need valve support in HADB?

Well, I ended up using Hubitat's Maker API to expose the water sensors from Hubitat into the Home Assistant environment and writing a HA automation to alert and close the valve on a leak detection. I would prefer to keep the "smarts" in Hubitat, because I'm much more comfortable there and this is the only thing I have in HA. That is a long way of saying, yes, I would still like HADB support for the valve. If there is any information I can provide to help with that endeavor please let me know.

I sent you a PM.

I am looking for a driver for a YoLink FlowSmart Meter (Water) P/N YS5007-UC.

I have YoLink drivers installed on the Hubitat Hub that work fine but I cann not find a driver for this?

Any information would be greatly appreciated. Email - grtstl@gmail.com

Seems somone has created a Yolink node server that gives local control to Universal Devices users of Polyglot. Communication is via MQTT.

Someone with the chops want to look at this? Seems like it could be made to work either on an independent node server linked to Hubitat, or in HA, linked to Hubitat via HADB.

1 Like

As it uses the yolink api, I would think it is still cloud based as the API is cloud based.

And if it is cloud based, there would be no advantage over the other yolink user integration with hubitat.

It does not seem to. Heā€™s talking about getting the UAID and secret key, so it does not sound like heā€™s utilizing the official API. I could be wrong because Iā€™m not a developer. Donā€™t fully know what Iā€™m looking at. However, I did see a comment in the universal devices forum where he said to someone that it essentially creates a new node server for every device. Again me not being a developer, I have limited understanding.

Looking for the smart people. :wink:

You need the user credentials to use the cloud API too.

Looked cloud based in the 30s I looked at the code, but I could be wrong.

1 Like