Pairing HM-TC-IT-WM-W-EU and HM-LC-Sw2-FM switch channel

Pairing HM-TC-IT-WM-W-EU and HM-LC-Sw2-FM
I have a HM-CFG-USB / hmland / homegear / openHAB2 working on a Ubuntu Xenial Xerus on an Orange Pi PC2. Homegear version is 0.8.0-1900
I have no problem to manage some HM-CC-RT-DN radiator thermostat and the Switch Channel 2 of a HM-LC-Sw2-FM (for switching the boiler).
All seems to working fine
But I’m wondering how to pairing a HM-TC-IT-WM-W-EU wall thermostat with the Switch Channel 1 of a HM-LC-Sw2-FM (for switching a Fan coil unit) and Homegear. If I teach following HM-TC-IT-WM-W-EU Operating Manual than I can’t pair the wall thermostat to Homegear any more…
Anybody knows how can I do it? Is it possible to do it throw CLI interface?
Thank you
Riccardo Faccioni

Hey @rfaccio,

this should work on the console (the source channel is 7, the destination channel 1 or 2 depending on the output you want to switch):

homegear -e rc '$hg->addLink(<Wall thermostat ID>, 7, <Switch ID>, <1 for output 1 or 2 for output 2>);'

The IDs you can get with:

homegear -r
fs 0