From what I've read, the pump itself is analog and the controller is pwm, so it all depends on where you are adding the reef-pi connection.
I actually did a quick test of the PWM connection last night. I wired a 3.5 audio jack into the input for the Jabao controller (it comes with a dc jack in that spot so I just bypassed that to connect to the board), and changed the mode to "C" which is supposed to be controller mode. From there I just plugged in my Kessil input wire and played around with the lighting controls a bit. It did work, though I wasn't sure which channel was for what so I was essentially putting in numbers at random. I couldn't get a feeling for speed changes without taking the pump out of the tank, so I'm not sure if the controller was working to that degree either. What I did find was that a "0" setting on both channels turned it off, and 1-50 on both turned it on. A 0/50 made it kind of twitch a bit but not move, which I assume is some kind of conflict. I didn't want to go higher than 50 because I've read about the 5V signal max.
I also came to the same conclusion as
@pickupman66 - writing the script to control it will be the challenge.
@Ranjib you linked to the feed button example, which looks like a good place to start. I see it's a python script - would it get added into reef-pi as a macro? Is there a config for "if [this] --> run [script]"?