I'm trying this for the first time and not having much luck. I have Mosquitto installed in a Docker container running under Ubuntu. On my laptop I can run MQTT.fx and successfully publish and subscribe. I also have Home Assistant connected, and it can respond to the messages published from MQTT.fx too.
I have the following code running on a mcModule110:
Class TestHeartbeat
Shared Event SendMessage() RaiseEvent Every 15 Seconds
Dim payload As ListOfByte = New ListOfByte()
payload.Add("testing")
Lplan.Publish("heartbeat", payload)
LedGreen = Not LedGreen
End Event
End Class
And I have the mcGate110 config set to my Mosquitto server (192.168.0.39:1883). The green LED goes on and off every 15 seconds, but no messages arrive at either MQTT.fx or Home Assistant. And MQTT.fx can scan for topics, but nothing shows up. Any help would be much appreciated.