Help connecting Shelly EM to Gladys via MQTT

Hi @jmarandet, welcome to the forum!

Have you taken a look at this thread?

Otherwise, you can use matterbridge to connect your Shelly devices and it will probably be simpler since you seem to be familiar with VMs: