devWaves / SwitchBot-MQTT-BLE-ESP32

Allows for multiple SwitchBot bots and curtains to be controlled via MQTT sent to ESP32. ESP32 will send BLE commands to switchbots and return MQTT responses to the broker. Also supports Temperature, Motion, Contact sensors
MIT License
539 stars 66 forks source link

Contact/Motion sensor configuration #36

Closed MostHated closed 2 years ago

MostHated commented 2 years ago

You will have to forgive me, this is my first time dealing with Switchbot as well as ESP32 devices. I just got this device (https://www.amazon.com/dp/B094XZ8H5H?psc=1&ref=ppx_yo2_dt_b_product_details) which is a contact sensor, but also a motion sensor with a button. For the configuration, do I put the mac address in both the contact sensor as well as a motion sensor, or just the contact sensor?

Thanks, -MH

devWaves commented 2 years ago

switchbot sells 2 different devices. only put the mac in one list. put yours in the contact list only

MostHated commented 2 years ago

Much appreciated, looks like all is working well.