
As far as i know it switches the city heating on when the two wires are connected. Otherwise the wires are used to charge the thermostat itself. Nothing fancy, it just opens and closes a valve in the utility room.
Tips for devices that are compatible with Domoticz and can replace this old one are very welcome!