How to set up and integrate MQTT to Serial bridge

This is the project I was thinking of 4 channel Relay ESP8266 Wifi board WORKING with esphome

On reflection it is sending from the uart, not gathering any data or feedback.