Temperature sensor selection

Hi guys.

I have an older style central heating system with separate radiators and hot water tank that is heated by a traditional gas boiler (not a combi boiler system)

I have successfully automated the heating side of the system by using a Sonoff TH16 WiFi switch with temperature sensor flashed with Tasmota, all controlled with a Raspberry Pi running Node Red.

The next logical step would be to automate the hot water system and incorporate it into Node Red also.

The problem I'm having is figuring out what type of temperature sensor to use on the hot water tank.

Currently in use is a dumb mechanical on/off thermostat that is strapped to the side of the tank which has a coarse temperature setting dial on it. I would like to find a better temperature sensor similar to the SI7021 which plugs into the Sonoff TH 16. But it would have to make intimate contact with the copper side wall of the tank and the SI7021 would not be suitable. I know Sonoff have another sensor available: DS18B20 which is housed in a metal cylinder and is designed to be weatherproof but I still think that it would be difficult to get it in close intimate contact for reliable and accurate measurements.

So my question is this, has anyone come up with a solution to this problem or has anyone done what I'm trying to do with any degree of success? Would be great to hear from anyone who has.

Thanks.

You can buy the DS18B20 not in the waterproof pack. It is then very small. I put mine inside the insulation around the hot water tank held on with a lump of blue tack over the outside of the chip, which survives the environment surprisingly well. Keep the first few inches of the wire against the tank too as the chip actually measures the temperature of the leads rather than the plastic case. You need to insulate the wires at the chip of course, but that is easy with shrink wrap.

Thanks for that Colin. Do you have a link to that sensor at all.

There isn't much point me sending you to a local supplier since I don't even know which continent you are on.
Your favourite electronics supplier will likely have it. Or Amazon or ebay. It is best to buy from a recognised supplier though, there are many dubious copies about.

I am using the tube versions of the DS18b20, stuck into a small copper pipe, flattened for about an inch or two, then the flat section in intimate contact with the device to be measured... Plenty of heat transfer paste in the tube and between the mating surfaces help... Then, to finish it off, a small layer of thermal insulation covering the whole mess to isolate the sensor from ambient....

Saving up for a modern combi-boiler would be a really good investment if that is a possibility for you. It is probable that you would easily recoup the cost of the new boiler and fitting within a few years.

As to Temp probe use the water proof temp sensor and make a hole in isulation, next to cooper/steel tank, fill with heat transfer compound and then insert probe.

I highly doubt that, unless the old boiler cost more than £500 more a year to run.
Cost of new boiler and alterations to system approx £2000. So over 3 years you would need to save £600 a year.

Combi pro's -
no storing hot water
endless hot water

Combi Con's
reduced pressure on hot flow
no hot water if boiler has fault.

I personally prefer the sealed system boiler, as i like the mains pressure hot water and a back up hot water supply. There is also less Alterations to system to fit.

pro's
mains pressure hot water
back up hot water
cheaper boilers with less part to go wrong

con's
no endless hot water
storage of hot water

But every one will have a different opinion. When i switched from old Potterton to new system condensing boiler the saving was about %10, which worked out to be approx £80 a year less on heating and hot water.

Some fair points - we have a reasonable sized Victorian house in the North of England on a hill so it gets hit by the weather both from the North and South. 4 of us including 2 teenagers and a wife who likes a bath before bed. Our bills are "reasonably" large!

You also missed both a pro and a con of having a hot-water tank. Pro is an airing cupboard. Con is needing space for an airing cupboard (or insulated loft space). In fact, we don't have a header tank either so we are saving a lot of space.

As for reduced pressure, I think this is very dependent on a number of factors. Certainly the pressure in our house is better than most houses I've lived and been in that had tanks.

As for boiler reliability - hard to judge that one, the combi-boiler we had when we moved in did have significant reliability issues in the end though it worked for several years with no issues and yet was known to be a problematic one according to several different engineers. The replacement condensing combi has been working solidly for at least 15yrs now, I think we've had 2 callouts in all that time. Both easily fixed.

You can also use this k-type sensor. It has a metal shield and work with chip max6675.

The Airing cupboard has a pro to, you have a warm linen /towel cupboard. [edit i missed you said this already]

A combi will never have a better pressure than a sealed system, due to fact it has to heat the water, so reducing pressure, this is relative to how hot you want your tap water. The system boiler has already heated the water.

combi's have a heat exchanger for heating domestic hot water, on older piping this can get clogged, due to build up in old pipes, even with the power flush i have seen this issue.

I want to add my 2 cents in here. I am adding my flow for a wireless pressure and temperature sensor. Here is the company I dealt with.

They have units that can handle the temperature and pressures you need.

The flow was pretty straightforward.

[{"id":"35ad4fe4.069a3","type":"subflow","name":"SaveChart","info":"","category":"","in":[{"x":80,"y":60,"wires":[{"id":"f4457c36.28ce1"}]}],"out":[{"x":820,"y":80,"wires":[{"id":"cf553dbd.50f9a","port":0}]}]},{"id":"db9cbd5c.fb547","type":"file","z":"35ad4fe4.069a3","name":"","filename":"","appendNewline":true,"createDir":true,"overwriteFile":"true","x":690,"y":40,"wires":[[]]},{"id":"f7f46486.9881a8","type":"file in","z":"35ad4fe4.069a3","name":"","filename":"","format":"utf8","sendError":true,"x":530,"y":80,"wires":[["cf553dbd.50f9a"]]},{"id":"ac2168dc.ee28f8","type":"json","z":"35ad4fe4.069a3","name":"","x":530,"y":40,"wires":[["db9cbd5c.fb547"]]},{"id":"cf553dbd.50f9a","type":"json","z":"35ad4fe4.069a3","name":"","property":"payload","action":"","pretty":false,"x":690,"y":80,"wires":[[]]},{"id":"f4457c36.28ce1","type":"function","z":"35ad4fe4.069a3","name":"LoadSave","func":"var strSafe=msg.topic;\nif(strSafe)\n{\n    strSafe=strSafe.replace(/[^a-z0-9]/gi, '_').toLowerCase();\n    var loaded=context.get(strSafe)||0;\n    msg.filename =\"/home/pi/charts/\"+strSafe+\".dat\";\n    //node.warn(loaded);\n    if(0===loaded)\n    {\n        //load chart!! \n        msg.payload=\"load\";\n        context.set(strSafe,1);\n        \n        //node.warn(\"Loading \" +strSafe);\n    }\n    else\n    {\n        //node.warn(\"Writing \" +strSafe);\n    }\n    return msg;    \n}\nreturn null;\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":230,"y":60,"wires":[["99a5d40b.95d618"]]},{"id":"99a5d40b.95d618","type":"switch","z":"35ad4fe4.069a3","name":"Load data","property":"payload","propertyType":"msg","rules":[{"t":"neq","v":"load","vt":"str"},{"t":"eq","v":"load","vt":"str"}],"checkall":"false","repair":false,"outputs":2,"x":380,"y":60,"wires":[["ac2168dc.ee28f8"],["f7f46486.9881a8"]]},{"id":"f0623c31.28231","type":"inject","z":"c0d5dea4.880a9","name":"UUID2","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"835ab4c051e411e3a5bd0002a5d5c51b","payloadType":"str","x":170,"y":1060,"wires":[["9a0a1022.e97b68"]]},{"id":"4ee45d82.7d6984","type":"inject","z":"c0d5dea4.880a9","name":"Connect","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"connect","payloadType":"str","x":160,"y":1220,"wires":[["9a0a1022.e97b68"]]},{"id":"64a7bc8a.60895c","type":"inject","z":"c0d5dea4.880a9","name":"Disconnect","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"disconnect","x":160,"y":1260,"wires":[["9a0a1022.e97b68"]]},{"id":"d9ab88b6.f5d72","type":"inject","z":"c0d5dea4.880a9","name":"Subscribe","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"notify\":true,\"period\":300000}","payloadType":"json","x":160,"y":1300,"wires":[["9a0a1022.e97b68"]]},{"id":"9a0a1022.e97b68","type":"Generic BLE in","z":"c0d5dea4.880a9","name":"91039","genericBle":"84923153.a4594","useString":false,"notification":true,"x":390,"y":780,"wires":[["b122747d.ae8bf8"]]},{"id":"9b6490ee.d0915","type":"inject","z":"c0d5dea4.880a9","name":"Temperature","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"2a1c","x":150,"y":1020,"wires":[["9a0a1022.e97b68"]]},{"id":"3641ba9b.c527d6","type":"inject","z":"c0d5dea4.880a9","name":"UUID4","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"8cd67da0da9b11e390870002a5d5c51b","payloadType":"str","x":170,"y":1100,"wires":[["9a0a1022.e97b68"]]},{"id":"8765a6.765c9258","type":"inject","z":"c0d5dea4.880a9","name":"Measurement Interval","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"2a21","x":120,"y":980,"wires":[["9a0a1022.e97b68"]]},{"id":"7f9522da.dd3b24","type":"inject","z":"c0d5dea4.880a9","name":"Model Number","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"2a24","payloadType":"str","x":140,"y":900,"wires":[["9a0a1022.e97b68"]]},{"id":"b0c87c42.73eee8","type":"inject","z":"c0d5dea4.880a9","name":"Advertising Blob","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"2aff","x":140,"y":940,"wires":[["9a0a1022.e97b68"]]},{"id":"84262a31.571158","type":"inject","z":"c0d5dea4.880a9","name":"Serial Number","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"2a25","x":150,"y":860,"wires":[["9a0a1022.e97b68"]]},{"id":"b38cbeae.f8196","type":"inject","z":"c0d5dea4.880a9","name":"Tx Power Level","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"2a07","payloadType":"str","x":140,"y":740,"wires":[["9a0a1022.e97b68"]]},{"id":"873ab5a3.a94b28","type":"inject","z":"c0d5dea4.880a9","name":"Firmware Revision","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"2a26","x":130,"y":820,"wires":[["9a0a1022.e97b68"]]},{"id":"2a1da5ef.c9438a","type":"inject","z":"c0d5dea4.880a9","name":"Manufacturer Name","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"2a29","x":130,"y":780,"wires":[["9a0a1022.e97b68"]]},{"id":"b122747d.ae8bf8","type":"switch","z":"c0d5dea4.880a9","name":"","property":"payload.characteristics","propertyType":"msg","rules":[{"t":"hask","v":"2a07","vt":"str"},{"t":"hask","v":"2a29","vt":"str"},{"t":"hask","v":"2a26","vt":"str"},{"t":"hask","v":"2a25","vt":"str"},{"t":"hask","v":"2a24","vt":"str"},{"t":"hask","v":"2a21","vt":"str"},{"t":"hask","v":"2a1c","vt":"str"},{"t":"hask","v":"835ab4c051e411e3a5bd0002a5d5c51b","vt":"str"},{"t":"hask","v":"8cd67da0da9b11e390870002a5d5c51b","vt":"str"},{"t":"hask","v":"2aff","vt":"str"}],"checkall":"true","repair":false,"outputs":10,"x":550,"y":840,"wires":[["ef8770a2.c9f4f"],["7a67e2d5.3ef014"],["ef26d7e4.adb84"],["4c0386d9.f433a"],["807030ff.6e79"],["e3fe0737.88889"],["7bc659f5.3f20f8"],["4847047d.6e9414"],["419a1af0.665ef4"],["dc24018b.f20328"]]},{"id":"6f16aba8.2c8c7c","type":"inject","z":"c0d5dea4.880a9","name":"Probe","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":170,"y":1180,"wires":[["9a0a1022.e97b68"]]},{"id":"7bc659f5.3f20f8","type":"function","z":"c0d5dea4.880a9","name":"Temperature","func":"msg.topic = \"Temperature - 91039\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload.characteristics[\"2a1c\"];\n    value = value.slice(1,5);\n    value = value.readFloatBE();\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":750,"y":940,"wires":[["59b52dda.bc0584"]]},{"id":"419a1af0.665ef4","type":"function","z":"c0d5dea4.880a9","name":"Pressure - UUID4","func":"msg.topic = \"Pressure\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload.characteristics[\"8cd67da0da9b11e390870002a5d5c51b\"][0];\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":770,"y":1020,"wires":[[]]},{"id":"4847047d.6e9414","type":"function","z":"c0d5dea4.880a9","name":"Pressure -UUID2","func":"msg.topic = \"Pressure - 91039\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload.characteristics[\"835ab4c051e411e3a5bd0002a5d5c51b\"];\n    value = value.readInt16BE();\n    value = ( value * .01 );\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":770,"y":980,"wires":[["9f5473e4.e02f08"]]},{"id":"fe7736ec.37fc3","type":"inject","z":"c0d5dea4.880a9","name":"Scale Value","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"2904","x":150,"y":1140,"wires":[["9a0a1022.e97b68"]]},{"id":"7a67e2d5.3ef014","type":"function","z":"c0d5dea4.880a9","name":"Manufacturer Name","func":"msg.topic = \"Manufacturer Name\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload.characteristics[\"2a29\"];\n    value = value.toString();\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":780,"y":740,"wires":[["715e79f1.f2f198"]]},{"id":"ef8770a2.c9f4f","type":"function","z":"c0d5dea4.880a9","name":"Tx Power","func":"msg.topic = \"Tx Power\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload.characteristics[\"2a07\"];\n    value = value.readInt8(0);\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":740,"y":700,"wires":[["38745dab.ea67c2"]]},{"id":"ef26d7e4.adb84","type":"function","z":"c0d5dea4.880a9","name":"Firmware Revision","func":"msg.topic = \"Firmware Revision\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload.characteristics[\"2a26\"];\n    value = value.toString();\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":770,"y":780,"wires":[["fead7d07.d51c88"]]},{"id":"4c0386d9.f433a","type":"function","z":"c0d5dea4.880a9","name":"Serial Number","func":"msg.topic = \"Serial Number\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload.characteristics[\"2a25\"];\n    value = value.toString();\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":760,"y":820,"wires":[["97078a73.c88768"]]},{"id":"807030ff.6e79","type":"function","z":"c0d5dea4.880a9","name":"Model Number","func":"msg.topic = \"Model Number\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload.characteristics[\"2a24\"];\n    value = value.toString();\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":760,"y":860,"wires":[["25350398.e5b4b4"]]},{"id":"e3fe0737.88889","type":"function","z":"c0d5dea4.880a9","name":"Measurement Interval","func":"msg.topic = \"Measurement Interval\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload.characteristics[\"2a21\"];\n    value = value.readInt16LE();\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":780,"y":900,"wires":[["cacbb89f.dec4b8"]]},{"id":"dc24018b.f20328","type":"buffer-parser","z":"c0d5dea4.880a9","name":"Advertising Blob","data":"payload.characteristics[\"2aff\"]","dataType":"msg","specification":"spec","specificationType":"ui","items":[{"type":"int32le","name":"Pressure","offset":0,"length":3,"offsetbit":0,"scale":"1","mask":""},{"type":"int16le","name":"Temperature","offset":2,"length":2,"offsetbit":0,"scale":"1","mask":""},{"type":"int8","name":"Battery Level","offset":4,"length":1,"offsetbit":0,"scale":"1","mask":""},{"type":"string","name":"Device","offset":6,"length":6,"offsetbit":0,"scale":"1","mask":""}],"swap1":"","swap2":"","swap3":"","swap1Type":"swap","swap2Type":"swap","swap3Type":"swap","msgProperty":"payload","msgPropertyType":"str","resultType":"value","resultTypeType":"output","multipleResult":true,"fanOutMultipleResult":true,"setTopic":true,"outputs":4,"x":520,"y":1120,"wires":[["9fa63c53.de1da"],["2de7df6.58b912"],["3333ede7.c70e62"],["3b1853b7.2125b4"]]},{"id":"9fa63c53.de1da","type":"function","z":"c0d5dea4.880a9","name":"Pressure","func":"msg.topic = \"Pressure\";\nvar now = ( new Date() ).getTime();\nvar array = [\"0x0\"];\narray = array.concat(msg.payload);\nvar value = Buffer.from(array)\n    value = value.readUInt32LE();\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":740,"y":1060,"wires":[[]]},{"id":"2de7df6.58b912","type":"function","z":"c0d5dea4.880a9","name":"Temperature","func":"msg.topic = \"Temperature\";\nvar now = ( new Date() ).getTime();\nvar value = Buffer.from(msg.payload);\n    value = value.readInt16LE(0);\n   msg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":750,"y":1100,"wires":[[]]},{"id":"3b1853b7.2125b4","type":"function","z":"c0d5dea4.880a9","name":"Device Address","func":"msg.topic = \"Device Address\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload;\n    value = value.toString();\nmsg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":760,"y":1180,"wires":[[]]},{"id":"3333ede7.c70e62","type":"function","z":"c0d5dea4.880a9","name":"Battery Level","func":"msg.topic = \"Battery Level\";\nvar now = ( new Date() ).getTime();\nvar value = msg.payload;\n   msg.payload = {\n    tstamp: now,\n    data: value\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":750,"y":1140,"wires":[["803d9839.8c53b"]]},{"id":"9ccd90f8.64da88","type":"status","z":"c0d5dea4.880a9","name":"91039 Status","scope":["9a0a1022.e97b68"],"x":150,"y":700,"wires":[["3e1d4899.48c7f"]]},{"id":"3e1d4899.48c7f","type":"function","z":"c0d5dea4.880a9","name":"","func":"if (msg.status.text == \"generic-ble.status.missing\") {\n    msg.topic = \"connect\";\n} else if (msg.status.text == \"generic-ble.status.disconnected\") {\n    msg.topic = \"connect\";\n} else if (msg.status.text == \"generic-ble.status.connected\") {\n    msg.topic = \"\";}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":300,"y":700,"wires":[["a7a917f5.de3bf8"]]},{"id":"a7a917f5.de3bf8","type":"delay","z":"c0d5dea4.880a9","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":440,"y":700,"wires":[["9a0a1022.e97b68"]]},{"id":"78b5cf63.6417b","type":"ui_chart","z":"c0d5dea4.880a9","name":"Pressure","group":"b81ba18.34770e","order":11,"width":17,"height":6,"label":"Pressure","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"15","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"x":1200,"y":980,"wires":[["81c60e68.4addc"]]},{"id":"7a894093.a733b8","type":"ui_chart","z":"c0d5dea4.880a9","name":"Temperature - Fahrenheit","group":"b81ba18.34770e","order":12,"width":17,"height":6,"label":"Temperature - Fahrenheit","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"365","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"x":1470,"y":940,"wires":[["ede0294d.cb1c7"]]},{"id":"38745dab.ea67c2","type":"ui_text","z":"c0d5dea4.880a9","group":"b81ba18.34770e","order":10,"width":5,"height":1,"name":"","label":"Tx Power","format":"{{msg.payload.data}}","layout":"row-left","x":960,"y":700,"wires":[]},{"id":"715e79f1.f2f198","type":"ui_text","z":"c0d5dea4.880a9","group":"b81ba18.34770e","order":1,"width":5,"height":1,"name":"","label":"Manufacturer Name","format":"{{msg.payload.data}}","layout":"row-left","x":1000,"y":740,"wires":[]},{"id":"fead7d07.d51c88","type":"ui_text","z":"c0d5dea4.880a9","group":"b81ba18.34770e","order":6,"width":5,"height":1,"name":"","label":"Firmware Revision","format":"{{msg.payload.data}}","layout":"row-left","x":990,"y":780,"wires":[]},{"id":"97078a73.c88768","type":"ui_text","z":"c0d5dea4.880a9","group":"b81ba18.34770e","order":5,"width":5,"height":1,"name":"","label":"Serial Number","format":"{{msg.payload.data}}","layout":"row-left","x":980,"y":820,"wires":[]},{"id":"25350398.e5b4b4","type":"ui_text","z":"c0d5dea4.880a9","group":"b81ba18.34770e","order":3,"width":5,"height":1,"name":"","label":"Model Number","format":"{{msg.payload.data}}","layout":"row-left","x":980,"y":860,"wires":[]},{"id":"cacbb89f.dec4b8","type":"ui_text","z":"c0d5dea4.880a9","group":"b81ba18.34770e","order":8,"width":5,"height":1,"name":"","label":"Measurement Interval","format":"{{msg.payload.data}}","layout":"row-left","x":1000,"y":900,"wires":[]},{"id":"59b52dda.bc0584","type":"change","z":"c0d5dea4.880a9","name":"","rules":[{"t":"move","p":"payload.data","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1010,"y":940,"wires":[["3dd83ae6.3ea3be"]]},{"id":"9f5473e4.e02f08","type":"change","z":"c0d5dea4.880a9","name":"","rules":[{"t":"move","p":"payload.data","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1010,"y":980,"wires":[["78b5cf63.6417b","21404645.47dbc2"]]},{"id":"81c60e68.4addc","type":"subflow:35ad4fe4.069a3","z":"c0d5dea4.880a9","name":"","x":1350,"y":980,"wires":[["78b5cf63.6417b"]]},{"id":"ede0294d.cb1c7","type":"subflow:35ad4fe4.069a3","z":"c0d5dea4.880a9","name":"","x":1670,"y":940,"wires":[["7a894093.a733b8"]]},{"id":"3dd83ae6.3ea3be","type":"unit-converter","z":"c0d5dea4.880a9","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","roundOutputField":false,"outputFieldDecimals":"","name":"C to F Conversion","x":1230,"y":940,"wires":[["7a894093.a733b8","b47398af.6c1bc"]]},{"id":"b47398af.6c1bc","type":"mqtt out","z":"c0d5dea4.880a9","name":"Temperature - 91087","topic":"Temperature - 91039","qos":"","retain":"","broker":"6b8f56d7.82af78","x":1460,"y":900,"wires":[]},{"id":"21404645.47dbc2","type":"mqtt out","z":"c0d5dea4.880a9","name":"Pressure - 91039","topic":"Pressure - 91039","qos":"","retain":"","broker":"6b8f56d7.82af78","x":1270,"y":1040,"wires":[]},{"id":"803d9839.8c53b","type":"mqtt out","z":"c0d5dea4.880a9","name":"Battery - 91039","topic":"Battery - 91039","qos":"","retain":"","broker":"6b8f56d7.82af78","x":1010,"y":1140,"wires":[]},{"id":"84923153.a4594","type":"Generic BLE","localName":"5B-6D-27-49-C9-28","address":"5b:6d:27:49:c9:28","uuid":"5b6d2749c928","characteristics":[]},{"id":"b81ba18.34770e","type":"ui_group","name":"Sensor 91039","tab":"367ad238.21995e","order":3,"disp":true,"width":17,"collapse":false},{"id":"6b8f56d7.82af78","type":"mqtt-broker","name":"PI","broker":"127.0.0.1","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"home/temperature","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"367ad238.21995e","type":"ui_tab","name":"Pressure Sensors","icon":"dashboard","order":5,"disabled":false,"hidden":false}]

Well chaps, thanks for all the helpful replies, but we do seem to have gone off topic a little by going into the pro's and con's of differing boiler systems. In conclusion to my original request I have ordered a Sonoff TH16 with cylindrical sensor (DS18B20) and I'm going to try and get it to work by following the helpful advice posted on this topic.

Thank you all.

2 Likes

As a heating engineer there are many considerations as to what is best system for a given property. however, combi's are not the best answer in many cases.
Regarding the DS18B20 I am sure that it will do the job you want it to do. Be sure to include some hysteresis in your system to ensure the boiler, motorised valve and pump do not 'hunt' around a single set point. You could mount the sensor in short piece of 10 or 15 mm diameter copper tube flattened on one side to get better contact with the cylinder wall. Fill the gap between the copper tube and the cylinder and the copper tube and the sensor with thermal compound. Then put put insulation over the top of the sensor. If you have a cylinder with bonded on insulation then fill the hole over the sensor with spray foam. Finally please consider how fail safe your system is. You could consider keeping the old mechanical devices as a secondary cut out. The Sonoff devices are definitively not fail safe.

1 Like

If you find that you are not getting quick enough response due to the steel cylinder on the DS18B20 - then you can purchase this (which is what colin alluded to earlier - it is essentially the D18B20 from inside the steel probe let out into the wild.

If you want to continue using your TH16 - then you can just cut the end off that houses the Temp sensor and then bare the wires and mate them up to this - then mount to the tank as per Colins advice above.

https://www.aliexpress.com/wholesale?catId=0&initiative_id=AS_20210404160258&origin=y&SearchText=ds18b20+temperature+sensor

Crsig

Thanks for the helpful replies chaps. I did what Bobcroft suggested and seem to be getting pretty good temperature readings (comparable to the old mechanical one anyway). Just need to wire it into the heating system now. Will keep the old sensor in series in the circuit as a fail safe in case the Sonoff packs up.
Temp sensor

I have organised all my 'improvements' to the system such that if the Pi running it is powered off then it reverts to using the room thermostats. So, for example, I have normally closed relays in series with the room stats.

Iv'e done something similar by incorporating a change over switch which switches out my Sonoff room stat and switches back in my original non smart stat.

How long a cable do you have from the sensor back to the control. My hot water tank is a loong way from any power and the boiler controls. I invested in an expensive wireless (battery operated) tank thermostat to get round the problem. I am not a big fan of mains powered devices round the house (nor is SWMBO)

I use Wemos D1 Minis with connected DS18B20 sensors for measuring remote temperatures. That does require a mains connection, but a basic USB phone charger is all it needs.

I'm quite lucky as I have power next to my tank.