The MODBUS-slave with the capacitive water level sensor is now mounted inside a die cast aluminium case.
The external wires are connected by watertight ports.
The sensor PCB is mounted on top of a used aluminium sheet using plastic stand-offs from REICHELT. So the PCB can be simply clicked on its mounting posts.