• Perfect - thanks for all your debugging!

    That sounds like the issue then - I'd seen some code in the module that looked a bit odd... It reschedules the Ping whenever it receives data... So that means if it's always getting data but not sending anything, it won't get the ping and it'll time out.

    I've just made a change - can you try require("https://raw.githubusercontent.c­om/espruino/EspruinoDocs/master/modules/­MQTT.js") again and see if that helps?

About

Avatar for Gordon @Gordon started