Local API SwitchBot Hub Mini

Hey Is there any way that I could use the hub without the cloud? Usage: I would like to integrate it in my local smart home. So a http command would be the easiest way. Nice day


  • Dear customer,

    You can visit the link below to get the local API you asked for.


    If you have any other questions, you can submit a feedback request on the app. Our support team will assist you furthermore.

    SwitchBot Team


  • Hi,

    The cloud-based API is great. However, like the original poster, I would like to be able to send API requests directly to the mini hub at home. I do not want to rely on the cloud services.



  • SwitchBot Support Global

    The github discussion/support is dead.

    When you visit that there are several reports MONTHS open and no responses what so ever from the development team, not even a message that they will look er not look into it.....


  • The Cloud API is nice but it is not reliable. Also, it's very easy to hit the daily limit if one is using, for instance, lots of bots because one needs to query the state separate from the push (with Home Automation), taking a lot of requests... or being forced to wait between requests.

    We would also be saving YOU computing power :), you can still have the usage data with some sort of auditing API in your hub, but please, please let us code against the hub itself and not the cloud. I had a lot of hopes for my system of Switchbot bots and thermostats, but so far I can't really use it much because of the Cloud being so unreliable.

    Great products though...

  • I totally agree with Juan.

    Is there any way I may set up a local server to communicate with SwitchBot.

    For internal project, the current cloud service may suffice but custom server should also be supported in near future for reliability.