@papajon you may need RS485 adapter if M5Stick can't use wifi to access networked devices, overall M5Stick is esp32 with built in lcd and some more bits so in arduino/micropython its literally esp32
Use ESP32's Bluetooth HID capabilities to turn the M5Dial into a media controller. There are some ESP32 BLE HID examples on GitHub that might help, and check the M5Stack Docs or their GitHub for similar projects.