New MQTT lib in Tasmota, something for ESPEasy?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
fluppie
Normal user
Posts: 89
Joined: 09 Oct 2015, 13:23

New MQTT lib in Tasmota, something for ESPEasy?

#1 Post by fluppie » 08 Oct 2018, 10:56

Tasmota is switching to a new MQTT lib:

6.2.1.13 20181008
* Change default Mqtt client library from PubSubClient to non-blocking ArduinoMqtt by Joel Gaehwiler
https://github.com/256dpi/arduino-mqtt

Could ESPEasy also benefit from this library?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: New MQTT lib in Tasmota, something for ESPEasy?

#2 Post by TD-er » 09 Oct 2018, 16:04

Can you give some examples why it is better than PubSubClient?

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: New MQTT lib in Tasmota, something for ESPEasy?

#3 Post by tozett » 10 Oct 2018, 20:40

maybe you get some miliseconds free?
because some how "non-blocking"?

but maybe other drawbacks?
https://github.com/256dpi/arduino-mqtt/issues/117

i dont know, but the ntp-source of espeasy (at the time i looked in 2016) had some blocking routines, i can remember..
it stopped my led-matrix animation for the blink of an eye...even all functions of espeasy are working sufficently.
i was recognizable, but did not bother me too much..

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: New MQTT lib in Tasmota, something for ESPEasy?

#4 Post by TD-er » 11 Oct 2018, 01:48

At this moment almost all network transactions in ESPeasy are blocking.
The only ones which are not is the webserver and ... MQTT ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests