{"id":2722,"date":"2022-07-17T17:08:00","date_gmt":"2022-07-17T16:08:00","guid":{"rendered":"https:\/\/tybou.eu\/wordpress\/?p=2722"},"modified":"2023-11-18T16:13:17","modified_gmt":"2023-11-18T15:13:17","slug":"ajout-capteur-humidite-temperature-dans-module-sonoff-basic","status":"publish","type":"post","link":"https:\/\/tybou.eu\/wordpress\/blog\/2022\/07\/17\/ajout-capteur-humidite-temperature-dans-module-sonoff-basic\/","title":{"rendered":"Capteur hum.\/temp. dans Sonoff Basic"},"content":{"rendered":"\n<p>Un module Sonoff Basic est reflash\u00e9 avec Tasmota (<a href=\"https:\/\/tybou.eu\/wordpress\/blog\/2020\/10\/02\/flashage-sonoff-basic-tasmota\/\">d\u00e9tails ici<\/a>) et un capteur de temp\u00e9rature lui est ajout\u00e9. L&rsquo;id\u00e9e d&rsquo;origine est de l&rsquo;utilis\u00e9 pour permettre un passage \u00ab\u00a0int\u00e9ligent\u00a0\u00bb d&rsquo;une VMC en vitesse rapide via un script dans l&rsquo;appli de domotique (Domoticz). Plus de d\u00e9tails <a href=\"https:\/\/tybou.eu\/wordpress\/blog\/2022\/05\/17\/capteur-temperature-et-humidite-dans-vmc\/\">ici<\/a>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220716_182745-Medium.jpg\" alt=\"\" class=\"wp-image-2709\" width=\"-130\" height=\"-184\" srcset=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220716_182745-Medium.jpg 542w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220716_182745-Medium-212x300.jpg 212w\" sizes=\"(max-width: 542px) 100vw, 542px\" \/><figcaption class=\"wp-element-caption\">Le capteur de temp\u00e9rature DHT22 AM2302<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220716_182813-Medium.jpg\" alt=\"\" class=\"wp-image-2710\" width=\"-107\" height=\"-197\" srcset=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220716_182813-Medium.jpg 418w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220716_182813-Medium-163x300.jpg 163w\" sizes=\"(max-width: 418px) 100vw, 418px\" \/><figcaption class=\"wp-element-caption\">Avec des fils \u00ab\u00a0Dupont\u00a0\u00bb pour la connexion<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220217-Medium.jpg\" alt=\"\" class=\"wp-image-2711\" width=\"-141\" height=\"-124\" srcset=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220217-Medium.jpg 867w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220217-Medium-300x266.jpg 300w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220217-Medium-768x680.jpg 768w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220217-Medium-600x531.jpg 600w\" sizes=\"(max-width: 867px) 100vw, 867px\" \/><figcaption class=\"wp-element-caption\">Vue de dessus du connecteur (celui en bas de la photo) qui a \u00e9t\u00e9 utilis\u00e9 pour le reflashage.<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220307-Medium.jpg\" alt=\"\" class=\"wp-image-2712\" width=\"-122\" height=\"-112\" srcset=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220307-Medium.jpg 828w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220307-Medium-300x278.jpg 300w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220307-Medium-768x712.jpg 768w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_220307-Medium-600x557.jpg 600w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><figcaption class=\"wp-element-caption\">Vue de dessous.<\/figcaption><\/figure>\n<\/div>\n\n\n<p>L&rsquo;entr\u00e9e IO02 est utilis\u00e9e pour transmettre les infos depuis le capteur de temp\u00e9rature\/hygrom\u00e9trie. Une r\u00e9sistance de tirage de 1k Ohms au +3v3 est ajout\u00e9e.<\/p>\n\n\n\n<p>Afin de transformer ce module qui, nativement, alimente un p\u00e9riph\u00e9rique en 220V, vers un module qui effectue une commande de contact \u00ab\u00a0sec\u00a0\u00bb, les sorties du relais sont coup\u00e9es du 220V pour \u00eatre \u00ab\u00a0libres\u00a0\u00bb et ainsi r\u00e9aliser le contact attendu (ici, passage en vitesse rapide de la VMC).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223324-Medium.jpg\" alt=\"\" class=\"wp-image-2714\" width=\"-126\" height=\"-106\" srcset=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223324-Medium.jpg 915w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223324-Medium-300x252.jpg 300w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223324-Medium-768x645.jpg 768w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223324-Medium-600x504.jpg 600w\" sizes=\"(max-width: 915px) 100vw, 915px\" \/><figcaption class=\"wp-element-caption\">Coupure des pistes cot\u00e9 recto du circuit.<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223331-Medium.jpg\" alt=\"\" class=\"wp-image-2715\" width=\"-37\" height=\"-35\" srcset=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223331-Medium.jpg 790w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223331-Medium-300x292.jpg 300w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223331-Medium-768x747.jpg 768w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_223331-Medium-600x583.jpg 600w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><figcaption class=\"wp-element-caption\">Coupure des pistes cot\u00e9 verso du circuit.<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"579\" src=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_231235-Medium-1024x579.jpg\" alt=\"\" class=\"wp-image-2719\" srcset=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_231235-Medium-1024x579.jpg 1024w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_231235-Medium-300x170.jpg 300w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_231235-Medium-768x434.jpg 768w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_231235-Medium-600x339.jpg 600w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_231235-Medium.jpg 1358w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Platine termin\u00e9e de dessous (avec r\u00e9sistance de tirage).<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"408\" height=\"768\" src=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_224800-Medium.jpg\" alt=\"\" class=\"wp-image-2718\" srcset=\"https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_224800-Medium.jpg 408w, https:\/\/tybou.eu\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20220717_224800-Medium-159x300.jpg 159w\" sizes=\"auto, (max-width: 408px) 100vw, 408px\" \/><figcaption class=\"wp-element-caption\">Et une fois referm\u00e9, pr\u00eat \u00e0 \u00eatre install\u00e9 !<\/figcaption><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Ajout capteur d&rsquo;humidit\u00e9 et temp\u00e9rature dans un module flash\u00e9 Tasmota.<\/p>\n","protected":false},"author":1,"featured_media":2771,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102,123,74,128,132],"tags":[],"class_list":["post-2722","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-batiment","category-electricite-batiment","category-electronique","category-regulation","category-vmc"],"_links":{"self":[{"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/posts\/2722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/comments?post=2722"}],"version-history":[{"count":0,"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/posts\/2722\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/media\/2771"}],"wp:attachment":[{"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/media?parent=2722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/categories?post=2722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tybou.eu\/wordpress\/wp-json\/wp\/v2\/tags?post=2722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}