Added MQTT support

Hi Renato,

I’m having trouble configuring WD for mqtt - I’m not sure if I’ve configured it correctly or I’ve got Node-Red wrong?

Server - I’m using the IP address of the PC that’s running WD - is that correct? 192.168.1.75
Port 1883
Client ID I left blank but I tried 99 with no luck
QoS - At most once
Topic is Gerringong/WD/
blank username password
update rate 60 or 10 made no difference

When cron WD MQTT ver 1.6 starts - opening teh windo shows blank in Received and Status and Message to send says:

This action requires a connected state (C:\Users\Brian\Documents\tmssoftware\TMS MQTT\TMS.MQTT.Client.pas, line 518)

I configured Node-Red using your script and matched the same settings for Topic - QOS 0 - Server 192.168.1.75 and port 1883 - blamk Client ID and user/password blank.

After deploying and restarting flows it says connecting with nothing else.

Any clues? Thanks