[BT] Add gateway deactivation/activation command (#1821)

This commit is contained in:
Florian authored and GitHub committed 2023-12-04 12:20:10 -06:00
1 parent 771b792484
commit 7f9f042f7c
6 files changed
+103 -45

No files matched your search

+10
View File
@@ -26,6 +26,16 @@ With the ability to monitor and analyze data such as temperature, humidity, mois
Support the project by purchasing the [Theengs plug](https://shop.theengs.io/products/theengs-plug-smart-plug-ble-gateway-and-energy-consumption)
The plug is available in North America only, other regions are planned.
## Disable or enable the BLE gateway (default: true, available with HA discovery)
If you want to deactivate the BLE gateway:
`mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"enabled":false}'`
If you want to activate the BLE gateway:
`mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"enabled":true}'`
## Receiving signals from [compatible BLE sensors](https://decoder.theengs.io/devices/devices_by_brand.html) to publish it to an MQTT broker.
To receive data from BLE sensors you can use an ESP32-based device with a programming USB port or use a Serial adapter.