{"id":597,"date":"2021-04-26T12:32:28","date_gmt":"2021-04-26T12:32:28","guid":{"rendered":"https:\/\/www.sydspost.nl\/?p=597"},"modified":"2021-04-26T12:32:28","modified_gmt":"2021-04-26T12:32:28","slug":"bewegingsmelder-slim-maken-met-shelly-i3","status":"publish","type":"post","link":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/","title":{"rendered":"Bewegingsmelder slim maken met Shelly i3"},"content":{"rendered":"<p>Dit project heeft tot doel een traditionele analoge bewegingsmelder \u201cslim\u201d te maken en te integreren in Domoticz.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-606 alignleft\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495-300x300.jpg\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495-300x300.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495-150x150.jpg 150w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495-50x50.jpg 50w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>Aan mijn woning hangt een Busch-W\u00e4chter 220 AlarmLINE bewegingsmelder gericht op de oprit. Deze schakelt de buitenverlichting in bij beweging, en schakelt deze na verloop van tijd bij geen beweging weer uit. Voorheen werkte dit via een aangesloten SonOff mini waarbij S1 en S2 werden geschakeld via het potentiaal vrije maakcontact van de bewegingsmelder. Helaas is het relais van dit potentiaal vrije maakcontact stuk gegaan waardoor deze niet meer goed schakelde.<\/p>\n<p>De bewegingsmelder beschikt echter over een tweede relais die een 220v maakcontact aanstuurt. Idee was geboren om deze af te vangen met een WiFi ontvanger. De Sonoff Mini is daar niet geschikt voor, deze kan maximaal 3.3v over S1 en S2 schakelden. Dus na wat googlen kwam ik de Shelly i3 multi switch input tegen voor een schappelijke \u20ac 12 euro, heel wat goedkoper dan een nieuwe Busch-Wachter bewegingsmelder van \u20ac 145,- !<\/p>\n<p>Benodigdheden:<\/p>\n<ul>\n<li>Shelly i3 (geconfigureerd conform mijn tutorial <a href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/shelly-i3-integreren-in-domoticz\/\">https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/shelly-i3-integreren-in-domoticz\/<\/a>)<\/li>\n<li>Busch-W\u00e4chter 220 AlarmLINE bewegingsmelder (of vergelijkbare bewegingsmelder met 220v maakcontact)<\/li>\n<li>3 kroonsteentjes<\/li>\n<li>schroevendraaier<\/li>\n<li>Tweelingsnoer met stekker<\/li>\n<\/ul>\n<p>Stappenplan:<\/p>\n<p>Stap 1. Testopstelling gemaakt<\/p>\n<ul>\n<li>kroonsteentjes aangesloten op L, N en I1 van Shelly i3<\/li>\n<li>Fase van Bewegingsmelder en tweelingsnoer gecombineerd aangesloten op kroonsteentje waar de L van de Shelly i3 op is aangesloten<\/li>\n<li>Neutraal van Bewegingsmelder en tweelingsnoer gecombineerd aangesloten op kroonsteentje waar de N van de Shelly i3 op is aangesloten<\/li>\n<li>Maakcontact van de Bewegingsmelder aangesloten op kroonsteentje waar de I1 van het Shelly i3 op is aangesloten<\/li>\n<li>Stekker op tweelingsnoer gemonteerd en in stopcontact gestopt<\/li>\n<li>Check of fase inderdaad ook fase is met spanningzoeker, draai anders de stekker om in het stopcontact<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-599\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/IMG_20210426_140318-300x150.jpg\" alt=\"\" width=\"466\" height=\"233\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/IMG_20210426_140318-300x150.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/IMG_20210426_140318-1024x512.jpg 1024w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/IMG_20210426_140318-768x384.jpg 768w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/IMG_20210426_140318-1536x768.jpg 1536w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/IMG_20210426_140318.jpg 1824w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/p>\n<p>Stap 2. <span style=\"font-weight: 400;\">Button Type van Input I1 van Shelly i3 als volgt geconfigureerd:<\/span><\/p>\n<div class=\"wp-block-group\">\n<div class=\"wp-block-group__inner-container\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-598\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/pasted-image-0-9-300x247.png\" alt=\"\" width=\"465\" height=\"383\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/pasted-image-0-9-300x247.png 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/pasted-image-0-9.png 607w\" sizes=\"auto, (max-width: 465px) 100vw, 465px\" \/><\/p>\n<\/div>\n<\/div>\n<p>Stap 3. <span style=\"font-weight: 400;\">Virtuele sensor aangemaakt en geconfigureerd als switch<\/span><\/p>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-600\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/pasted-image-0-10-300x238.png\" alt=\"\" width=\"887\" height=\"704\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/pasted-image-0-10-300x238.png 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/pasted-image-0-10.png 391w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/figure>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>Label<\/strong><\/td>\n<td><strong>Waarde<\/strong><\/td>\n<td><strong>Doel<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Naam<\/td>\n<td>Zinvolle naam<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Schakelaar type<\/td>\n<td>On\/Off<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Uitschakelvertraging<\/td>\n<td>0<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Aan actie<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Uit actie<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Beschermd<\/td>\n<td>Niet aangevinkt<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Omschrijving<\/td>\n<td>&lt;voicecontrol&gt;<br \/>\nreport_state = False<br \/>\nhide = True<br \/>\n&lt;\/voicecontrol&gt;<\/td>\n<td>Zorgt ervoor dat de bewegingsmelder niet in- en uitgeschakeld kan worden m.b.v. google assistant<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>Stap 4. <span style=\"font-weight: 400;\">Blocky script \u201cBeweging buiten\u201d gemaakt die script Buitenverlichting.sh uitvoert<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-601\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/pasted-image-0-11-300x47.png\" alt=\"\" width=\"1015\" height=\"159\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/pasted-image-0-11-300x47.png 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/pasted-image-0-11.png 737w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/p>\n<p>Toelichting:<\/p>\n<p>Als &#8220;Bewegingsmelder achter&#8221; of &#8220;Bewegingsmelder Oprit&#8221; beweging signaleren en hun respectievelijke schakelaar op &#8216;On&#8217; zetten, start dan het shell script &#8220;Buitenverlichting.sh&#8221; op (zie volgende stap)<\/p>\n<p>Stap 5. Variabelen TimerBuitenverlichting en TimerBuitenActief aangemaakt<\/p>\n<div id='gallery-1' class='gallery galleryid-597 gallery-columns-3 gallery-size-full'><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\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/knipsel-30\/'><img loading=\"lazy\" decoding=\"async\" width=\"413\" height=\"176\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/Knipsel-7.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/Knipsel-7.jpg 413w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/Knipsel-7-300x128.jpg 300w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/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\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/knipsel1-4\/'><img loading=\"lazy\" decoding=\"async\" width=\"407\" height=\"168\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/Knipsel1-1.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/Knipsel1-1.jpg 407w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/Knipsel1-1-300x124.jpg 300w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\n<p>Stap 6. Shell script Buitenverlichting.sh<\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#!\/bin\/bash<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># script zet Buitenverlichting op 80% indien een van de bewegingsmelders beweging detecteert<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># tussen zonsondergang en zonsopgang<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet een timer op 300 seconden<\/span><br \/>\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><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># indien de tijd voor 23:00 uur is, dimt hij terug naar 25%, anders zet hij de buitenverlichting uit<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># check eerst of de timer al actief is, in dat geval brandt het buitenlicht al en hoeft alleen de<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># timer verhoogt te worden tot 300, een ander instantie van het script doet de countdown en zet het licht uit of op 25%<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">verbose=1 # 0=nodebug, 1=debug<\/span><br \/>\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=37 -s | grep Value | awk &#8216;{print substr($3,2,1)}&#8217;`<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;&#8221;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=&#8221;&#8221;<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Timer_active=$timer_active; fi;<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $timer_active -gt 0 ]<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">then<\/span><br \/>\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><br \/>\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=TimerBuitenverlichting\\&amp;vtype=0\\&amp;vvalue=300)<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerBuitenverlichting=300 $debug; fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20Buitenverlichting%20op%20Actief%20gezet&#8221;<\/span><br \/>\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><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># exit script<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">else<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># variable declaratie<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">#<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">zonsondergang=`curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=getSunRiseSet -s | grep Sunset | awk &#8216;{print substr($3,2,2) substr($3,5,2)}&#8217;`<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">uren=$((10#$(echo $zonsondergang | cut -c1-2)))<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">min=$((10#$(echo $zonsondergang | cut -c3-4)))<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">let zonsondergang=(uren*60)+min<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">zonsopgang=`curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=getSunRiseSet -s | grep Sunrise | awk &#8216;{print substr($3,2,2) substr($3,5,2)}&#8217;`<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">uren=$((10#$(echo $zonsopgang | cut -c1-2)))<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">min=$((10#$(echo $zonsopgang | cut -c3-4)))<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">let zonsopgang=(uren*60)+min;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">uren=$((10#$(date &#8216;+%H&#8217;)))<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">min=$((10#$(date &#8216;+%M&#8217;)))<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">let tijd=(uren*60)+min<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [[ $tijd -lt $zonsopgang ]]<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">then<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">let tijd=tijd+1650;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">fi<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">let zonsopgang=zonsopgang+1650;<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">then<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">echo Zonsondergang=$zonsondergang<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">echo Zonsopgang=$zonsopgang<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">echo Tijd=$tijd<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># indien tussen zonsondergang en zonsopgang, zet dan de buitenverlichting aan en op 80%<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [[ $tijd -gt $zonsondergang ]] &amp;&amp; [[ $tijd -lt $zonsopgang ]]<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">then<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet device Buitenverlichting aan en op 80%<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=switchlight\\&amp;idx=168\\&amp;switchcmd=On)<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set device Buitenverlichting On $debug; fi<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">sleep 2<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=switchlight\\&amp;idx=168\\&amp;switchcmd=Set%20Level\\&amp;level=80)<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set device Buitenverlichting op 80\\% $debug; fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op 300 sec.<\/span><br \/>\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=TimerBuitenverlichting\\&amp;vtype=0\\&amp;vvalue=300)<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerBuitenverlichting=300 $debug; fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op actief<\/span><br \/>\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=TimerBuitenActief\\&amp;vtype=0\\&amp;vvalue=1)<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerBuitenActief=1 $debug; fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log acties<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Buitenverlichting%20op%2080%20gezet,%20Timer%20Buitenverlichting%20op%20300%20sec.%20gezet,%20Timer%20geactiveerd&#8221;<\/span><br \/>\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><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># start countdown<\/span><br \/>\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=36 -s | grep Value | awk &#8216;{print $3}&#8217; | sed &#8216;s\/\\&#8221;\/\/g&#8217; | sed &#8216;s\/,\/\/g&#8217;)<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Initvalue TimerBuitenverlichting=$i $debug; fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">while [[ $i &gt; 0 ]]<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">do<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">((i&#8211;))<\/span><br \/>\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=TimerBuitenverlichting\\&amp;vtype=0\\&amp;vvalue=$i<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">sleep 1<\/span><br \/>\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=36 -s | grep Value | awk &#8216;{print $3}&#8217; | sed &#8216;s\/\\&#8221;\/\/g&#8217; | sed &#8216;s\/,\/\/g&#8217;`<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Countdown=$i $debug; fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">done<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># Voeg gepasseerde 5 min (300 sec) toe aan tijd<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">let tijd=tijd+5<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># als tijd tussen zonsondergang en 23:00 uur ligt, dim dan de buitenverlichting naar 25%<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [[ $tijd -gt $zonsondergang ]] &amp;&amp; [[ $tijd -lt 1380 ]]<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">then<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet device Buitenverlichting op 25%<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=switchlight\\&amp;idx=168\\&amp;switchcmd=Set%20Level\\&amp;level=25)<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set Buitenverlichting op 25\\% $debug; fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20afgelopen,%20Buitenverlichting%20op%2025%20gezet&#8221;<\/span><br \/>\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><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">elif [[ $tijd -ge 1380 ]] &amp;&amp; [[ $tijd -lt $zonsopgang ]]<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">then<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet device Buitenverlichting uit<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">debug=$(curl &#8211;url http:\/\/192.168.2.29:8080\/json.htm\\?type=command\\&amp;param=switchlight\\&amp;idx=168\\&amp;switchcmd=Off)<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set device Buitenverlichting off $debug; fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20afgelopen,%20Buitenverlichting%20uitgezet&#8221;<\/span><br \/>\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><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># zet timer op deactief<\/span><br \/>\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=TimerBuitenActief\\&amp;vtype=0\\&amp;vvalue=0)<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">if [ $verbose -gt 0 ]; then echo Set TimerBuitenActief=0 $debug; fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\"># log actie<\/span><br \/>\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">log_message=&#8221;Timer%20gedeactiveerd&#8221;<\/span><br \/>\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><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">fi<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier; font-size: 10pt;\">fi<\/span><\/p>\n<p>Toelichting: Zie commentaar<\/p>\n<p>Stap 7. Potentiometers van de bewegingsmelder ingesteld<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-604\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/Knipsel2-1-264x300.jpg\" alt=\"\" width=\"264\" height=\"300\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/Knipsel2-1-264x300.jpg 264w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/Knipsel2-1.jpg 742w\" sizes=\"auto, (max-width: 264px) 100vw, 264px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-605\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/IMG_20201107_154259-2-300x255.jpg\" alt=\"\" width=\"353\" height=\"300\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/IMG_20201107_154259-2-300x255.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/IMG_20201107_154259-2.jpg 531w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><\/p>\n<p>Tijdinstelling: 5 minuten (instelling maakt niet uit, wordt overruled door script)<\/p>\n<p>Bedrijfskeuzeschakelaar: T\/S (Standaardbedrijf)<\/p>\n<p>Gevoeligheid: N(ormaal)<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dit project heeft tot doel een traditionele analoge bewegingsmelder \u201cslim\u201d te maken en te integreren in Domoticz. Aan mijn woning<\/p>\n<p><a href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/\" class=\"more-link\">Verder lezen<span class=\"screen-reader-text\">Bewegingsmelder slim maken met Shelly i3<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":606,"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_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9,34],"tags":[10,91,12,89],"class_list":["post-597","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-diy-projecten","category-slimme-scenarios","tag-bewegingsmelder","tag-busch-wachter-220-alarmline","tag-domoticz","tag-shelly-i3"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bewegingsmelder slim maken met Shelly i3 - Mijn domotica projecten<\/title>\n<meta name=\"description\" content=\"Een analoge bewegingsmelder slim maken met Shelly i3 WiFi schakelaar i.c.m. Domoticz\" \/>\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\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bewegingsmelder slim maken met Shelly i3 - Mijn domotica projecten\" \/>\n<meta property=\"og:description\" content=\"Een analoge bewegingsmelder slim maken met Shelly i3 WiFi schakelaar i.c.m. Domoticz\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/\" \/>\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-04-26T12:32:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\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=\"6 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\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/\"},\"author\":{\"name\":\"Syds\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/person\\\/429f92898f98d9c4e01b8fad60975b21\"},\"headline\":\"Bewegingsmelder slim maken met Shelly i3\",\"datePublished\":\"2021-04-26T12:32:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/\"},\"wordCount\":1224,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg\",\"keywords\":[\"Bewegingsmelder\",\"Busch-W\u00e4chter 220 AlarmLINE\",\"Domoticz\",\"Shelly i3\"],\"articleSection\":[\"DIY projecten\",\"Slimme scenario's\"],\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/\",\"name\":\"Bewegingsmelder slim maken met Shelly i3 - Mijn domotica projecten\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg\",\"datePublished\":\"2021-04-26T12:32:28+00:00\",\"description\":\"Een analoge bewegingsmelder slim maken met Shelly i3 WiFi schakelaar i.c.m. Domoticz\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg\",\"width\":500,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/04\\\/26\\\/bewegingsmelder-slim-maken-met-shelly-i3\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sydspost.nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bewegingsmelder slim maken met Shelly i3\"}]},{\"@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":"Bewegingsmelder slim maken met Shelly i3 - Mijn domotica projecten","description":"Een analoge bewegingsmelder slim maken met Shelly i3 WiFi schakelaar i.c.m. Domoticz","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\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/","og_locale":"nl_NL","og_type":"article","og_title":"Bewegingsmelder slim maken met Shelly i3 - Mijn domotica projecten","og_description":"Een analoge bewegingsmelder slim maken met Shelly i3 WiFi schakelaar i.c.m. Domoticz","og_url":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/","og_site_name":"Mijn domotica projecten","article_author":"https:\/\/www.facebook.com\/syds.post\/","article_published_time":"2021-04-26T12:32:28+00:00","og_image":[{"width":500,"height":500,"url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg","type":"image\/jpeg"}],"author":"Syds","twitter_card":"summary_large_image","twitter_misc":{"Geschreven door":"Syds","Geschatte leestijd":"6 minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/#article","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/"},"author":{"name":"Syds","@id":"https:\/\/www.sydspost.nl\/#\/schema\/person\/429f92898f98d9c4e01b8fad60975b21"},"headline":"Bewegingsmelder slim maken met Shelly i3","datePublished":"2021-04-26T12:32:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/"},"wordCount":1224,"commentCount":0,"publisher":{"@id":"https:\/\/www.sydspost.nl\/#organization"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg","keywords":["Bewegingsmelder","Busch-W\u00e4chter 220 AlarmLINE","Domoticz","Shelly i3"],"articleSection":["DIY projecten","Slimme scenario's"],"inLanguage":"nl-NL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/","url":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/","name":"Bewegingsmelder slim maken met Shelly i3 - Mijn domotica projecten","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/#primaryimage"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg","datePublished":"2021-04-26T12:32:28+00:00","description":"Een analoge bewegingsmelder slim maken met Shelly i3 WiFi schakelaar i.c.m. Domoticz","breadcrumb":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/"]}]},{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/#primaryimage","url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg","contentUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg","width":500,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/04\/26\/bewegingsmelder-slim-maken-met-shelly-i3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sydspost.nl\/"},{"@type":"ListItem","position":2,"name":"Bewegingsmelder slim maken met Shelly i3"}]},{"@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\/04\/abb-busch-jaeger-busch-w_chter-220-professionalline-bewegingsmelder-4173495.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/597","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=597"}],"version-history":[{"count":1,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/597\/revisions"}],"predecessor-version":[{"id":607,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/597\/revisions\/607"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media\/606"}],"wp:attachment":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media?parent=597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/categories?post=597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/tags?post=597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}