Skip to content

Switchbot API changes. #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

Open
jslntek opened this issue May 24, 2024 · 0 comments
Open

Switchbot API changes. #8

jslntek opened this issue May 24, 2024 · 0 comments

Comments

@jslntek
Copy link

jslntek commented May 24, 2024

getSwitchbotData() stopped pulling data on 2024-05-23.
After troubleshooting, found out that there is a new API version available.
Was able to fix getSwitchbotData() simply by changing the URL for the new API

Changes:
//var url = "https://api.switch-bot.com/v1.0/devices";
var url = "https://api.switch-bot.com/v1.1/devices";

Hope this help others! :)

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

1 participant