Wired buttons connection to HA

Hi!
I thougth this is common case, but cant find.
Ihave HA runnig on mini PS SOYO, just as common PC, USB, LAN, no analogue pins.
Also I have 16 wired buttons that goes to place where this PC is installed.
Is there some hardware solution wilth 16+ analogue inputs to manage all this buttons as triggers in HA?
It can be connected via rs485 or Modbus.
As relay for lamps and other stuff I use Waveshare Modbus POE ETH Relay 30CH

PS.
I do not wont to use zegbee buttons, because I already have wires and wired buttons.