-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support Shared Accounts #9
Support Shared Accounts #9
Conversation
@tomquist could you please review and merge this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! LGTM
Hi, I recently installed the new SOLIX Solarbank 2 E1600 Pro, and it seems that data requests can only be made every 5 minutes. Otherwise, all values are "0". Only when the Anker app is kept open do all values come in as usual, but this is not a viable solution. Is there a solution for this? Thank you |
@SvG-sys not sure what the issue could be. I have the first E1600 and cannot reproduce the issue you mention (I get the values constantly every 60 secs as configured in the |
@oemich Thank you for looking into this matter. Yes, that's correct – everything works perfectly with the E1600 system. The values are reliably transmitted after 60 or even after 10 seconds. Recently, I started using the newest model, Solix E1600 Plus with an integrated inverter. Here too, the values can be queried via MQTT, but only if the Anker iPhone app is open or kept open. If you close the app, after about 3-4 minutes, only values of "0" are transmitted. Once you open the Anker app again, the transmission runs smoothly. log file looks normal: However, I don't want to keep the Anker iPhone app open all the time to be able to read the values every minute. Is there another solution for this – or perhaps this behavior is intentional by Anker? If you would like, I can give you access to the new system through a specially created read-only account. |
The change allows to retrieve data with the rights of an shared account. Due to this the main account can be still used in the app where the shared account is used to the API access.
As shared accounts have no access to the "Homepage" the topic "site_homepage" does not contain any data. But the topic "site/${site.site_name}/scenInfo" reports the same data as if it would have been used with the main account.
Data changes are not possible with a shared account.
Fixes #8