Added all four parameters in MQTT publish