{"id":332,"date":"2020-02-23T12:14:11","date_gmt":"2020-02-23T12:14:11","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/domotiser-son-chauffage-de-salle-de-bains-controle-par-jeedom"},"modified":"2024-04-21T13:17:25","modified_gmt":"2024-04-21T11:17:25","slug":"domotiser-son-chauffage-de-salle-de-bains-controle-par-jeedom","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/de\/domotiser-son-chauffage-de-salle-de-bains-controle-par-jeedom","title":{"rendered":"Domotisieren Sie Ihre Jeedom-gesteuerte Badezimmerheizung (mit einem Sonoff Basic R2)"},"content":{"rendered":"<h2><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-326\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/20200223_182855.jpg\" alt=\"20200223 182855\" width=\"800\" height=\"450\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/20200223_182855.jpg 800w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/20200223_182855-600x338.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/20200223_182855-300x169.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/20200223_182855-768x432.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/h2>\n<p><em>Anmerkung: ein <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/domotiser-son-chauffage-de-salle-de-bains-controle-par-jeedom-v2-avec-basicr3\">V2 dieses Tutorials<\/a> Er wurde mit einem Sonoff Basic R3 hergestellt.<\/em><\/p>\n<h2>Ziele:<\/h2>\n<p>Zu geringeren Kosten (innerhalb von 10 \u20ac) + Heizkosten (16 \u20ac) wollte ich die Heizung des Badezimmers domotisieren f\u00fcr:<\/p>\n<ul>\n<li>In der Lage sein, die Heizung \u00fcber Jeedom auszul\u00f6sen (oder zu stoppen) (und somit \u00fcber Google Home, Alexa, Touchscreen, Telefon\u2026 steuerbar)<\/li>\n<li>In der Lage sein, die Heizung \u00fcber die Taste am Sonoff auszul\u00f6sen (oder zu stoppen)<\/li>\n<li>Automatisches Stoppen der Heizung bei einer bestimmten Temperatur und Verhinderung von Jeedom, um Informationen auszul\u00f6sen<\/li>\n<li>Nach einer bestimmten Zeit automatisch die Heizung abstellen und Jeedom warnen, um eine Information auszul\u00f6sen<\/li>\n<li>Maximaler Versuch, die Heizung autonom zu machen (unabh\u00e4ngig davon, ob sie auch ohne Wi-Fi oder Jeedom funktioniert)<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h2>Notwendige Ausr\u00fcstung:<\/h2>\n<ul>\n<li>Eine Heizung, die beim Einschalten beginnt, habe ich bestellt <a href=\"https:\/\/amzn.to\/38RjsHn\" target=\"_self\" rel=\"noopener noreferrer\">dieser<\/a> (<strong><em>15.99\u20ac<\/em><\/strong>)<\/li>\n<\/ul>\n<p><a href=\"https:\/\/amzn.to\/38RjsHn\" target=\"_self\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-327\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_D%C3%A9tails_des_commandes.png\" alt=\"Screenshot 2020 02 23 Bestelldetails\" width=\"401\" height=\"102\"><\/a><\/p>\n<ul>\n<li>Ein Sonoff Basic R2 (<em><strong>4.16\u20ac<\/strong><\/em>), bestellte ich <a href=\"http:\/\/bgd.by\/2erhvf\">dieser<\/a><\/li>\n<li>Temperatur-\/Feuchtigkeitssonde, bestellt <a href=\"https:\/\/www.banggood.com\/custlink\/3mDvzmT1DF\">die<\/a><\/li>\n<li>So Flashen Sie den Sonoff und installieren Sie EspEasy<\/li>\n<li>Jeedom\/Plugin ESPEasy<\/li>\n<\/ul>\n<h1><\/h1>\n<h1>Durchf\u00fchrung<\/h1>\n<h2><\/h2>\n<h2>Schritt 1: Flashing<\/h2>\n<p>Flashen Sie den Sonoff, daf\u00fcr gibt es Hunderte von Tutorials, ich werde keinen mehr daf\u00fcr machen. Es ist lediglich darauf hinzuweisen, dass beim Flashen die Datei ESP_Easy_mega-20200222_normal_ESP8285_1M.bin verwendet werden muss, da das verwendete Sonoff-Modul mit einem ESP8285 ausgestattet ist.<\/p>\n<p>Um Ihnen zu helfen, k\u00f6nnen Sie zusehen<a href=\"http:\/\/jeedom.sigalou-domotique.fr\/flasher-le-sonoff-4ch-pro-r2\"> dieses Tutorial<\/a> oder <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/flasher-le-sonoff-dual-r2\">dieses Tutorial<\/a> oder <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/flasher-le-sonoff-pow\">dieses Tutorial<\/a> was ich f\u00fcr andere, weniger dokumentierte Module getan habe<\/p>\n<h2><\/h2>\n<h2>Schritt 2: Verbinden Sie den Sonoff mit WLAN<\/h2>\n<p>Verbinden <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/flash-sonoff-reseau-wifi-flashage\">Sonoff ins lokale Netzwerk einbinden und dann in Jeedom integrieren<\/a><\/p>\n<h2><\/h2>\n<h2>Schritt 3: Schwei\u00dfen des Temperaturf\u00fchlers<\/h2>\n<ul>\n<li>Ground-auf-Ground-Korridor <span style=\"color: #ffffff; background-color: #000000;\">(schwarzer Faden)<\/span><\/li>\n<li>Vc-auf-Vc-Klemmen <span style=\"background-color: #ff0000;\">(roter Faden)<\/span><\/li>\n<li>Daten-Knoten auf Tx <span style=\"background-color: #ffcc00;\">(Gelber Faden)<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-328\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/connectsonoffbasicr2.png\" alt=\"connectsonoffbasicr2\" width=\"290\" height=\"504\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/connectsonoffbasicr2.png 290w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/connectsonoffbasicr2-173x300.png 173w\" sizes=\"auto, (max-width: 290px) 100vw, 290px\" \/><\/p>\n<h2><\/h2>\n<h2>Schritt 4: Deaktivieren der seriellen Schnittstelle<\/h2>\n<p>Deaktivieren Sie dazu die serielle Schnittstelle im ESPEasy-Config, um die Terminals Rx und Tx abzurufen.<\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-329\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_Espeasy_-_Jeedom.png\" alt=\"Screenshot 2020 02 23 Espeasy Jeedom\" width=\"321\" height=\"102\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_Espeasy_-_Jeedom.png 321w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_Espeasy_-_Jeedom-300x95.png 300w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><\/h2>\n<h2><\/h2>\n<h2>Schritt 5: Konfigurieren von ESPEasy-Ger\u00e4ten<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-330\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_SonoffSalleBain.png\" alt=\"Screenshot 2020 02 23 SonoffSalleBain\" width=\"1080\" height=\"235\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_SonoffSalleBain.png 1080w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_SonoffSalleBain-600x131.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_SonoffSalleBain-300x65.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_SonoffSalleBain-1024x223.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_SonoffSalleBain-768x167.png 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/p>\n<h2>Schritt 6: Regeln konfigurieren<\/h2>\n<p>F\u00fcr diesen Schritt k\u00f6nnen Sie Ihre Temperaturwerte (25\u00b0C im Beispiel) oder Timer (1h=3600s im Beispiel)<\/p>\n<p><samp>Sonde#Temperature do<\/samp><br \/>\n<samp> if [Sonde#Temperatur]&gt;25 do<\/samp><br \/>\n<samp> if [Saft#Saft]=1<\/samp><br \/>\n<samp> gpio,13,1<\/samp><br \/>\n<samp> gpio,12,0<\/samp><br \/>\n<samp> timerSet,1,0<\/samp><br \/>\n<samp> endif<\/samp><br \/>\n<samp> endif<\/samp><br \/>\n<samp>Endon<\/samp><\/p>\n<p><samp>On button#button do<\/samp><br \/>\n<samp> if [Button#button]=1<\/samp><br \/>\n<samp> gpio,12,1<\/samp><br \/>\n<samp> timerSet,1,3600<\/samp><br \/>\n<samp> else<\/samp><br \/>\n<samp> gpio,12,0<\/samp><br \/>\n<samp> timerSet,1,0<\/samp><br \/>\n<samp> endif<\/samp><br \/>\n<samp>Endon<\/samp><\/p>\n<p><samp>Wir saften#Saft do<\/samp><br \/>\n<samp> if [Saft#Saft]=1<\/samp><br \/>\n<samp> gpio,13,0<\/samp><br \/>\n<samp> timerSet,1,3600<\/samp><br \/>\n<samp> else<\/samp><br \/>\n<samp> gpio,13,1<\/samp><br \/>\n<samp> timerSet,1,0<\/samp><br \/>\n<samp> endif<\/samp><br \/>\n<samp>Endon<\/samp><\/p>\n<p><samp>on System#Boot do<\/samp><br \/>\n<samp> gpio,12,0<\/samp><br \/>\n<samp> gpio,13,1<\/samp><br \/>\n<samp>Endon<\/samp><\/p>\n<p><samp>On Rules#Timer=1 do <\/samp><br \/>\n<samp> gpio,13,1<\/samp><br \/>\n<samp> gpio,12,0<\/samp><br \/>\n<samp>Endon<\/samp><\/p>\n<h2>Schritt 7: Jeedom einrichten<\/h2>\n<p>In Jeedom k\u00f6nnen Sie im ESPEasy-Plugin die Temperaturinformationen und den Status Ihres Relais abrufen und einen Ein-\/Aus-Befehl hinzuf\u00fcgen, um das Relais zu steuern.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-331\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_Espeasy_-_Jeedom1.png\" alt=\"Screenshot 2020 02 23 Espeasy Jeedom1\" width=\"797\" height=\"352\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_Espeasy_-_Jeedom1.png 797w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_Espeasy_-_Jeedom1-600x265.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_Espeasy_-_Jeedom1-300x132.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-23_Espeasy_-_Jeedom1-768x339.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/p>\n<h2>Operation abgeschlossen<\/h2>\n<p>Verwenden Sie <a href=\"https:\/\/community.jeedom.com\/t\/tuto-domotiser-le-chauffage-de-sa-salle-de-bains\/18648\" target=\"_self\" rel=\"noopener noreferrer\">Diese Diskussion<\/a> f\u00fcr jeden Antrag auf Pr\u00e4zisierung, Unterst\u00fctzung oder Hilfe:<\/p>\n<p><a href=\"https:\/\/community.jeedom.com\/t\/tuto-domotiser-le-chauffage-de-sa-salle-de-bains\/18648\">https:\/\/community.jeedom.com\/t\/tuto-domotiser-le-chauffage-de-sa-salle-de-bains\/18648<br \/>\n<\/a><\/p>\n<h2>Interessante Links:<\/h2>\n<ul>\n<li>Tuto de Seb auf <a href=\"https:\/\/domotic-hobby.com\/tutotial-1-thermostat-for-small-radiator\">https:\/\/domotic-hobby.com\/tutotial-1-thermostat-for-small-radiator<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Anmerkung: Ein V2 dieses Tutorials wurde mit einem Sonoff Basic R3 realisiert Ziele: Zu niedrigeren Kosten (innerhalb von 10 \u20ac) + Heizkosten (16 \u20ac) wollte ich die Heizung des Badezimmers domotisieren f\u00fcr: In der Lage sein, die Heizung \u00fcber Jeedom auszul\u00f6sen (oder zu stoppen) (und daher von Google Home bestellt werden kann, [...]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,23],"tags":[],"class_list":["post-332","post","type-post","status-publish","format-standard","hentry","category-domotique","category-jeedom-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/tags?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}