That should work. As an alternative to physical zone switches you could add discrete pi outputs and a relay for each floor in the controller. Of course you’d have to pull more wire to the controller this way, 3 wires per floor.