[APP][Pro] VeSync (Levoit)

Thanks @AdyBoss,

I tested it myself using a new account, but I’m encountering the same issue, the error message says “This account doesn’t exist.” I also tried logging in with the username, but that didn’t work either.

At the moment, I have no clear idea why this is happening. My old account is working fine, so it seems to be limited to new accounts.

I’ve made a small update to the latest test version (VeSync | Homey) that forwards the original error message from VeSync/Levoit to the user, which might help narrow it down.

I’ll report back once I’ve identified the issue.

Best regards

Edit: I have the same issue on Home Assistant
Edit2: Home Assistant Levoit/VeSync community also facing the same issue ( vesync authentification failed · Issue #147715 · home-assistant/core · GitHub)

1 Like

Great! Thanks for update.
It looks the same “restriction” as it is for new Tuya accounts.
Following up.
Cheers.

Could you check on the new test Version what Error Reason you get when you try to login?

How I can install the test one?

1 Like

Reason: the account does not exist

Update: Temporary Workaround

I managed to get the VeSync app for Homey Pro working by changing the region setting in the VeSync mobile app

VeSync App → Settings → Region → United States

After changing the region, I received a message saying I’d need to reauthorize and re-setup all devices. I completed that process, and afterward, the app in Homey Pro worked correctly.

I’ll keep looking into whether it’s possible to keep the account in the EU region and still be able to log in. I’ll update this post if I find a better solution.

Best regards!

@AdyBOSS @ArnoMeijer

1 Like

Confirmed working for USA server.

2 Likes

Thank you so much! I changed from Belgium to Canada and it accepted my account credentials now.

1 Like

FYI: VeSync is currently reworking there login system. So maybe new users or re-logins may not work.
Currently for me everythings seems to work fine. I’ll work on an update, but it will take some time

1 Like

Hello, first things first, thanks for your hard work with this app.

On the other hand, i have an “lv131s” that is stuck with the error “cannot read properties of undefined (reading ‘result’)”.

How can i help you to test this?

Would need to see a diag. report. I can’t tell you why right now

Sure, this is the code: 01d2fb7f-fbbe-4db0-8356-c57c446c512e

yep been having “A LOT” of login issues. Even natively with the VeSync app I am continuously logged out of the app.

[wrap=iframe id=][/wrap]

Update:

Managed to get the first login stage working today. The new system requires at least two stages, so there’s still work to do. Progress is being made! :rocket:

FYI: The current app is broken. If it still works for you, don’t touch it. I accidentally broke my app installation, so no Homey + VeSync for me.

Huge shoutout to pyvesync for reverse engineering the new login. I’ll need to implement their new login into the Homey app: GitHub - webdjoe/pyvesync at dev-2.0

Edit: Also DO NOT enable two-factor authentication :warning:

Version 1.0.11 New Login🚀

Hey VeSync app users!

I’m excited to share some big progress! The new login system is now working for me on 3 different test accounts :tada:.
It took quite some time to figure everything out, but hopefully we’re finally in business again! :crossed_fingers:

My inbox the last couple of days

:tada: What’s New in Version 1.0.11:

  • New login flow implemented (2-stage system).
    • Verified working on 3 test accounts. (EU, US, ASIA)
      Huge shoutout to the pyvesync project for their amazing reverse engineering work that made the new login possible! :rocket:

Your feedback is incredibly valuable for making this app as reliable and feature-rich as possible!

:light_bulb: Support My Development:

If you appreciate my work and want to help out, consider buying me an energy drink :high_voltage: or a beer :beer_mug:. Donations are a great way to support and motivate me!
You can donate via PayPal. Your generosity helps keep this solo project moving forward!

:woman_technologist: Calling All Developers!

Are you a developer? Want to contribute to this project? I’d love to collaborate! Feel free to send a pull request on GitHub and join me in making this app even better.

:folded_hands: Thank you for your support!

Thanks for making the app. I am just trying it to add my LV131S.

I’m getting the same error in the device, was there a solution to this?

Diagnostics report: b82ef80f-af85-4a37-a3b8-a781cf2ba658

I changed some stuff on the logic of the LV131S logic. I hope this will fix it.

Sadly VeSync doenst have a standart for its API responses. Each device typ is diffrent…

Still an issue, but different: 2b07b891-9e35-47be-8407-a71f44b93aa0

Cannot read properties of undefined (reading 'traceId')

Ups, that was on me. Forgot to change 2 lines…
Check out 1.0.16