{"id":258,"date":"2021-03-14T13:48:07","date_gmt":"2021-03-14T13:48:07","guid":{"rendered":"https:\/\/www.sydspost.nl\/?p=258"},"modified":"2024-03-19T13:47:19","modified_gmt":"2024-03-19T13:47:19","slug":"brink-renovent-wtw-aansturen-m-b-v-domoticz","status":"publish","type":"post","link":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/","title":{"rendered":"Brink Renovent WTW aansturen m.b.v. Domoticz"},"content":{"rendered":"Dit project heeft tot doel om het Brink Renovent Large WTW (Warmte terug win)-systeem in mijn woning te integreren in Domoticz en de standen 1 en 3 aan te sturen, dit afhankelijk van of er iemand gebruik maakt van de badkamers of het toilet.\n\n<!-- \/wp:post-content -->\n\n<!-- wp:paragraph -->\n\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-269 alignright\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1.jpg\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1.jpg 250w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1-150x150.jpg 150w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1-50x50.jpg 50w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/>In de berging van mijn woning hangt een WTW systeem van de firma Brink, de Brink Renovent Large. Dit WTW-systeem kent 3 standen, namelijk:\n<ol>\n \t<li>Laag, 1100 toeren<\/li>\n \t<li>Medium, 2200 toeren<\/li>\n \t<li>Hoog, 3300 toeren<\/li>\n<\/ol>\nStandaard draait het ventilatiesysteem continue op de laagste stand, 1100 toeren. Echter, als in \u00e9\u00e9n van de badkamers of in het toilet de verlichting aangezet wordt, wordt automatisch ook de ventilatie op de hoogste stand gezet op stand 3. 3300 toeren. Voorheen werkte dit via een aangesloten SAIX10 van Eaton Holec, en werd de besturing gedaan door het domoticasysteem HomeControlBox via het A10\/X10 protocol over het elektriciteitsnet. Aangezien ik dit veroudere domoticasysteem aan het uitfaseren ben, en vervang door Domoticz oplossingen kwam dit project op mijn pad.\n\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n\n<img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-260 alignleft\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/1200px-Perilex_box_diagram.svg_-300x243.png\" alt=\"\" width=\"300\" height=\"243\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/1200px-Perilex_box_diagram.svg_-300x243.png 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/1200px-Perilex_box_diagram.svg_-1024x830.png 1024w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/1200px-Perilex_box_diagram.svg_-768x623.png 768w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/1200px-Perilex_box_diagram.svg_.png 1200w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>De Brink Renovent large zit middels een Perilex stekker aangesloten op het lichtnet. Hierbij geldt dat als er 220v staat op L1, dan schakelt het ventilatiesysteem op de laagste stand. Staat er 220v op L2 dan schakelt het ventilatiesysteem en L3 op de hoogste stand. Normaliter worden de standen L2 en L3 middels een meer-standen schakelaar in de badkamer geregeld. Maar zoals gezegd, in mijn woning heb ik dat middels domotica geregeld.\n\n<img loading=\"lazy\" decoding=\"async\" class=\" wp-image-263 alignright\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/WTW-300x254.jpg\" alt=\"\" width=\"297\" height=\"251\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/WTW-300x254.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/WTW.jpg 711w\" sizes=\"auto, (max-width: 297px) 100vw, 297px\" \/>Ter vervanging van de SAIX10 module welke achter het Perilex-stopcontact ingebouwd zat, heb ik nu gekozen voor een SonOff Basic. De SonOff Basic krijgt z&#8217;n voeding uit het L contact en de N contact van de 5-voudige aansluitdraad van de Brink Renovent Large en zijn afgetapt van de schroefcontacten (X11-1 t\/m X11-6) op de printplaat van de Brink Renovent. De L Output draad van de SonOff Basic is aangesloten op het schroefcontact van de L3 ingang op de printboard, en zorgt bij inschakeling van de SonOff Basic ervoor dat het ventilatiesysteem op Stand 3. 3300 toeren komt te staan. Schakelt de SonOff Basic uit, dan gaat het ventilatiesysteem terug naar Stand 1. 1100 toeren.\n\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n\nBenodigdheden:\n\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n\nPinout:\n<table>\n<tbody>\n<tr>\n<td width=\"201\">SonOff Basic<\/td>\n<td width=\"201\">Brink Renovent HR<\/td>\n<\/tr>\n<tr>\n<td width=\"201\">L Input<\/td>\n<td width=\"201\">L (X11-3)<\/td>\n<\/tr>\n<tr>\n<td width=\"201\">N Input<\/td>\n<td width=\"201\">N (X11-2)<\/td>\n<\/tr>\n<tr>\n<td width=\"201\">L Output<\/td>\n<td width=\"201\">L1 (X11-6)<\/td>\n<\/tr>\n<tr>\n<td width=\"201\">N Output<\/td>\n<td width=\"201\">Niet aangesloten<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- wp:paragraph -->\n\nMontage:\n\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n\nDe SonOff Basic heb ik middels korte stukjes tweeling snoer aangesloten conform de Pinout zoals die hierboven staat beschreven. Ik laat de SonOff Basic gewoon in de ruimte tussen de printplaat en de kast van de Brink Renovent hangen. De behuizing is immers helemaal van kunststof en kan geen sluiting veroorzaken.\n\nOm de SonOff Basic te kunnen plaatsen kun je de voorfront van de Brink Renovent afschroeven met een lange torx-schroevendraaier. Tussen de printplaat en de buitenwand van de Brink Renovent zit genoeg ruimte om de schroeven van de schroevenklem op de printplaat los- en vast te draaien met een klein schroevendraaiertje. Je hoeft dus niets in- en uit te bouwen.\n\nStappenplan:\n\nStap 1. De SonOff basic geflashed met Tasmota conform de beschrijving elders op mijn site\n<ul>\n \t<li><a href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/13\/sonoff-basic-flashen-met-tasmota\/\">https:\/\/www.sydspost.nl\/index.php\/2021\/03\/13\/sonoff-basic-flashen-met-tasmota\/<\/a><\/li>\n<\/ul>\nStap 2. Maak een virtuele sensor aan binnen Domoticz\n\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-264\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-300x223.jpg\" alt=\"\" width=\"470\" height=\"349\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-300x223.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie.jpg 436w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/>\n<table>\n<tbody>\n<tr>\n<td width=\"138\">Label<\/td>\n<td width=\"249\">Waarde<\/td>\n<td width=\"217\">Doel<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Naam<\/td>\n<td width=\"249\">Ventilatie<\/td>\n<td width=\"217\">Zinvolle naam<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Schakelaar type<\/td>\n<td width=\"249\">On\/Off<\/td>\n<td width=\"217\"><\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Schakelaar icoon<\/td>\n<td width=\"249\">Fan<\/td>\n<td width=\"217\"><\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Inschakelvertraging<\/td>\n<td width=\"249\">0<\/td>\n<td width=\"217\">Default<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Uitschakelvertraging<\/td>\n<td width=\"249\">0<\/td>\n<td width=\"217\">Default<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Aan actie<\/td>\n<td width=\"249\">script:\/\/\/home\/pi\/domoticz\/scripts\/Ventilatie_aan.sh &gt; \/dev\/null 2&gt;&amp;1 &amp;<\/td>\n<td width=\"217\">Start shell script Ventilatie_aan.sh<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Beschermd<\/td>\n<td width=\"249\">Niet aangevink<\/td>\n<td width=\"217\">Default<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Omschrijving<\/td>\n<td width=\"249\"><\/td>\n<td width=\"217\">Default<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\nStap 3. De SonOff basic als volgt geconfigureerd\n\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-265\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-Domoticz-186x300.jpg\" alt=\"\" width=\"425\" height=\"685\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-Domoticz-186x300.jpg 186w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-Domoticz.jpg 358w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/>\n<table>\n<tbody>\n<tr>\n<td width=\"104\">Label<\/td>\n<td width=\"94\">Waarde<\/td>\n<td width=\"406\">Doel<\/td>\n<\/tr>\n<tr>\n<td width=\"104\">Idx 1<\/td>\n<td width=\"94\">67<\/td>\n<td width=\"406\">IDX overgenomen van de in Stap 2 aangemaakte virtuele sensor<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\nStap 4. Shell script Ventilatie_aan.sh gemaakt\n<ul>\n \t<li>Dit script stopt lopende countdown scripts voor het uitzetten van de ventilatie en deactiveert de timer<\/li>\n \t<li>Dit om te voorkomen dat iedere keer als de verlichting in \u00e9\u00e9n van de badkamers of het toilet aangezet wordt, en een nieuw proces gestart wordt voor het automatisch naar de laagste stand zetten van de ventilatie na 5 minuten.<\/li>\n<\/ul>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">pi@raspberrypi:~\/domoticz\/scripts $ cat Ventilatie_aan.sh<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#!\/bin\/bash<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># script stopt lopende countdown scripts voor het uitzetten van de ventilatie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># en deactiveert timer<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">verbose=0 # 0=nodebug, 1=debug<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=&#8221;&#8221;<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># Stop alle lopende Ventilatie_uit.sh proces(sen)<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">for pid in $(ps -ef | grep Ventilatie_uit.sh | grep -v grep | awk &#8216;{print $2}&#8217;)<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">do<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">\u00a0 kill -9 $pid &gt; \/dev\/null 2&gt;&amp;1<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">\u00a0 if [ $verbose -gt 0 ]; then echo $pid killed; fi<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">done<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op deactief<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatieActief\\&amp;vtype=0\\&amp;vvalue=0)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatieActief=0 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log acties<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;TimerVentilatie%20gedeactiveerd&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\nStap 5. Blocky gebeurtenissen aangemaakt voor schakelaar is Badkamers en toilet\n\n<div id='gallery-1' class='gallery galleryid-258 gallery-columns-3 gallery-size-medium'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/badkamer\/'><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"173\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamer-300x173.jpg\" class=\"attachment-medium size-medium\" alt=\"\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamer-300x173.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamer.jpg 533w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/badkamerj\/'><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"140\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamerj-300x140.jpg\" class=\"attachment-medium size-medium\" alt=\"\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamerj-300x140.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamerj.jpg 522w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/wc\/'><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"140\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/WC-300x140.jpg\" class=\"attachment-medium size-medium\" alt=\"\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/WC-300x140.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/WC.jpg 524w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\n<ul>\n \t<li>Als de verlichting in de Badkamer (of Badkamer van de jongens, of in de WC) aangezet wordt<\/li>\n \t<li>dan zet ook de ventilatie aan (Sonoff zet 230v op L2 van de Brink Renovent en activeert stand 3) en schrijf een logbericht weg naar de Domoticz log<\/li>\n \t<li>Anders als de Badkamer (of Badkamer van de jongens, of in de WC) uitgezet wordt<\/li>\n \t<li>dan start het script <span style=\"font-size: 10pt;\"><span style=\"font-family: 'courier new', courier;\">\/home\/pi\/domoticz\/scripts\/Ventilatie_uit.sh &amp; #<\/span>\u00a0<span style=\"font-size: 12pt;\">op, deze zorgt ervoor dat na 5 minuten de Ventilatie naar Stand 1 terug gezet wordt door de SonOff basic of off te zetten<\/span><\/span><\/li>\n \t<li>In de blocky van de Badkamer wordt ook nog de ledstrips rond bad en douche aan- of uitgezet, dit is echter niet relevant voor de werking van de ventilatie<\/li>\n<\/ul>\nStap 6. Shell script Ventilatie_uit.sh aangemaakt\n<ul>\n \t<li>Dit script zet de Ventilatie uit nadat er 5 minuten verstreken zijn<\/li>\n \t<li>Eerst wordt er gechecked of er al niet een timer actief is, als dit het geval is dan wordt de timer opnieuw op 300 seconden gezet en het script be\u00ebindigd.<\/li>\n \t<li>Indien er geen timer actief is, dan wordt de timer op 300 seconden gezet, en de countdown gestart<\/li>\n \t<li>Als de countdown de 0 heeft bereikt dan wordt de Sonoff Basic &#8220;Ventilatie&#8221; met IDX 67 op off gezet, dit zet de ventilatie terug naar stand 1.<\/li>\n<\/ul>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">pi@raspberrypi:~\/domoticz\/scripts $ cat Ventilatie_uit.sh<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#!\/bin\/bash<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># script zet Ventilatie uit nadat timer verstreken is<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet een timer op 300 seconden<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># en indien er nog geen script loopt start hij een countdown tot de timer op 0 staat<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># check eerst of de timer al actief is, in dat geval staat de Ventilatie al aan<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># en hoeft alleen detimer verhoogt te worden tot 300, een ander instantie van het script doet de countdown en zet het licht uit<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">verbose=0 # 0=nodebug, 1=debug<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">timer_active=`curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=getuservariable\\&amp;idx=39 -s | grep Value | awk &#8216;{print substr($3,2,1)}&#8217;`<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=&#8221;&#8221;<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Timer_active=$timer_active; fi;<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $timer_active -gt 0 ]<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">then<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># timer is actief, dus volstaan kan worden om de timer te verhogen naar 300 sec.<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatie\\&amp;vtype=0\\&amp;vvalue=300)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatie=300 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20Ventilatie%20op%20Actief%20gezet&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># exit script<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">else<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># variable declaratie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">tijd=$(date &#8216;+%H%M&#8217;)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Tijd=$tijd; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op 300 sec.<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatie\\&amp;vtype=0\\&amp;vvalue=300)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatie=300 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op actief<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatieActief\\&amp;vtype=0\\&amp;vvalue=1)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatieActief=1 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log acties<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20Ventilatie%20op%20300%20sec.%20gezet,%20Timer%20geactiveerd&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># start countdown<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">i=$(curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=getuservariable\\&amp;idx=40 -s | grep Value | awk &#8216;{print $3}&#8217; | sed &#8216;s\/\\&#8221;\/\/g&#8217; | sed &#8216;s\/,\/\/g&#8217;)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Initvalue TimerVentilatie=$i $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">while [[ $i &gt; 0 ]]<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">do<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">((i&#8211;))<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatie\\&amp;vtype=0\\&amp;vvalue=$i<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">sleep 1<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">i=`curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=getuservariable\\&amp;idx=40 -s | grep Value | awk &#8216;{print $3}&#8217; | sed &#8216;s\/\\&#8221;\/\/g&#8217; | sed &#8216;s\/,\/\/g&#8217;`<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Countdown=$i $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">done<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=switchlight\\&amp;idx=67\\&amp;vtype=0\\&amp;switchcmd=Off<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20afgelopen,%20Ventilatie%20uit%20gezet&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op deactief<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatieActief\\&amp;vtype=0\\&amp;vvalue=0)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatieActief=0 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;TimerVentilatie%20gedeactiveerd&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">fi<\/span><!-- \/wp:paragraph --><!-- \/wp:paragraph -->\n\n<!-- wp:group -->\n<div class=\"wp-block-group\">\n<div class=\"wp-block-group__inner-container\"><!-- wp:list -->\n<ul id=\"block-08879a84-aad4-4749-93b1-292a41b31ba6\">\n \t<li>SonOff Basic<\/li>\n \t<li>Stukje tweelingsnoer<\/li>\n \t<li>Schroevendraaier<\/li>\n \t<li>Torx schroevendraaier om voorfront van de Brink Renovent af te kunnen schroeven<\/li>\n<\/ul>\n<!-- \/wp:list -->\n\n<!-- wp:paragraph --><span style=\"font-size: 1rem;\">Reeds ge\u00efnstalleerd en up-and-running:<\/span>\n\n<\/div>\n<\/div>\n<!-- \/wp:paragraph -->\n\n<!-- wp:group -->\n<div class=\"wp-block-group\">\n<div class=\"wp-block-group__inner-container\"><!-- wp:list -->\n<ul id=\"block-218b2791-add9-4135-9521-a707e28dee2b\">\n \t<li>Domoticz<\/li>\n \t<li>MQTT<\/li>\n \t<li>MQTT plugin voor Domoticz<\/li>\n<\/ul>\n<!-- \/wp:list -->\n\n<\/div>\n<\/div>\n<!-- \/wp:group -->\n\n<!-- wp:paragraph -->\n\nPinout:\n<table>\n<tbody>\n<tr>\n<td width=\"201\">SonOff Basic<\/td>\n<td width=\"201\">Brink Renovent HR<\/td>\n<\/tr>\n<tr>\n<td width=\"201\">L Input<\/td>\n<td width=\"201\">L (X11-3)<\/td>\n<\/tr>\n<tr>\n<td width=\"201\">N Input<\/td>\n<td width=\"201\">N (X11-2)<\/td>\n<\/tr>\n<tr>\n<td width=\"201\">L Output<\/td>\n<td width=\"201\">L1 (X11-6)<\/td>\n<\/tr>\n<tr>\n<td width=\"201\">N Output<\/td>\n<td width=\"201\">Niet aangesloten<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- wp:paragraph -->\n\nMontage:\n\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n\nDe SonOff Basic heb ik middels korte stukjes tweeling snoer aangesloten conform de Pinout zoals die hierboven staat beschreven. Ik laat de SonOff Basic gewoon in de ruimte tussen de printplaat en de kast van de Brink Renovent hangen. De behuizing is immers helemaal van kunststof en kan geen sluiting veroorzaken.\n\nOm de SonOff Basic te kunnen plaatsen kun je de voorfront van de Brink Renovent afschroeven met een lange torx-schroevendraaier. Tussen de printplaat en de buitenwand van de Brink Renovent zit genoeg ruimte om de schroeven van de schroevenklem op de printplaat los- en vast te draaien met een klein schroevendraaiertje. Je hoeft dus niets in- en uit te bouwen.\n\nStappenplan:\n\nStap 1. De SonOff basic geflashed met Tasmota conform de beschrijving elders op mijn site\n<ul>\n \t<li><a href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/13\/sonoff-basic-flashen-met-tasmota\/\">https:\/\/www.sydspost.nl\/index.php\/2021\/03\/13\/sonoff-basic-flashen-met-tasmota\/<\/a><\/li>\n<\/ul>\nStap 2. Maak een virtuele sensor aan binnen Domoticz\n\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-264\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-300x223.jpg\" alt=\"\" width=\"470\" height=\"349\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-300x223.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie.jpg 436w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/>\n<table>\n<tbody>\n<tr>\n<td width=\"138\">Label<\/td>\n<td width=\"249\">Waarde<\/td>\n<td width=\"217\">Doel<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Naam<\/td>\n<td width=\"249\">Ventilatie<\/td>\n<td width=\"217\">Zinvolle naam<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Schakelaar type<\/td>\n<td width=\"249\">On\/Off<\/td>\n<td width=\"217\"><\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Schakelaar icoon<\/td>\n<td width=\"249\">Fan<\/td>\n<td width=\"217\"><\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Inschakelvertraging<\/td>\n<td width=\"249\">0<\/td>\n<td width=\"217\">Default<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Uitschakelvertraging<\/td>\n<td width=\"249\">0<\/td>\n<td width=\"217\">Default<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Aan actie<\/td>\n<td width=\"249\">script:\/\/\/home\/pi\/domoticz\/scripts\/Ventilatie_aan.sh &gt; \/dev\/null 2&gt;&amp;1 &amp;<\/td>\n<td width=\"217\">Start shell script Ventilatie_aan.sh<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Beschermd<\/td>\n<td width=\"249\">Niet aangevink<\/td>\n<td width=\"217\">Default<\/td>\n<\/tr>\n<tr>\n<td width=\"138\">Omschrijving<\/td>\n<td width=\"249\"><\/td>\n<td width=\"217\">Default<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\nStap 3. De SonOff basic als volgt geconfigureerd\n\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-265\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-Domoticz-186x300.jpg\" alt=\"\" width=\"425\" height=\"685\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-Domoticz-186x300.jpg 186w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Ventilatie-Domoticz.jpg 358w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/>\n<table>\n<tbody>\n<tr>\n<td width=\"104\">Label<\/td>\n<td width=\"94\">Waarde<\/td>\n<td width=\"406\">Doel<\/td>\n<\/tr>\n<tr>\n<td width=\"104\">Idx 1<\/td>\n<td width=\"94\">67<\/td>\n<td width=\"406\">IDX overgenomen van de in Stap 2 aangemaakte virtuele sensor<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\nStap 4. Shell script Ventilatie_aan.sh gemaakt\n<ul>\n \t<li>Dit script stopt lopende countdown scripts voor het uitzetten van de ventilatie en deactiveert de timer<\/li>\n \t<li>Dit om te voorkomen dat iedere keer als de verlichting in \u00e9\u00e9n van de badkamers of het toilet aangezet wordt, en een nieuw proces gestart wordt voor het automatisch naar de laagste stand zetten van de ventilatie na 5 minuten.<\/li>\n<\/ul>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">pi@raspberrypi:~\/domoticz\/scripts $ cat Ventilatie_aan.sh<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#!\/bin\/bash<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># script stopt lopende countdown scripts voor het uitzetten van de ventilatie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># en deactiveert timer<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">verbose=0 # 0=nodebug, 1=debug<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=&#8221;&#8221;<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># Stop alle lopende Ventilatie_uit.sh proces(sen)<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">for pid in $(ps -ef | grep Ventilatie_uit.sh | grep -v grep | awk &#8216;{print $2}&#8217;)<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">do<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">\u00a0 kill -9 $pid &gt; \/dev\/null 2&gt;&amp;1<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">\u00a0 if [ $verbose -gt 0 ]; then echo $pid killed; fi<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">done<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op deactief<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatieActief\\&amp;vtype=0\\&amp;vvalue=0)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatieActief=0 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log acties<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;TimerVentilatie%20gedeactiveerd&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\nStap 5. Blocky gebeurtenissen aangemaakt voor schakelaar is Badkamers en toilet\n\n<div id='gallery-2' class='gallery galleryid-258 gallery-columns-3 gallery-size-medium'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/badkamer\/'><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"173\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamer-300x173.jpg\" class=\"attachment-medium size-medium\" alt=\"\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamer-300x173.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamer.jpg 533w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/badkamerj\/'><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"140\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamerj-300x140.jpg\" class=\"attachment-medium size-medium\" alt=\"\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamerj-300x140.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Badkamerj.jpg 522w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/wc\/'><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"140\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/WC-300x140.jpg\" class=\"attachment-medium size-medium\" alt=\"\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/WC-300x140.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/WC.jpg 524w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\n<ul>\n \t<li>Als de verlichting in de Badkamer (of Badkamer van de jongens, of in de WC) aangezet wordt<\/li>\n \t<li>dan zet ook de ventilatie aan (Sonoff zet 230v op L2 van de Brink Renovent en activeert stand 3) en schrijf een logbericht weg naar de Domoticz log<\/li>\n \t<li>Anders als de Badkamer (of Badkamer van de jongens, of in de WC) uitgezet wordt<\/li>\n \t<li>dan start het script <span style=\"font-size: 10pt;\"><span style=\"font-family: 'courier new', courier;\">\/home\/pi\/domoticz\/scripts\/Ventilatie_uit.sh &amp; #<\/span>\u00a0<span style=\"font-size: 12pt;\">op, deze zorgt ervoor dat na 5 minuten de Ventilatie naar Stand 1 terug gezet wordt door de SonOff basic of off te zetten<\/span><\/span><\/li>\n \t<li>In de blocky van de Badkamer wordt ook nog de ledstrips rond bad en douche aan- of uitgezet, dit is echter niet relevant voor de werking van de ventilatie<\/li>\n<\/ul>\nStap 6. Shell script Ventilatie_uit.sh aangemaakt\n<ul>\n \t<li>Dit script zet de Ventilatie uit nadat er 5 minuten verstreken zijn<\/li>\n \t<li>Eerst wordt er gechecked of er al niet een timer actief is, als dit het geval is dan wordt de timer opnieuw op 300 seconden gezet en het script be\u00ebindigd.<\/li>\n \t<li>Indien er geen timer actief is, dan wordt de timer op 300 seconden gezet, en de countdown gestart<\/li>\n \t<li>Als de countdown de 0 heeft bereikt dan wordt de Sonoff Basic &#8220;Ventilatie&#8221; met IDX 67 op off gezet, dit zet de ventilatie terug naar stand 1.<\/li>\n<\/ul>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">pi@raspberrypi:~\/domoticz\/scripts $ cat Ventilatie_uit.sh<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#!\/bin\/bash<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># script zet Ventilatie uit nadat timer verstreken is<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet een timer op 300 seconden<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># en indien er nog geen script loopt start hij een countdown tot de timer op 0 staat<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># check eerst of de timer al actief is, in dat geval staat de Ventilatie al aan<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># en hoeft alleen detimer verhoogt te worden tot 300, een ander instantie van het script doet de countdown en zet het licht uit<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">verbose=0 # 0=nodebug, 1=debug<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">timer_active=`curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=getuservariable\\&amp;idx=39 -s | grep Value | awk &#8216;{print substr($3,2,1)}&#8217;`<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=&#8221;&#8221;<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Timer_active=$timer_active; fi;<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $timer_active -gt 0 ]<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">then<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># timer is actief, dus volstaan kan worden om de timer te verhogen naar 300 sec.<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatie\\&amp;vtype=0\\&amp;vvalue=300)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatie=300 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20Ventilatie%20op%20Actief%20gezet&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># exit script<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">else<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># variable declaratie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">tijd=$(date &#8216;+%H%M&#8217;)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Tijd=$tijd; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op 300 sec.<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatie\\&amp;vtype=0\\&amp;vvalue=300)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatie=300 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op actief<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatieActief\\&amp;vtype=0\\&amp;vvalue=1)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatieActief=1 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log acties<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20Ventilatie%20op%20300%20sec.%20gezet,%20Timer%20geactiveerd&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># start countdown<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">i=$(curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=getuservariable\\&amp;idx=40 -s | grep Value | awk &#8216;{print $3}&#8217; | sed &#8216;s\/\\&#8221;\/\/g&#8217; | sed &#8216;s\/,\/\/g&#8217;)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Initvalue TimerVentilatie=$i $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">while [[ $i &gt; 0 ]]<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">do<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">((i&#8211;))<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatie\\&amp;vtype=0\\&amp;vvalue=$i<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">sleep 1<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">i=`curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=getuservariable\\&amp;idx=40 -s | grep Value | awk &#8216;{print $3}&#8217; | sed &#8216;s\/\\&#8221;\/\/g&#8217; | sed &#8216;s\/,\/\/g&#8217;`<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Countdown=$i $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">done<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=switchlight\\&amp;idx=67\\&amp;vtype=0\\&amp;switchcmd=Off<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20afgelopen,%20Ventilatie%20uit%20gezet&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op deactief<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=updateuservariable\\&amp;vname=TimerVentilatieActief\\&amp;vtype=0\\&amp;vvalue=0)<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerVentilatieActief=0 $debug; fi<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;TimerVentilatie%20gedeactiveerd&#8221;<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">curl -s &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=addlogmessage\\&amp;message=$log_message<\/span>\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">fi<\/span><!-- \/wp:post-content -->","protected":false},"excerpt":{"rendered":"<p>Dit project heeft tot doel om het Brink Renovent Large WTW (Warmte terug win)-systeem in mijn woning te integreren in<\/p>\n<p><a href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/\" class=\"more-link\">Verder lezen<span class=\"screen-reader-text\">Brink Renovent WTW aansturen m.b.v. Domoticz<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":269,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[31,12,29,33,32],"class_list":["post-258","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-diy-projecten","tag-brink-renovent-hr","tag-domoticz","tag-sonoff-basic","tag-standenschakelaar","tag-ventilatiesysteem"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Brink Renovent WTW aansturen m.b.v. Domoticz - Mijn domotica projecten<\/title>\n<meta name=\"description\" content=\"Geen standenschakelaar meer in je badkamer die je vergeet hoog te zetten als je gaat douchen. Door het WTW-systeem uit te breiden met een SonOff Basic en te koppelen aan Domoticz kun je dit automatiseren. Wordt het licht aan- of uitgezet in de badkamer, dan wordt automatisch de afzuiging van het WTW-systeem hoger of na verloop van tijd lager gezet.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Brink Renovent WTW aansturen m.b.v. Domoticz - Mijn domotica projecten\" \/>\n<meta property=\"og:description\" content=\"Geen standenschakelaar meer in je badkamer die je vergeet hoog te zetten als je gaat douchen. Door het WTW-systeem uit te breiden met een SonOff Basic en te koppelen aan Domoticz kun je dit automatiseren. Wordt het licht aan- of uitgezet in de badkamer, dan wordt automatisch de afzuiging van het WTW-systeem hoger of na verloop van tijd lager gezet.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/\" \/>\n<meta property=\"og:site_name\" content=\"Mijn domotica projecten\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/syds.post\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-14T13:48:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-19T13:47:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"250\" \/>\n\t<meta property=\"og:image:height\" content=\"250\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Syds\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschreven door\" \/>\n\t<meta name=\"twitter:data1\" content=\"Syds\" \/>\n\t<meta name=\"twitter:label2\" content=\"Geschatte leestijd\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/\"},\"author\":{\"name\":\"Syds\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/person\\\/429f92898f98d9c4e01b8fad60975b21\"},\"headline\":\"Brink Renovent WTW aansturen m.b.v. Domoticz\",\"datePublished\":\"2021-03-14T13:48:07+00:00\",\"dateModified\":\"2024-03-19T13:47:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/\"},\"wordCount\":1505,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/brink-renovent-hr-large-medium-250x250-1.jpg\",\"keywords\":[\"Brink Renovent HR\",\"Domoticz\",\"SonOff Basic\",\"Standenschakelaar\",\"Ventilatiesysteem\"],\"articleSection\":[\"DIY projecten\"],\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/\",\"name\":\"Brink Renovent WTW aansturen m.b.v. Domoticz - Mijn domotica projecten\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/brink-renovent-hr-large-medium-250x250-1.jpg\",\"datePublished\":\"2021-03-14T13:48:07+00:00\",\"dateModified\":\"2024-03-19T13:47:19+00:00\",\"description\":\"Geen standenschakelaar meer in je badkamer die je vergeet hoog te zetten als je gaat douchen. Door het WTW-systeem uit te breiden met een SonOff Basic en te koppelen aan Domoticz kun je dit automatiseren. Wordt het licht aan- of uitgezet in de badkamer, dan wordt automatisch de afzuiging van het WTW-systeem hoger of na verloop van tijd lager gezet.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/brink-renovent-hr-large-medium-250x250-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/brink-renovent-hr-large-medium-250x250-1.jpg\",\"width\":250,\"height\":250},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/brink-renovent-wtw-aansturen-m-b-v-domoticz\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sydspost.nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Brink Renovent WTW aansturen m.b.v. Domoticz\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#website\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/\",\"name\":\"Mijn domotica projecten\",\"description\":\"met Domoticz\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sydspost.nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\",\"name\":\"Mijn domotica projecten\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Domoticz-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Domoticz-logo.png\",\"width\":256,\"height\":256,\"caption\":\"Mijn domotica projecten\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/person\\\/429f92898f98d9c4e01b8fad60975b21\",\"name\":\"Syds\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g\",\"caption\":\"Syds\"},\"sameAs\":[\"https:\\\/\\\/www.sydspost.nl\",\"https:\\\/\\\/www.facebook.com\\\/syds.post\\\/\"],\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/author\\\/wp_admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Brink Renovent WTW aansturen m.b.v. Domoticz - Mijn domotica projecten","description":"Geen standenschakelaar meer in je badkamer die je vergeet hoog te zetten als je gaat douchen. Door het WTW-systeem uit te breiden met een SonOff Basic en te koppelen aan Domoticz kun je dit automatiseren. Wordt het licht aan- of uitgezet in de badkamer, dan wordt automatisch de afzuiging van het WTW-systeem hoger of na verloop van tijd lager gezet.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/","og_locale":"nl_NL","og_type":"article","og_title":"Brink Renovent WTW aansturen m.b.v. Domoticz - Mijn domotica projecten","og_description":"Geen standenschakelaar meer in je badkamer die je vergeet hoog te zetten als je gaat douchen. Door het WTW-systeem uit te breiden met een SonOff Basic en te koppelen aan Domoticz kun je dit automatiseren. Wordt het licht aan- of uitgezet in de badkamer, dan wordt automatisch de afzuiging van het WTW-systeem hoger of na verloop van tijd lager gezet.","og_url":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/","og_site_name":"Mijn domotica projecten","article_author":"https:\/\/www.facebook.com\/syds.post\/","article_published_time":"2021-03-14T13:48:07+00:00","article_modified_time":"2024-03-19T13:47:19+00:00","og_image":[{"width":250,"height":250,"url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1.jpg","type":"image\/jpeg"}],"author":"Syds","twitter_card":"summary_large_image","twitter_misc":{"Geschreven door":"Syds","Geschatte leestijd":"8 minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/#article","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/"},"author":{"name":"Syds","@id":"https:\/\/www.sydspost.nl\/#\/schema\/person\/429f92898f98d9c4e01b8fad60975b21"},"headline":"Brink Renovent WTW aansturen m.b.v. Domoticz","datePublished":"2021-03-14T13:48:07+00:00","dateModified":"2024-03-19T13:47:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/"},"wordCount":1505,"commentCount":2,"publisher":{"@id":"https:\/\/www.sydspost.nl\/#organization"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1.jpg","keywords":["Brink Renovent HR","Domoticz","SonOff Basic","Standenschakelaar","Ventilatiesysteem"],"articleSection":["DIY projecten"],"inLanguage":"nl-NL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/","url":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/","name":"Brink Renovent WTW aansturen m.b.v. Domoticz - Mijn domotica projecten","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/#primaryimage"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1.jpg","datePublished":"2021-03-14T13:48:07+00:00","dateModified":"2024-03-19T13:47:19+00:00","description":"Geen standenschakelaar meer in je badkamer die je vergeet hoog te zetten als je gaat douchen. Door het WTW-systeem uit te breiden met een SonOff Basic en te koppelen aan Domoticz kun je dit automatiseren. Wordt het licht aan- of uitgezet in de badkamer, dan wordt automatisch de afzuiging van het WTW-systeem hoger of na verloop van tijd lager gezet.","breadcrumb":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/"]}]},{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/#primaryimage","url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1.jpg","contentUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1.jpg","width":250,"height":250},{"@type":"BreadcrumbList","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/brink-renovent-wtw-aansturen-m-b-v-domoticz\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sydspost.nl\/"},{"@type":"ListItem","position":2,"name":"Brink Renovent WTW aansturen m.b.v. Domoticz"}]},{"@type":"WebSite","@id":"https:\/\/www.sydspost.nl\/#website","url":"https:\/\/www.sydspost.nl\/","name":"Mijn domotica projecten","description":"met Domoticz","publisher":{"@id":"https:\/\/www.sydspost.nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sydspost.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"},{"@type":"Organization","@id":"https:\/\/www.sydspost.nl\/#organization","name":"Mijn domotica projecten","url":"https:\/\/www.sydspost.nl\/","logo":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/www.sydspost.nl\/#\/schema\/logo\/image\/","url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2020\/12\/Domoticz-logo.png","contentUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2020\/12\/Domoticz-logo.png","width":256,"height":256,"caption":"Mijn domotica projecten"},"image":{"@id":"https:\/\/www.sydspost.nl\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.sydspost.nl\/#\/schema\/person\/429f92898f98d9c4e01b8fad60975b21","name":"Syds","image":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/secure.gravatar.com\/avatar\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g","caption":"Syds"},"sameAs":["https:\/\/www.sydspost.nl","https:\/\/www.facebook.com\/syds.post\/"],"url":"https:\/\/www.sydspost.nl\/index.php\/author\/wp_admin\/"}]}},"modified_by":"Syds","jetpack_featured_media_url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/brink-renovent-hr-large-medium-250x250-1.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/comments?post=258"}],"version-history":[{"count":6,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/258\/revisions"}],"predecessor-version":[{"id":3450,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/258\/revisions\/3450"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media\/269"}],"wp:attachment":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media?parent=258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/categories?post=258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/tags?post=258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}