I went this exact route, my existing irrigation controller was essentially a dumb dial, no way to connect it to wifi and thus HA.
The rainbird Wifi module pricing was extortionate and I got 2x Sonoff 4CH for less than the cost of just the rainbird controller (I would then still need to buy the WiFi module).
1. 240v into the 100-240v inputs
2. 24v into the COM ports which are daisy chained.
3. Each solenoid is connected to a NO port.
4. 24v also goes to the solenoids. I don't know the wiring for this as I just replaced my existing controller and did not need to touch the wiring to the solenoids. But I am assuming this is daisy chained to each solenoid.
View attachment 1822893