You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i tried the same and I have the same problem.
I looked a bit deaper in the sources and it looks like that the "Last Will" which is provided by the Tasmota Devices cause the iussue.
Sadly I found no way so far to, disable this last will stuff on Tasmota by my own.
using CallBack = void ()(const MqttClient source, const Topic& topic, const char* payload, size_t payload_length); enum attribute((packed)) Flags { FlagUserName = 128, FlagPassword = 64, FlagWillRetain = 32, // unsupported FlagWillQos = 16 | 8, // unsupported FlagWill = 4, // unsupported FlagCleanSession = 2, // unsupported FlagReserved = 1 };
Ist the code from the client function in Tiny Mqtt. Perhaps someone knows if there is an easy way to add the "Last Will" functionality.
I was too quick with my question.
After I set user and password on the client the client is connected.
But removed immediately.
Does anyone have the TinyServer running with TASMOTA clients?
Thanks in advance for every tip.
broker.loop():client
153 New client
---> INCOMING 10 client(1073527448:) mem=279504
Incoming size(72), state=4
Incoming | 10 46 00 04 4D 51 54 54 | .F.. - MQTT |
Incoming | 04 EE 00 1E 00 0C 58 54 | .�.. - ..XT |
Incoming | 36 30 30 5F 47 41 52 41 | 600_ - GARA |
Incoming | 47 45 00 15 74 65 6C 65 | GE.. - tele |
Incoming | 2F 58 54 36 30 30 5F 47 | /XT6 - 00_G |
Incoming | 41 52 41 47 45 2F 4C 57 | ARAG - E/LW |
Incoming | 54 00 07 4F 66 66 6C 69 | T..O - ffli |
Incoming | 6E 65 00 05 67 75 65 73 | ne.. - gues |
Incoming | 74 00 05 67 75 65 73 74 | t..g - uest |
Connected client:XT600_GARAGE, keep alive=30.
815 sending 5 bytes
187 Client XT600_GARAGE Disconnected, parent=1073485520
64 close XT600_GARAGE
137 Remove 1
140 Client removed 0
.
.
broker.loop():client
153 New client
.
.
.
Michael (DE)
The text was updated successfully, but these errors were encountered: