I have found this circuit for an EcoTEC. If it corresponds to your version it will enable you to identify if your Danfoss thermostat was switching 230v or 24v by the terminals it was connected to.
View attachment 112456
Do you really think that you should be encouraging him to do DIY gas work opening the sealed boiler case?