[{"data":1,"prerenderedAt":481},["ShallowReactive",2],{"post-\u002Fblog\u002F2022\u002Fonewire-immersed":3},{"id":4,"title":5,"body":6,"categories":463,"date":469,"description":35,"extension":470,"image":471,"meta":472,"navigation":111,"path":477,"seo":478,"stem":479,"__hash__":480},"blog\u002Fblog\u002F2022\u002Fonewire-immersed.md","In The Heat Of The Night - 1-Wire Temperature Sensor Directly Immersed",{"type":7,"value":8,"toc":460},"minimark",[9,21,30,37,42,50,55,58,63,66,71,401,406,411,414,417,425,428,431,434,437,442,456],[10,11,12,13,20],"p",{},"As always, I want to first quickly explain, what brought me to that project... If you look around in different stores and on aliexpress, you can find a ton of 1-wire temperature sensors with stainless steel sleeves. But they are all 6 mm or the are wrapped with a shrinking tube, that avoids to use it as a immersed temperature probe. What I needed was a sleeve with 5 mm (or 5.2 mm) diameter and grooved at the end to be used in standard probe holes like with this ",[14,15,19],"a",{"href":16,"rel":17},"https:\u002F\u002Fwww.pumpendiscounter.de\u002FReigaGbR-p9174h1310s1312-Kugelhahn-1-IG-DN-25.html",[18],"nofollow","ball valve",".",[10,22,23,24,29],{},"The tricky point is, that the default ",[14,25,28],{"href":26,"rel":27},"https:\u002F\u002Fdatasheets.maximintegrated.com\u002Fen\u002Fds\u002FDS18B20.pdf",[18],"DS18B20"," in TO-92 case are a bit to fat, to fit in a 5 mm tube. But the DB18B20U is the starving brother and thin enough to fit in, if placed on an appropriate PCB (0,6mm). So, I decided to design one and give it a try...",[10,31,32],{},[33,34],"img",{"alt":35,"src":36},"","\u002Fimages\u002Fblog\u002F2022\u002F10\u002Fimage-12-1024x510.png",[10,38,39],{},[33,40],{"alt":35,"src":41},"\u002Fimages\u002Fblog\u002F2022\u002F10\u002Fimage-10.png",[10,43,44,45,20],{},"And after only a few days, my order from PBCway arrived... You will find it on ",[14,46,49],{"href":47,"rel":48},"https:\u002F\u002Fgithub.com\u002Fthe78mole\u002FOnewire-AGFW-compatible-tempsensor",[18],"GitHub",[10,51,52],{},[33,53],{"alt":35,"src":54},"\u002Fimages\u002Fblog\u002F2022\u002F10\u002Fimage-11-1024x850.png",[10,56,57],{},"It only took a few minutes to solder the components...",[10,59,60],{},[33,61],{"alt":35,"src":62},"\u002Fimages\u002Fblog\u002F2022\u002F10\u002Fimage-13-1024x310.png",[10,64,65],{},"And after connecting it to some ESP32 that was lying around and adding the config to ESPhome, the sensor quickly showed up in ESPhome.",[10,67,68],{},[33,69],{"alt":35,"src":70},"\u002Fimages\u002Fblog\u002F2022\u002F10\u002Fimage-14-1024x576.png",[72,73,77],"pre",{"className":74,"code":75,"language":76,"meta":35,"style":35},"language-yaml shiki shiki-themes github-light github-dark","esphome:\n  name: ow-test32\n\nesp32:\n  board: esp32dev\n  framework:\n    type: arduino\n\n# Enable logging\nlogger:\n\n# Enable Home Assistant API\napi:\n\nota:\n  password: \"somepass\"\n\nwifi:\n  ssid: !secret wifi_ssid\n  password: !secret wifi_password\n\n  # Enable fallback hotspot (captive portal) in case wifi connection fails\n  ap:\n    ssid: \"Ow-Test32 Fallback Hotspot\"\n    password: \"some-other-pass\"\n\ncaptive_portal:\n\ndallas:\n  - pin: 13\n    update_interval: 5s\n\n# Individual sensors\nsensor:\n  - platform: dallas\n    address: 0x30000001243bfc28\n    name: \"Test OWire\"\n","yaml",[78,79,80,93,106,113,121,132,140,151,156,163,171,176,182,190,195,203,214,219,227,242,254,259,265,273,284,295,300,308,313,321,336,347,352,358,366,379,390],"code",{"__ignoreMap":35},[81,82,85,89],"span",{"class":83,"line":84},"line",1,[81,86,88],{"class":87},"s9eBZ","esphome",[81,90,92],{"class":91},"sVt8B",":\n",[81,94,96,99,102],{"class":83,"line":95},2,[81,97,98],{"class":87},"  name",[81,100,101],{"class":91},": ",[81,103,105],{"class":104},"sZZnC","ow-test32\n",[81,107,109],{"class":83,"line":108},3,[81,110,112],{"emptyLinePlaceholder":111},true,"\n",[81,114,116,119],{"class":83,"line":115},4,[81,117,118],{"class":87},"esp32",[81,120,92],{"class":91},[81,122,124,127,129],{"class":83,"line":123},5,[81,125,126],{"class":87},"  board",[81,128,101],{"class":91},[81,130,131],{"class":104},"esp32dev\n",[81,133,135,138],{"class":83,"line":134},6,[81,136,137],{"class":87},"  framework",[81,139,92],{"class":91},[81,141,143,146,148],{"class":83,"line":142},7,[81,144,145],{"class":87},"    type",[81,147,101],{"class":91},[81,149,150],{"class":104},"arduino\n",[81,152,154],{"class":83,"line":153},8,[81,155,112],{"emptyLinePlaceholder":111},[81,157,159],{"class":83,"line":158},9,[81,160,162],{"class":161},"sJ8bj","# Enable logging\n",[81,164,166,169],{"class":83,"line":165},10,[81,167,168],{"class":87},"logger",[81,170,92],{"class":91},[81,172,174],{"class":83,"line":173},11,[81,175,112],{"emptyLinePlaceholder":111},[81,177,179],{"class":83,"line":178},12,[81,180,181],{"class":161},"# Enable Home Assistant API\n",[81,183,185,188],{"class":83,"line":184},13,[81,186,187],{"class":87},"api",[81,189,92],{"class":91},[81,191,193],{"class":83,"line":192},14,[81,194,112],{"emptyLinePlaceholder":111},[81,196,198,201],{"class":83,"line":197},15,[81,199,200],{"class":87},"ota",[81,202,92],{"class":91},[81,204,206,209,211],{"class":83,"line":205},16,[81,207,208],{"class":87},"  password",[81,210,101],{"class":91},[81,212,213],{"class":104},"\"somepass\"\n",[81,215,217],{"class":83,"line":216},17,[81,218,112],{"emptyLinePlaceholder":111},[81,220,222,225],{"class":83,"line":221},18,[81,223,224],{"class":87},"wifi",[81,226,92],{"class":91},[81,228,230,233,235,239],{"class":83,"line":229},19,[81,231,232],{"class":87},"  ssid",[81,234,101],{"class":91},[81,236,238],{"class":237},"szBVR","!secret",[81,240,241],{"class":104}," wifi_ssid\n",[81,243,245,247,249,251],{"class":83,"line":244},20,[81,246,208],{"class":87},[81,248,101],{"class":91},[81,250,238],{"class":237},[81,252,253],{"class":104}," wifi_password\n",[81,255,257],{"class":83,"line":256},21,[81,258,112],{"emptyLinePlaceholder":111},[81,260,262],{"class":83,"line":261},22,[81,263,264],{"class":161},"  # Enable fallback hotspot (captive portal) in case wifi connection fails\n",[81,266,268,271],{"class":83,"line":267},23,[81,269,270],{"class":87},"  ap",[81,272,92],{"class":91},[81,274,276,279,281],{"class":83,"line":275},24,[81,277,278],{"class":87},"    ssid",[81,280,101],{"class":91},[81,282,283],{"class":104},"\"Ow-Test32 Fallback Hotspot\"\n",[81,285,287,290,292],{"class":83,"line":286},25,[81,288,289],{"class":87},"    password",[81,291,101],{"class":91},[81,293,294],{"class":104},"\"some-other-pass\"\n",[81,296,298],{"class":83,"line":297},26,[81,299,112],{"emptyLinePlaceholder":111},[81,301,303,306],{"class":83,"line":302},27,[81,304,305],{"class":87},"captive_portal",[81,307,92],{"class":91},[81,309,311],{"class":83,"line":310},28,[81,312,112],{"emptyLinePlaceholder":111},[81,314,316,319],{"class":83,"line":315},29,[81,317,318],{"class":87},"dallas",[81,320,92],{"class":91},[81,322,324,327,330,332],{"class":83,"line":323},30,[81,325,326],{"class":91},"  - ",[81,328,329],{"class":87},"pin",[81,331,101],{"class":91},[81,333,335],{"class":334},"sj4cs","13\n",[81,337,339,342,344],{"class":83,"line":338},31,[81,340,341],{"class":87},"    update_interval",[81,343,101],{"class":91},[81,345,346],{"class":104},"5s\n",[81,348,350],{"class":83,"line":349},32,[81,351,112],{"emptyLinePlaceholder":111},[81,353,355],{"class":83,"line":354},33,[81,356,357],{"class":161},"# Individual sensors\n",[81,359,361,364],{"class":83,"line":360},34,[81,362,363],{"class":87},"sensor",[81,365,92],{"class":91},[81,367,369,371,374,376],{"class":83,"line":368},35,[81,370,326],{"class":91},[81,372,373],{"class":87},"platform",[81,375,101],{"class":91},[81,377,378],{"class":104},"dallas\n",[81,380,382,385,387],{"class":83,"line":381},36,[81,383,384],{"class":87},"    address",[81,386,101],{"class":91},[81,388,389],{"class":334},"0x30000001243bfc28\n",[81,391,393,396,398],{"class":83,"line":392},37,[81,394,395],{"class":87},"    name",[81,397,101],{"class":91},[81,399,400],{"class":104},"\"Test OWire\"\n",[10,402,403],{},[33,404],{"alt":35,"src":405},"\u002Fimages\u002Fblog\u002F2022\u002F10\u002Fimage-16.png",[10,407,408],{},[33,409],{"alt":35,"src":410},"\u002Fimages\u002Fblog\u002F2022\u002F11\u002Fimage-2-1024x576.png",[10,412,413],{},"That was easy and I already found an appropriate sensor cable and ordered it already. For grooving, I need to build me some tools and I'll share that information.",[10,415,416],{},"Update: I'll contact another sensor supplier and ask, if they can provide this sensor.",[10,418,419,420,20],{},"The best fit steel tubes can be found on ",[14,421,424],{"href":422,"rel":423},"https:\u002F\u002Fde.aliexpress.com\u002Fitem\u002F33062078044.html",[18],"aliexpress",[10,426,427],{},"If you are interested to get some of the PCBs for testing or fully assembled sensors, please let me know :-)",[10,429,430],{},"I'll provide an update soon.",[10,432,433],{},"Happy digging!",[435,436],"hr",{},[438,439,441],"h2",{"id":440},"kommentare-comments","Kommentare \u002F Comments",[10,443,444,445,450,451,20],{},"Hast du Fragen oder Anmerkungen zu diesem Artikel? ",[14,446,449],{"href":447,"rel":448},"https:\u002F\u002Fgithub.com\u002Fthe78mole-blog\u002Fthe78mole-blog.github.io\u002Fissues\u002Fnew?title=Kommentar+zu%3A+onewire-immersed&labels=comment",[18],"Erstelle ein GitHub Issue"," oder starte eine ",[14,452,455],{"href":453,"rel":454},"https:\u002F\u002Fgithub.com\u002Fthe78mole-blog\u002Fthe78mole-blog.github.io\u002Fdiscussions",[18],"Diskussion",[457,458,459],"style",{},"html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":35,"searchDepth":95,"depth":95,"links":461},[462],{"id":440,"depth":95,"text":441},[464,465,466,467,468],"ESP32","ESPhome","Heating","Home Assistant","Smart Home","2022-10-31","md","\u002Fimages\u002Fblog\u002F2022\u002F10\u002Fimage-13.png",{"tags":473},[474,475,476],"immersive","onewire","sleeve","\u002Fblog\u002F2022\u002Fonewire-immersed",{"title":5,"description":35},"blog\u002F2022\u002Fonewire-immersed","j5TLmI75cd999s-B-GuDlsI_ceH5Ulvo59A1ShERCv0",1777286693836]