Skip to content

Switchbot API changes. #8

@jslntek

Description

@jslntek

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! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions