Request for driver for Key Digital HDMI Matrix

I have a Key Digital KDHD6X6Lite HDMI matrix switcher that I'd like to control via HomeKit. I was hoping someone could use this existing web-based remote as a starting point to create a driver. I usually send serial commands over telnet.

The manual is here and contains all commands:
https://manuals.plus/key-digital/kd-hd4x4-6x6-8x8-lite-hdmi-dvi-distribution-amp-switch-manual#rs-232_commands
Thanks in advance!

I sat down with Copilot and had it create something that I'm testing with now.