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

Add support for individual smart plug device settings (switch, timer, schedule) #150

Open
3 tasks done
thomluther opened this issue Oct 30, 2024 · 5 comments
Open
3 tasks done
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request help wanted Extra attention is needed

Comments

@thomluther
Copy link
Owner

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

The Anker Smart plugs support various settings via the App,
Switching the plug on/off
A timer for delayed switching
A schedule for the switch state

Describe the solution you'd like

Integration entities supporting the switch control similar to what is supported by the App.

Describe alternatives you've considered

None

Additional context

It is not clear, whether the plug settings are supported via cloud Api.
The Api endpoints must be explored by the community to find proper queries and parameters to get the device settings and change them accordingly.
See

@thomluther thomluther added enhancement New feature or request help wanted Extra attention is needed dependencies Pull requests that update a dependency file labels Oct 30, 2024
@Thunder1805
Copy link

Fehler beim Einrichten: Retries exceeded: (100053) Anker Api Error: Please try again in 24 hours.

@thomluther
Copy link
Owner Author

@Thunder1805, what does your comment mean in this feature request?
If you are trying to use anything via Api, you should use another account than in the App, otherwise they kick out eachother and after 10 times your IP is banned for 24 hours, which is what this error means.

@Thunder1805
Copy link

hmm but why after installing 2.2. so many ping request happen to the Anker server that I get blocked...

@sethgregory
Copy link

+1 for this request. Have successfully connected the integration and it sees my 240W charging station but receives none of the metrics and has no ability to control power output or on/off.

@thomluther
Copy link
Owner Author

Hi @sethgregory
Not sure if this issue is right for you. This issue is solely for Anker Smart plug device support.
The 240W charging device is not supported at all and probably cannot be supported via cloud Api since it cannot be configured into a power system in the mobile App. This is mentioned in various places.
So the only information you will ever get from that device is what you see with the current integration, unless you find additional fields in the cloud via Api exploration that could be implemented. Then you have to document the Api requests, parameters and response examples to pick this up in the api libaray and Integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants