I am a complete noob in this field but am trying to embark on this project to modify an old automatic pet feeder to have better control by using Raspberry Pi. Below is a picture of what is under the hood, I believe it's a motor connected to a relay. The wires go to C and NO. The grey wires on the bottom go to an on/off switch and the red and black on the left go to the power inlet. The bundle goes up to what I assume is its micro controller.
I'm trying to control the motor with the Raspberry Pi with the least amount of modification. I'm wondering whether I can route the connections going to the relay to Raspberry's GPIO, or is it not as simple as that, or is it not possible to tell just by looking at this setup.