After reading this excellent forum, I have a question before I start from scratch

I would like to turn on my “vloerverwarming pomp”/underfloor heating pump, using domoticz and toon. I have a working domoticz installation, and an normal Toon, without subscription. I would like to root-toon, and then using a domoticz script to controlle a Z-wave switch on the pump.
Is there a variable that is avaible in domoticz/rooted-toon, to check if the CV is heating? Or is it easiest way, check if the requested temperature>room temperature?
Kind regards,
Jan-Jaap
Ps. I know a “pompschakelaar” is probably easier, cheaper and faster, but not as nice
