# Switchbot

**URL:** <https://community.openhab.org/t/switchbot/73197>\
**Category:** Home Automation\
**Created:** [April 26, 2019, 6:54am UTC](https://community.openhab.org/t/switchbot/73197 "2019-04-26T06:54:40Z")\
**Posts on this page:** 1\
**Showing post:** 47

<div class="post-metadata">

**Author:** ![Hans\_Lree](https://community.openhab.org/user_avatar/community.openhab.org/hans_lree/32/194704_2.png) [@Hans\_Lree](https://community.openhab.org/u/Hans_Lree)\
**Post date:** [August 7, 2022, 3:27pm UTC](https://community.openhab.org/t/switchbot/73197/47 "2022-08-07T15:27:01Z")

</div>

> [@kemotsysinc](#):
>
> The challenge is that the documentation is written for those who already understand it. It is not a tutorial on ‘how’ to do it. The original post was somewhat a step-by-step tutorial, but the issue is that it is now outdated, doesn’t work and no one seems to know how to fix it.

Apologies, I just assumed that with a [web installation](https://docs.openmqttgateway.com/upload/web-install.html) on an ESP32 would be quite easy, and then receiving MQTT **states** (stateTopic) for all the implemented SwitchBot devices, and being able to control them with MQTT **commands** (commandTopic) would be manageable with so many other MQTT tutorials already in the forum. But as DrRSatzteil stated above, it’s not for everyone, especially if there is no previous experience with MQTT.

Unfortunately, since I’m using all textual configurations, I’m not the best one to give an easy tutorial either, but a search for OpenMQTTGateway or the above mentioned gateway should come up with many results for other device’s implementations, adhering to the same paradigm. And once familiar with the general OpenHAB MQTT functionality it opens up a a wide range of future device possibilities, without the need for specific bindings or scripts.

**EDIT** - a tutorial has just been posted

> [@Integrate Bluetooth devices into OpenHAB 3 thanks to OpenMQTTGateway without file configuration](https://community.openhab.org/t/openmqttgateway-and-openhab-3-with-auto-discovery-of-things/138104):
>
> This tutorial will show how to integrate the BLE gateway to OpenHAB3 leveraging the auto discovery functionnality. After this tutorial, you should see your [Bluetooth Low Energy devices compatible with OpenMQTTGateway](https://docs.openmqttgateway.com/prerequisites/devices.html#for-ble-devices) in OpenHAB3 without any file-based manual configuration. Note that this tutorial is also available into OpenMQTTGateway [documentation](https://docs.openmqttgateway.com/integrate/openhab3.html)Prerequisites OpenHAB 3.3 or higher MQTT broker installed with or without authentication A location defined in the “Model” section under “Settings…

---

_[View the full topic](https://community.openhab.org/t/switchbot/73197)._
