Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Connecting to Vesync failed!" after upgrade to homebridge 1.8.3 #19

Closed
dakovacic opened this issue Jun 20, 2024 · 5 comments
Closed

Comments

@dakovacic
Copy link

After upgrading to home bridge 1.8.3 this morning I am seeing the plugin reporting "Connecting to Vesync failed!" and discovery of my devices, a number of etekcity smartplugs, is failing.

Here is my homebridge information:
Hardware: Raspberry Pi 3 Model B Plus Rev 1.3
Os: "Debian GNU/Linux 12 (bookworm)"
HB version: 1.8.3
NodeJS Version: v20.14.0

From the logs:
[20/06/2024, 10:07:53] Loaded plugin: homebridge-vesync-v2@2.3.9
[20/06/2024, 10:07:53] Registering platform 'homebridge-vesync-v2.VesyncPlug'

[20/06/2024, 10:07:54] [VesyncPlug] Initializing VesyncPlug platform...

[20/06/2024, 10:07:55] [VesyncPlug] DeviceDiscovery invoked

[20/06/2024, 10:07:57] [VesyncPlug] Connecting to Vesync failed!
[20/06/2024, 10:07:57] [VesyncPlug] Adding discovered devices
[20/06/2024, 10:07:57] [VesyncPlug] Discovery complete

With about once a minute a repeat of:
[20/06/2024, 10:34:06] [VesyncPlug] DeviceDiscovery invoked
[20/06/2024, 10:34:06] [VesyncPlug] Connecting to Vesync failed!
[20/06/2024, 10:34:06] [VesyncPlug] Adding discovered devices
[20/06/2024, 10:34:06] [VesyncPlug] Discovery complete

I've tried:

  • Disabling the plugin, waiting 5 minutes and reenabling the plugin
  • Uninstalling and reinstalling the plugin
  • upgrading nodes from 20.12.1 to 20.14.0

All my devices are still available via the VeSync app on my iPhone. At this point I have the plugin disabled so that I do not fill up my logs.

@paulg1981
Copy link

Same exact problem for me.

@fkick
Copy link

fkick commented Jun 20, 2024

Also seeing this issue.

@jimcrammond
Copy link

I've hit this too. It seems the response to the query in getDevices returns an error response with the reason: 'the token has expired'. Don't know why that is though.

mickgiles pushed a commit that referenced this issue Jun 21, 2024
mickgiles pushed a commit that referenced this issue Jun 21, 2024
@mickgiles
Copy link
Owner

version 2.3.10 published fixing this issue.
apparently vesync changed their API and it was unrelated to the homebridge upgrade

@jimcrammond
Copy link

Thanks for the quick turnaround. I realized when reviewing homebridge logs again that the issue started a bit before I upgraded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants