[APP][Pro]YoLink (Version 1.0.2 live, 1.0.6 test)

I am creating a new app to add YoLink products to Homey.

So far it supports the Window / Door sensor and the Temperature & Humidity sensor.

If you are interested in other YoLink devices then let me know.

I will add more here once the app is published.

I have published the app to test YoLink | Homey

I am waiting for new icons to publish to live, so the icons you get if you install this version will just be temporary.

To use the app you will need to obtain some login credentials from the YoLink app.

  1. Open the YoLink mobile app.
  2. Open the menu and select Settings.
  3. Select Account.
  4. Select Advanced Settings.
  5. Select User Access Credentials.
  6. Copy the UAID as this will be requested when you install a device. The app remembers this for adding devices later.
  7. Add your first device(s) to Homey using the normal method and the UAID when prompted.
  8. Copy the Secret Key as will will be request when you add the first device(s) using the UAID. It should only be required once as the app exchanges that for a OAuth tokens which are frequently refreshed.
8 Likes

If anyone is interested and wants to test it, it’s in github GitHub - AdyRock/com.yolink

1 Like

This is going to be awwesome! Thanks for doing this.

Can you add support for water shut off valve? Maybe even leak sensors?

Thanks!

The leak sensor is now in there.

I don’t have the shutoff valve, so if I add that would you be willing to test it for me?

Actually, I don’t see any details in the API for a shutoff valve Manipulator | YoSmart Doc

Let me know if you spot it.

Awesome!

Yes, if you could add the shut off valve I would love to test it.

I have two homes. One home has what YoLink calls an EVO Valve Operator. The other home was a different valve called a Smart Motorized Valve.

They both are in the YoLink app as a device.

Hope this info is helpful.

I can’t see any reference to either of those in the API so I will check with YoLink.

:+1:

Looking forward to it ! Thank you

YoLink have gotten back and pointed me to the API sections for those valves, so I will have a go at adding them in.

2 Likes

That’s great!

Hello Adrian, I would like to add my thanks for doing this. In addition to what I have seen here for requests, there is also the yolink plug, vibration sensor, garage door controller, and temperature probe - for your consideration. I look forward to testing your driver.

2 Likes

garage door controller, leak detector, water temperature, and water depth sensors

1 Like

A test version is now in the Homey App store YoLink | Homey

I have included instructions in the first post for obtaining the UAID and Secret.

1 Like

I have just submitted the first version for review, so it will hopefully be released soon.

Once this version is available, if you need support for other devices to be added, then please go to the app settings page, tap on the Get Devices button and then Send Log. Once you have sent the log, let me know and I will then be able to add the drivers and ask you to test the update.

2 Likes

I am adding a device type I don’t have (Temp & Humidity)

after pasting UID and Secret Key, clicking the next button does nothing: no visual que or error message.

Also: adding a device from the app doesn’t create a log that I can send.

What do you see?

In theory it should come up to the device list page with a message saying no devices:

Which log are you referring to (Detected or Log)?

No UX change. I’m stuck on the screen and I can’t make it recognize a click on next.

Hmm, from the log you sent (I think it was you), it is failing to get the access token:

Failed to obtain access token for UAID ############################: undefined

I’m not sure why it is failing, so I will look into that, but I also need to make it show the error message when you click on Next.

1 Like