yess i have a mqtt server running on HA side.
The proxy has the correct ip:port and password
<log on ble proxy side is:
INFO:BLEGateway:Starting BLE scan
INFO:BLEGateway:Connected to MQTT broker
INFO:BLEGateway:Subscribed to home/+/BTtoMQTT/undecoded
INFO:BLEGateway:Sent 82 messages to MQTT/>
on mqtt side in HA side i see this:
Message 203 received on home/TheengsGateway/BTtoMQTT/C00F99071C7C at 11:50 AM:
Message 201 received on home/TheengsGateway/BTtoMQTT/E7A7FB1844E3 at 11:50 AM:
so, MQTT is receiving, but what now? I see no devices or other stuff. The above i just read with the help of the tips i found in the mqtt config web page…
to the command line after i have no devices on the HA side, but that haven’t changed anything
the most and only difference between working and not working are those log entries in mqtt:
working:
[12:35:10] INFO: Successfully send service information to the Supervisor.
2024-05-29 12:35:13: New connection from ip:44571 on port 1883.
2024-05-29 12:35:13: New client connected from ip:44571 as 6qxPtgtxVQVssRnybuuHz2 (p2, c1, k60, u’user’).
2024-05-29 12:35:14: New connection from ip:61449 on port 1883.
2024-05-29 12:35:14: New client connected from ip:61449 as DVES_B9A67E (p2, c1, k30, u’user’).
2024-05-29 12:35:14: New connection from ip:56407 on port 1883.
not working:
[12:35:10] INFO: Successfully send discovery information to Home Assistant.
2024-05-29 12:35:10: New connection from ip:35465 on port 1883.
2024-05-29 12:35:10: New client connected from ip:35465 as auto-B86DCDDE-3346-C751-2F2B-681C88A64AC1 (p2, c1, k60, u’user’).
So the sucessfull mqtt stuff goes to “Supervisor” and the not sucessfull stuff goes to “Home Assistant”
Your above picture and your startup command show that you have changed the publish topic for Theengs Gateway to homassistant, which should only really include the discovery messages, but not the actual published messages, which per default go into home.
So in your picture the actual published messages in homassistant are likely not being recognised by HA. Also the -st --subscribe_topic is set to homassistant, which will also not work if you are using OpenMQTTGateway ESP32 proxies.
@ [DigiH]
thanks for clarification, have done that
INFO:BLEGateway:Starting BLE scan
INFO:BLEGateway:Connected to MQTT broker
INFO:BLEGateway:Subscribed to home/+/BTtoMQTT/undecoded
INFO:BLEGateway:Sent 83 messages to MQTT
I was already expecting that, as also in your previous screenshot from MQTT Explorer none of the devices being picked up by Theengs Gateway are recognised and decodable devices. So no discovery messages can be created for auto-discovery, as Gateway does not know what kind of devices with which properties they are.
All auto-discoverable compatible BLE devices for Theengs Gateway are listed at
Are you expecting to get certain properties from the devices listed in your screenshot from their advertising data? If so we can try to create a decoder for them together so that they can be added to the compatible devices listing.
No, the SwitchBot Hub isn’t, but most of the individual SwitchBot devices should have their states discovered and published, if they are within Bluetooth reach.