Aqara button integration with Loxone system through HA

Hi guys,
I have HA on Synology NAS VM and MQTT broker. Do you know how to get triggers from aqara button in order to receive Virtual UDP Inputs like on this video (instead of what he did on pc I would like to get from aqara button (WXKG11LM)

So I believe I should be able to run this script through python_script and trigger it using aqara button. Could you help me step by step to make it happen (especially with the script :slight_smile: )?