Dear nayr,
Thanks for the detailed answer!
Unfortunately my thermostat is not so close so I think I will solve it with a DC adaptor. Could You pls tell me which voltage should I use and specify the pins of my (4-pin) GPIO alarm port?
Thanks & regards,
patmik