Added basic integration with MQTT.