Issue gettin data bt with esp 32

hi, i connect to Mi flora but in the console of esp32 i get

Pub json into:

but if i sibscribe in mqtt mosquitto_sub -h localhost -t get:

“home/OpenMQTTGateway/BTtoMQTT/#” recibo
{“id”:“c4:7c:8d:6b:05:10”,“name”:“Flower care”,“rssi”:-73,“distance”:4.756481,“servicedata”:“71209800c910056b8d7cc40d041002fa00”,“servicedatauuid”:“0000fe95-0000-1000-8000-00805f9b34fb”}

but if i subsibe to bottom level


i dont get any data.

  • List item


Could you subscribe by adding verbose option -v so as to see where the data are published?

Hi. I finally find the problem, it is, that esp32 don`t refresh state of wifi connection before each publication.

so if wifi access-point hangs after the first publication de gateway continue send to serial port the information get, but MQTT recived

home/OpenMQTTGateway/LWT offline

So if i connect to mqtt after this anyone know state of wifi