CKN Posted August 26 Share Posted August 26 Hi, while testing the Shelly MQTT API i noticed a possible bug. For very long src parameters (and thus very long topics the shelly sends to), the Shelly momentarily loses the connection to the MQTT broker with the log message: "shos_mqtt_conn.c:523 MQTT0: Disconnected". This behaviour can be reproduced with the following MQTT message sent to the Shelly: { "id": 0, "method": "Switch.Toggle", "params": { "id": 0 }, "src": "ThisIsAVeryLongStringWithALotOfCharactersThatCausesTheShellyToLoseConnectionWhichIsAProblemAndCanNotBeFoundInTheDocumentationYetAsALimitation" } Did anyone else stumble on this yet? A limitation to the length there would be understandable, but the lack of any specific response or mentions in the documentation give the impression, that this is not the wanted behaviour, but rather a bug in the firmware. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.