Publish data via MQTT instead of HTTP