Thanks for that... ive spent hours looking at MQTT. Do you use mosquitto and Home assistant by any chance?