Updated to include MQTT publish commands where redis set commands occur.

This is so that MQTT messages can be used in the web interface as redis libraries aren't up to the level of MQTT.
Inclusion of mqtt for use in web interface