If the trick to turn on cooling is to activate both heating and cooling (and for heating you need to activate only the heating pin) then parse the default.rules (in /etc/openhab2/rules) and change any line that turns cooling ON to also turn heating ON and any line that turns cooling OFF to also turn heating OFF.
So one example (note the example below is in different location):
Change from this:
rule "CoolingPin changed"
when
Item CoolingPin changed
then
switch(CoolingPin.state) {
case ON: {
Pin23.sendCommand(ON)
//CoolingPinTopic.sendCommand(ON)
logInfo("Default","CoolingPin set to ON.")
}
case OFF: {
Pin23.sendCommand(OFF)
//CoolingPinTopic.sendCommand(OFF)
logInfo("Default","CoolingPin set to OFF.")
}
}
end
To this:
rule "CoolingPin changed"
when
Item CoolingPin changed
then
switch(CoolingPin.state) {
case ON: {
Pin23.sendCommand(ON)
Pin16.sendCommand(ON)
//CoolingPinTopic.sendCommand(ON)
logInfo("Default","CoolingPin set to ON.")
}
case OFF: {
Pin23.sendCommand(OFF)
Pin16.sendCommand(OFF)
//CoolingPinTopic.sendCommand(OFF)
logInfo("Default","CoolingPin set to OFF.")
}
}
end
This is the main logic you need to follow.
There is a big BUT though… Next release has a major rewrite of the way rules work and your edits will not work. As it is a great optimisation that is coming up I would suggest to wait and get the update and then follow this great guide by Rich to apply similar logic there from the convenience of your browser without editing files like above. Till then you can experiment with my above suggestion and see if the logic works for your system.