Not sure should this go to beginners or Projects, or here, so i do apologize. But i am a beginner so I'm posting here.
Basically, i would like to build so the Pi would send ON or OFF signals through thermostat wires onto central heating (wood pellet fireplace), just based on command that i will type in terminal. I do not need it based on room temperature or similar.
Currently i have radio transmitter and receiver, something like this:

The receiver part (bottom left corner) is connected to central heating via two thermostat wires (literally one cable, two wires). The lower right unit is like the top one, it sits in room where temperature needs to be monitored and if temperature drops bellow certain point, it will trigger the receiver to send the signal to power on the central heating via before mentioned two wires. If temperature goes above, it would shut it down.
My question is, could i just connect those two wires to some GPIO pins on Raspberry pi and i could control ON/OFF signal through it, or i need a resistor or transistor in between or similar.
I would connect Pi to central heater without the unit in the picture,
Sorry for silly question but I'm not familiar with thermostats or cables that they are using so i do not know if there is any specific voltage, current, or is it just based on simple switch "technology" if i could say it like that.
I would develop everything else, communications to GPIO, remote control... I just need help with wiring schematics. Again, without temperature sensor. ON/OFF would be controlled manually (or by automation if i build it with help of IFTTT) through RPi.
Thanks in advance.