Is there a faster mqtt client than marvinroger/async-mqtt-clien for ES8266?
I have a battery powered project. But somehow the MQTT client feels slow.
My current timings:
21:09:04.209 -> start 21:09:04.350 -> bme650 data read in 21:09:04.489 -> Wifi connected 21:09:06.352 -> Connected to MQTT. 21:09:06.399 -> Publishing packages 21:09:06.399 -> Packages published: 1 21:09:06.772 -> Packages published: 2 21:09:07.282 -> Packages published: 3 21:09:07.282 -> stop
it takes ~300ms to connect to the wifi but 1s 900ms to connect to the mqtt broker.
(broker is connected via Ethernet, ping 4ms , qos 1).