Ah the good old 3-port mid-position valve with Y-Plan wiring. How quaint.
Worth noting, before you go anywhere, that the cylinder stat is a single-pole two-way changeover switch. This provides both “call for heat” and “not call for heat”. Similarly, the timer has the hot water switch as two-way, providing a “not call for hot water” as well as “call for hot water”. In short - if there is no requirement for hot water, there is still a (switched) live feed going to the valve.
If you wish to replace the timer-programmer as it stands, then whatever you use will require two channels, and one must be two-way switching. Since most smart switches, including the Shelly 2PM, are single (dual) channel and one-way switching, you will probably require three switches.
- No hot water
- Hot water (inverse of above)
- Heating
Alternatively, you could, in theory, ditch the timer-programmer and the cylinder stat, but you will have to ditch the room stat as well and just go for driving the two input wires for the 3 port valve.
The 3-port mid-position valve logic is:
CH - off & HW - off → grey wire live
CH - off & HW - on → no wire live
CH - on & HW - off → both wires live
CH - on & HW - on → white wire live
Or
Grey 0, White 0 = HW
Grey 1, White 0 = nothing
Grey 0, White 1 = HW & CH
Grey 1, White 1 = CH
So Grey live is “not hot water” and White live is “Heating”
The boiler ‘call for heat’ is confounded from both the cylinder stat “call for heat” and the valve (orange wire).
In short, the boiler “call for heat” occurs when either
- there is call for hot water via timer and cylinder stat together.
- there is call for heating only, via the valve (orange wire) with a live feed from the white wire.
When hot water is required, neither valve wire is live, and the boiler call for heat then comes from the cylinder stat call for heat, and therefore you would still need three switches.
If you just wanted to control the hot-water side only, leaving the heating from the programmer and room stat, then you have to control the valve grey wire using one switch [turn grey on to turn HW off], together with the boiler call for heat using another switch [turn on for HW].
This post is for general discussion only and not for any practical use. Always check wiring diagrams for your specific setup, and use a competent electrician if in any doubt whatsoever.
Always triple check your Y-Plan wiring before switching on.