It is a quite specific case, in the general case, I would use @ rkaczorek mqtt bridge. At the time I decided not to use it because from what I remember it was relying on pyindi which was not really well maintained at the time. It is probably much better now