dkerr64 / homebridge-yolink

Apache License 2.0
12 stars 2 forks source link

Is a home Member account supposed to be able to see devices? #103

Open Goldfish42 opened 1 month ago

Goldfish42 commented 1 month ago

Describe Your Problem:

YoLink allows Host accounts to invite a user to their home as a Member. I tried creating such a Member account to use for this plugin and assigned it access/execute permissions for all Rooms & Devices and Smart Scenes in the app. However, this plugin failed to see or load any devices upon booting Homebridge with that user. Eventually, I reconfigured the plugin to use my Host account for the home, and it worked right away.

Is it possible for the plugin to see devices in homes to which the account is a Member of, but not a Host?

Environment:

dkerr64 commented 1 month ago

Short answer is that I don’t know. Did you obtain and use User Access Credentials for the invited user? Are there any warnings or errors in the log?

YoLink may restrict API access for a home to the primary account, I don’t know.

There might be some clues in the logs, you would need to turn on verbose logging in the plugin settings.