Why is my MG100 resetting? Can I disable the watchdog?
The attribute "mqtt_watchdog" should be set to a value appropriate to your use case. If no MQTT activity is detected for that value, then the device will reset. A value of 0 disables the watchdog feature.