Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
That will drive the relays but you need a diode across terminals 1 and 2 (anode to 1) to suppress the inductive spike of a mechanical relay coil.
The value of R20 is too low, as the opto coupler cannot provide that much current (worst-case, the output current is 50% of the input current).
Thus R20 needs to be at least 1.3kΩ
A Darlington pair will work fine to output more current as long as it's connected the same as you show Q5.