]> git.basschouten.com Git - openhab-addons.git/commit
[tapocontrol] Fix authentication issue making plugin unusable (#13468)
authorPeter Hicks <peter.hicks@poggs.co.uk>
Fri, 30 Sep 2022 19:41:53 +0000 (20:41 +0100)
committerGitHub <noreply@github.com>
Fri, 30 Sep 2022 19:41:53 +0000 (21:41 +0200)
commit2a02f2c7ef38ed6665c37369e1e2d50cd98f702d
tree5ea1b39724cda8d8661b4566cc942c0ef2e9bd7b
parent08375cd3a8489b648fdf7450d999d0767edcfe17
[tapocontrol] Fix authentication issue making plugin unusable (#13468)

The tapocontrol plugin uses a static UUID which is now causing a an API rate limit exceeded error from the TP-Link API.  This commit generates a separate UUID for every login attempt.

Signed-off-by: Peter Hicks <peter.hicks@opentraintimes.com>
bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoCloudConnector.java
bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/constants/TapoBindingSettings.java