{"id":272,"date":"2021-03-14T14:12:40","date_gmt":"2021-03-14T14:12:40","guid":{"rendered":"https:\/\/www.sydspost.nl\/?p=272"},"modified":"2024-03-15T14:59:37","modified_gmt":"2024-03-15T14:59:37","slug":"shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2","status":"publish","type":"post","link":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/","title":{"rendered":"Shelly dimmer 2 aansturen met andere Shelly dimmer 2"},"content":{"rendered":"Dit slimme scenario heeft tot doel om een Shelly dimmer 2 aan te sturen met een andere Shelly dimmer.\n\n<!-- \/wp:post-content -->\n\n<!-- wp:paragraph -->\n\n<img loading=\"lazy\" decoding=\"async\" class=\" wp-image-274 alignleft\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1-300x300.jpg\" alt=\"\" width=\"214\" height=\"214\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1-300x300.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1-150x150.jpg 150w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1-768x768.jpg 768w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1-640x640.jpg 640w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1-666x666.jpg 666w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1-50x50.jpg 50w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1.jpg 1000w\" sizes=\"auto, (max-width: 214px) 100vw, 214px\" \/>In mijn woning hangen meerdere groepen met ledspots, zo hangen er in mijn woonkamer zo&#8217;n 12 ledspots aan de balken op 3 meter hoogte, en nogmaals 12 ledspots aan de balken op 6 meter hoogte. Beide groepen ledspots zitten aangesloten op een andere groep in de meterkast. Het aan- en uitzetten of dimmen van deze ledspots wordt geregeld met \u00e9\u00e9n impulsschakelaar. Normaliter zou dat niet kunnen, omdat je anders de groepen met elkaar gaat vermengen en als deze groepen dan ook nog vanuit verschillende fasen vanuit je meterkast wordt gevoed, dan wordt het helemaal spannend \ud83d\ude09\n\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n\n<img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-275 alignright\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly-shelly-dimmer-2-din-rail-mount-300x300.jpg\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly-shelly-dimmer-2-din-rail-mount-300x300.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly-shelly-dimmer-2-din-rail-mount-150x150.jpg 150w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly-shelly-dimmer-2-din-rail-mount-50x50.jpg 50w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly-shelly-dimmer-2-din-rail-mount.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>Ik heb dit opgelost door de groepen met ledspots in de meterkast aan te sluiten op hun eigen Shelly dimmer 2 die middels een DIN-rail mount in de groepenkast zijn bevestigd. Achter de impulsschakelaar in de woonkamer heb ik een derde Shelly dimmer 2 aangesloten.\n\nHieronder heb ik twee alternatieven beschreven om de Shelly&#8217;s onderling te laten communiceren. Het eerste alternatief werkt op basis van getasmotizde Shelly&#8217;s (Shelly Dimmer 2 voorzien van het Tasmota OS, zie ook mijn blog <a href=\"https:\/\/www.sydspost.nl\/index.php\/2022\/05\/29\/shelly-dimmer-2-tamotizen\/\">https:\/\/www.sydspost.nl\/index.php\/2022\/05\/29\/shelly-dimmer-2-tamotizen\/<\/a>) die onderling via UDP communiceren in een Tasmota DeviceGroup. Dit alternatief heb ik onlangs (13-12-2023) ontwikkeld en neemt alle nadelen weg die alternatief 2 kent.\n\nHet tweede alternatief is een oplossing via MQTT en Node-Red, hier verzorgt MQTT de onderlinge communicatie tussen de devices en Node-Red voor de logica. De Shelly Dimmer 2 met standaard Shelly firmware stuurt zijn aan- uit- en dim commando&#8217;s naar de MQTT server. In Node red heb ik vervolgens een flow aangemaakt die naar die MQTT-berichten luistert en deze doorgeeft aan de Shelly dimmers in de meterkast.\n\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n\nBenodigdheden:\n\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-08879a84-aad4-4749-93b1-292a41b31ba6\">\n \t<li>2 (of meer) Shelly dimmer 2&#8217;s<\/li>\n \t<li>Optioneel: Shelly dimmer 2 DIN rail mount voor inbouw in de groepenkast<\/li>\n \t<li>stukje Bruin 2.5mm\u00b2 VD-draad<\/li>\n \t<li>stukje Blauw 2.5mm\u00b2 VD-draad<\/li>\n \t<li>stukje Zwart 1.5mm\u00b2 VD-draad<\/li>\n \t<li>Paar Wago klemmen<\/li>\n \t<li>Schroevendraaier<\/li>\n \t<li>Kniptang<\/li>\n \t<li>Afstriptang<\/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 \t<li>Node Red<\/li>\n<\/ul>\n<!-- \/wp:list -->\n\n<\/div>\n<\/div>\n<!-- \/wp:group -->\n\n<!-- wp:paragraph -->\n\nPinout:\n\nShelly dimmer 2 #1 (bijv. in meterkast)\n<table style=\"height: 355px;\" width=\"681\">\n<tbody>\n<tr>\n<td width=\"81\">Connector<\/td>\n<td width=\"66\">Draad<\/td>\n<td width=\"61\">Kleur<\/td>\n<\/tr>\n<tr>\n<td width=\"81\">SW1<\/td>\n<td width=\"66\"><\/td>\n<td width=\"61\"><\/td>\n<\/tr>\n<tr>\n<td width=\"81\">SW2<\/td>\n<td width=\"66\"><\/td>\n<td width=\"61\"><\/td>\n<\/tr>\n<tr>\n<td width=\"81\">L<\/td>\n<td width=\"66\"><\/td>\n<td width=\"61\"><\/td>\n<\/tr>\n<tr>\n<td width=\"81\">L<\/td>\n<td width=\"66\">Fase<\/td>\n<td width=\"61\">Bruin<\/td>\n<\/tr>\n<tr>\n<td width=\"81\">L<\/td>\n<td width=\"66\"><\/td>\n<td width=\"61\"><\/td>\n<\/tr>\n<tr>\n<td width=\"81\">N<\/td>\n<td width=\"66\">Neutraal<\/td>\n<td width=\"61\">Blauw<\/td>\n<\/tr>\n<tr>\n<td width=\"81\">O<\/td>\n<td width=\"66\">Lamp<\/td>\n<td width=\"61\">Zwart<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\nShelly dimmer 2 #2 (bijv. in de woonkamer achter een schakelaar)\n<table style=\"height: 355px;\" width=\"681\">\n<tbody>\n<tr>\n<td width=\"81\">Connector<\/td>\n<td width=\"66\">Draad<\/td>\n<td width=\"61\">Kleur<\/td>\n<\/tr>\n<tr>\n<td width=\"81\">SW1<\/td>\n<td width=\"66\">Schakelaar uit<\/td>\n<td width=\"61\">Blauw<\/td>\n<\/tr>\n<tr>\n<td width=\"81\">SW2<\/td>\n<td width=\"66\"><\/td>\n<td width=\"61\"><\/td>\n<\/tr>\n<tr>\n<td width=\"81\">L<\/td>\n<td width=\"66\"><\/td>\n<td width=\"61\"><\/td>\n<\/tr>\n<tr>\n<td width=\"81\">L<\/td>\n<td width=\"66\">Fase<\/td>\n<td width=\"61\">Bruin<\/td>\n<\/tr>\n<tr>\n<td width=\"81\">L<\/td>\n<td width=\"66\"><\/td>\n<td width=\"61\"><\/td>\n<\/tr>\n<tr>\n<td width=\"81\">N<\/td>\n<td width=\"66\">Neutraal<\/td>\n<td width=\"61\">Blauw<\/td>\n<\/tr>\n<tr>\n<td width=\"81\">O<\/td>\n<td width=\"66\"><\/td>\n<td width=\"61\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\nDe ingang van de schakelaar zit middels een WAGO klem ook aangesloten op de neutraaldraad in je wandcontactdoos, zie ook onderstaand schema<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-290\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/ShellyD2_SWneutral_wiring-274x300.jpg\" alt=\"\" width=\"274\" height=\"300\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/ShellyD2_SWneutral_wiring-274x300.jpg 274w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/ShellyD2_SWneutral_wiring-937x1024.jpg 937w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/ShellyD2_SWneutral_wiring-768x839.jpg 768w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/ShellyD2_SWneutral_wiring.jpg 1000w\" sizes=\"auto, (max-width: 274px) 100vw, 274px\" \/>\n\nMontage:\n\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n\nDe Shelly dimmer 2 #1 heb ik middels een DIN-rail mount bevestigd in de groepenkast. Vervolgens heb ik de module voorzien van fase (L) en neutraal (N) en de uitgaande draad naar de lamp bevestigd op de output (O)\n\nDe Shelly dimmer 2 #2 heb ik aangesloten op de fase (L) en neutraal (N) draden in de wandcontactdoos. Op de neutraal heb ik een Wago klem gemonteerd, en vandaar een aftakking gemaakt naar de Ingang van de Impulsschakelaar. De uitgang van de Impulsschakelaar heb ik aangesloten op de SW1 connect van de Shelly dimmer 2.\n\n<span style=\"text-decoration: underline;\">Stappenplan Alternatief 1:<\/span>\n\nStap 1. Shelly&#8217;s getasmotized en geconfigureerd conform de beschrijving elder op deze website\n<ul>\n \t<li>https:\/\/www.sydspost.nl\/index.php\/2022\/05\/29\/shelly-dimmer-2-tamotizen\/<\/li>\n<\/ul>\nHierbij de shelly&#8217;s een zinvolle FCDN naam gegeven\n<ul>\n \t<li>Shelly dimmer 2 #1: Badkamer.sydspost.nl<\/li>\n \t<li>Shelly dimmer 2 #2: Badkamer-meterkast.sydspost.nl<\/li>\n<\/ul>\nstap 2. Tasmota DeviceGroup aangemaakt\n\nOpen hiervoor de Console binnen het Tasmota hoofdmenu op zowel Shelly dimmer 2 #1 als #2 en typ achtereenvolgens de volgende commando&#8217;s:\n<pre><span style=\"font-family: 'courier new', courier;\">SetOption85 1\nDevGroupName Badkamer\nDevGroupShare -1,-1\n<\/span><\/pre>\ntyp alleen op Shelly dimmer 2 #1 het volgende commando:\n<pre>DevGroupSend 128=1\nSwitchMode 11\nSetOption32 10\nRule 1 1\n\nRule1\non system#boot do var1 + ENDON\non switch1#state=2 do POWER TOGGLE ENDON\non switch1#state=4 do DIMMER %var1% ENDON\non switch1#state=7 do event upordown=%var1% ENDON\non event#upordown=+ do var1 - ENDON\non event#upordown=- do var1 + ENDON<\/pre>\ncheck daarna de instellingen op beide shelly&#8217;s met het commando:\n<pre><span style=\"font-family: 'courier new', courier;\">DevGroupStatus<\/span><\/pre>\nOutput van Shelly dimmer 2 #1 is bij mij:\n<pre><span style=\"font-family: 'courier new', courier;\">15:42:02.821 CMD: DevGroupStatus<\/span>\n<span style=\"font-family: 'courier new', courier;\">15:42:02.828 MQT: stat\/tasmota_E122AC\/RESULT = {\"DevGroupStatus\":{\"Index\":0,\"GroupName\":\"Badkamer\",\"MessageSeq\":7,\"MemberCount\":1,\"Members\":[{\"IPAddress\":\"192.168.2.68\",\"ResendCount\":0,\"LastRcvdSeq\":2,\"LastAckedSeq\":7}]}}<\/span><\/pre>\nen van Shelly dimmer 2 #2:\n<pre><span style=\"font-family: 'courier new', courier; font-size: 20px;\">15:43:11.126 CMD: DevGroupStatus<\/span>\n<span style=\"font-family: 'courier new', courier; font-size: 20px;\">15:43:11.133 MQT: stat\/tasmota_E1167F\/RESULT = {\"DevGroupStatus\":{\"Index\":0,\"GroupName\":\"Badkamer\",\"MessageSeq\":2,\"MemberCount\":1,\"Members\":[{\"IPAddress\":\"192.168.2.127\",\"ResendCount\":0,\"LastRcvdSeq\":7,\"LastAckedSeq\":2}]}}<\/span><\/pre>\nStap 3. Domoticz\n\nBinnen Domoticz een virtueel device toegevoegd met sensortype &#8220;Schakelaar&#8221; voor Shelly dimmer 2 #1, en deze daarna geconfigureerd als een dimmer. Vervolgens in Tasmota vanuit het hoofdmenu gekozen voor &#8220;Configuration&#8221; en &#8220;Configure MQTT&#8221; en het ip-address van mijn MQTT-server ingevoerd. Daarna in Tasmota vanuit het hoofdmenu gekozen voor &#8220;Configuration&#8221; en &#8220;Configure Domoticz&#8221; en bij Idx 1 het idx nummer van het virtuele device in Domoticz overgenomen.\n\nVoor beide shelly&#8217;s een virtueel device toegevoegd met sensortype &#8220;Temperatuur&#8221;. Vervolgens op Shelly dimmer 2 #2 ook in Tasmota vanuit het hoofdmenu gekozen voor &#8220;Configuration&#8221; en &#8220;Configure MQTT&#8221; en het ip-address van mijn MQTT-server ingevoerd. Daarna op beide shelly&#8217;s in Tasmota vanuit het hoofdmenu gekozen voor &#8220;Configuration&#8221; en &#8220;Configure Domoticz&#8221; en bij Idx 1 het idx nummer van betreffend virtuele device in Domoticz overgenomen.\n\n<span style=\"text-decoration: underline;\">Stappenplan Alternatief 2:<\/span>\n\nStap 1. Shelly&#8217;s geconfigureerd conform de beschrijving elders op deze website\n<ul>\n \t<li><a href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/08\/shelly-dimmer-2\/\">https:\/\/www.sydspost.nl\/index.php\/2021\/03\/08\/shelly-dimmer-2\/<\/a><\/li>\n<\/ul>\nStap 2. De shelly&#8217;s een zinvolle naam gegeven binnen Domoticz\n<ul>\n \t<li>Shelly dimmer 2 #1: Basisverlichting<\/li>\n \t<li>Shelly dimmer 2 #2: Basisverlichting schakelaar<\/li>\n<\/ul>\nStap 3. Button type van shelly dimmer 2 #1 Basisverlichting aangepast\n\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-292\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/pasted-image-0-1-300x163.png\" alt=\"\" width=\"674\" height=\"366\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/pasted-image-0-1-300x163.png 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/pasted-image-0-1-768x418.png 768w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/pasted-image-0-1.png 807w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/>\n\nStap 3. Een Node red flow aangemaakt\n<ul>\n \t<li>Deze Node red flow zorgt ervoor dat de aan-, uit- en dim commando&#8217;s die de Shelly dimmer 2 #2 Basisverlichting schakelaar naar MQTT verstuurd, omgezet wordt naar MQTT commando&#8217;s voor Shelly dimmer 2 #1 Basisverlichting.<\/li>\n<\/ul>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-291\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Basisverlichting-flow-300x59.jpg\" alt=\"\" width=\"676\" height=\"133\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Basisverlichting-flow-300x59.jpg 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Basisverlichting-flow-1024x203.jpg 1024w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Basisverlichting-flow-768x152.jpg 768w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/Basisverlichting-flow.jpg 1188w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Node<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Actie<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">MQTT in<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Leest MQTT berichten van shellydimmer2-E8DB84D6A91F (Basisverlichting schakelaar) topic shellies\/shellydimmer2-E8DB84D6A91F\/light\/0\/status<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Payload to http request<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Deze functie zet de MQTT commando\u2019s On (true), Off (false) en Set Level (Brightness) om naar http query parameter<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Basisverlichting<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Doet http request naar shellydimmer2-E8DB84D6A986 (Basisverlichting) met query parameters uit \u2018Payload to http request\u2019<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Keuken<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Doet http request naar shellydimmer2-E8DB84D2E117 (Keuken) met query parameters uit \u2018Payload to http request\u2019<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Plafondverlichting<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Doet http request naar shellydimmer2-shellydimmer2-D8BFC019EDE7 (Plafondverlichting) met query parameters uit \u2018Payload to http request\u2019<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<span style=\"font-weight: 400;\">Export:<\/span>\n\n<span style=\"font-weight: 400; font-family: 'courier new', courier; font-size: 10pt;\">[{&#8220;id&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;type&#8221;:&#8221;tab&#8221;,&#8221;label&#8221;:&#8221;Basisverlichting&#8221;,&#8221;disabled&#8221;:false,&#8221;info&#8221;:&#8221;&#8221;},{&#8220;id&#8221;:&#8221;996aa6da.a999d8&#8243;,&#8221;type&#8221;:&#8221;mqtt in&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;MQTT in&#8221;,&#8221;topic&#8221;:&#8221;shellies\/shellydimmer2-E8DB84D6A91F\/light\/0\/status&#8221;,&#8221;qos&#8221;:&#8221;2&#8243;,&#8221;datatype&#8221;:&#8221;auto&#8221;,&#8221;broker&#8221;:&#8221;ede154bd.f75f38&#8243;,&#8221;x&#8221;:110,&#8221;y&#8221;:60,&#8221;wires&#8221;:[[&#8220;1522a293.0d187d&#8221;]]},{&#8220;id&#8221;:&#8221;1522a293.0d187d&#8221;,&#8221;type&#8221;:&#8221;function&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Payload to http request&#8221;,&#8221;func&#8221;:&#8221;\/\/ {\\&#8221;ison\\&#8221;:false,\\&#8221;has_timer\\&#8221;:false,\\&#8221;timer_started\\&#8221;:0,\\&#8221;timer_duration\\&#8221;:0,\\&#8221;timer_remaining\\&#8221;:0,\\&#8221;mode\\&#8221;:\\&#8221;white\\&#8221;,\\&#8221;brightness\\&#8221;:49}\\&#8221;\\n\\nvar on_off = msg.payload.split(&#8216;:&#8217;)[1].substr(0,5).replace(&#8216;,&#8217;,&#8221;);\\nvar brightness = msg.payload.split(&#8216;:&#8217;)[7].substr(0,2);\\n\\nif (on_off == &#8217;true&#8217;)\\n{\\n\u00a0 \u00a0 on_off = &#8216;on&#8217;;\\n} else {\\n\u00a0 \u00a0 on_off = &#8216;off&#8217;;\\n}\\n\\nmsg.payload = &#8216;?turn=&#8217; + on_off + &#8216;&amp;brightness=&#8217; + brightness;\\n\\nreturn msg;&#8221;,&#8221;outputs&#8221;:1,&#8221;noerr&#8221;:0,&#8221;initialize&#8221;:&#8221;&#8221;,&#8221;finalize&#8221;:&#8221;&#8221;,&#8221;x&#8221;:370,&#8221;y&#8221;:60,&#8221;wires&#8221;:[[&#8220;590213ab.3ba16c&#8221;,&#8221;cf092c72.dc5f2&#8243;,&#8221;2b94118a.fa81ee&#8221;]]},{&#8220;id&#8221;:&#8221;590213ab.3ba16c&#8221;,&#8221;type&#8221;:&#8221;http request&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Basisverlichting&#8221;,&#8221;method&#8221;:&#8221;GET&#8221;,&#8221;ret&#8221;:&#8221;txt&#8221;,&#8221;paytoqs&#8221;:&#8221;ignore&#8221;,&#8221;url&#8221;:&#8221;http:\/\/shellydimmer2-E8DB84D6A986.sydspost.nl\/light\/0{{{payload}}}&#8221;,&#8221;tls&#8221;:&#8221;&#8221;,&#8221;persist&#8221;:false,&#8221;proxy&#8221;:&#8221;&#8221;,&#8221;authType&#8221;:&#8221;&#8221;,&#8221;x&#8221;:660,&#8221;y&#8221;:60,&#8221;wires&#8221;:[[]]},{&#8220;id&#8221;:&#8221;cf092c72.dc5f2&#8243;,&#8221;type&#8221;:&#8221;http request&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Keuken&#8221;,&#8221;method&#8221;:&#8221;GET&#8221;,&#8221;ret&#8221;:&#8221;txt&#8221;,&#8221;paytoqs&#8221;:&#8221;ignore&#8221;,&#8221;url&#8221;:&#8221;http:\/\/shellydimmer2-E8DB84D2E117.sydspost.nl\/light\/0{{{payload}}}&#8221;,&#8221;tls&#8221;:&#8221;&#8221;,&#8221;persist&#8221;:false,&#8221;proxy&#8221;:&#8221;&#8221;,&#8221;authType&#8221;:&#8221;&#8221;,&#8221;x&#8221;:640,&#8221;y&#8221;:140,&#8221;wires&#8221;:[[]]},{&#8220;id&#8221;:&#8221;2b94118a.fa81ee&#8221;,&#8221;type&#8221;:&#8221;http request&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Plafondverlichting&#8221;,&#8221;method&#8221;:&#8221;GET&#8221;,&#8221;ret&#8221;:&#8221;txt&#8221;,&#8221;paytoqs&#8221;:&#8221;ignore&#8221;,&#8221;url&#8221;:&#8221;http:\/\/shellydimmer2-D8BFC019EDE7.sydspost.nl\/light\/0{{{payload}}}&#8221;,&#8221;tls&#8221;:&#8221;&#8221;,&#8221;persist&#8221;:false,&#8221;proxy&#8221;:&#8221;&#8221;,&#8221;authType&#8221;:&#8221;&#8221;,&#8221;x&#8221;:670,&#8221;y&#8221;:220,&#8221;wires&#8221;:[[]]},{&#8220;id&#8221;:&#8221;ede154bd.f75f38&#8243;,&#8221;type&#8221;:&#8221;mqtt-broker&#8221;,&#8221;z&#8221;:&#8221;&#8221;,&#8221;name&#8221;:&#8221;pi&#8221;,&#8221;broker&#8221;:&#8221;192.168.2.29&#8243;,&#8221;port&#8221;:&#8221;1883&#8243;,&#8221;clientid&#8221;:&#8221;&#8221;,&#8221;usetls&#8221;:false,&#8221;compatmode&#8221;:false,&#8221;keepalive&#8221;:&#8221;60&#8243;,&#8221;cleansession&#8221;:true,&#8221;birthTopic&#8221;:&#8221;&#8221;,&#8221;birthQos&#8221;:&#8221;0&#8243;,&#8221;birthPayload&#8221;:&#8221;&#8221;,&#8221;closeTopic&#8221;:&#8221;&#8221;,&#8221;closeQos&#8221;:&#8221;0&#8243;,&#8221;closePayload&#8221;:&#8221;&#8221;,&#8221;willTopic&#8221;:&#8221;&#8221;,&#8221;willQos&#8221;:&#8221;0&#8243;,&#8221;willPayload&#8221;:&#8221;&#8221;}]<\/span>\n\n1-8-2021: Na gisteren de firmware te hebben geupdated naar versie 20210723-153500\/v1.11.0-Dimmer-g1d5998d, werkte de Node red flow niet meer. Analyse leverde op dat het bericht wat via MQTT wordt verstuurd inhoudelijk was gewijzigd:\n\nOud: {&#8220;ison&#8221;:false,&#8221;has_timer&#8221;:false,&#8221;timer_started&#8221;:0,&#8221;timer_duration&#8221;:0,&#8221;timer_remaining&#8221;:0,&#8221;mode&#8221;:&#8221;white&#8221;,&#8221;brightness&#8221;:49}&#8221;\n\nNieuw: {&#8220;ison&#8221;:false,&#8221;source&#8221;:&#8221;http&#8221;,&#8221;has_timer&#8221;:false,&#8221;timer_started&#8221;:0,&#8221;timer_duration&#8221;:0,&#8221;timer_remaining&#8221;:0,&#8221;mode&#8221;:&#8221;white&#8221;,&#8221;brightness&#8221;:51,&#8221;transition&#8221;:0}&#8221;\n\nVerschillen:\n\n&#8220;source&#8221;:&#8221;http&#8221; is toegevoegd\n\n&#8220;transition&#8221;:0 is toegevoegd\n\nDoor de toevoeging van het veld source werkte de flow niet meer, hieronder de flow voor firmware versie 20210723-153500\/v1.11.0-Dimmer-g1d5998d en hoger:\n\n<span style=\"font-family: 'courier new', courier; font-size: 10pt;\">[{&#8220;id&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;type&#8221;:&#8221;tab&#8221;,&#8221;label&#8221;:&#8221;Basisverlichting&#8221;,&#8221;disabled&#8221;:false,&#8221;info&#8221;:&#8221;&#8221;},{&#8220;id&#8221;:&#8221;996aa6da.a999d8&#8243;,&#8221;type&#8221;:&#8221;mqtt in&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;MQTT in Basisverlichting&#8221;,&#8221;topic&#8221;:&#8221;shellies\/shellydimmer2-E8DB84D6A91F\/light\/0\/status&#8221;,&#8221;qos&#8221;:&#8221;2&#8243;,&#8221;datatype&#8221;:&#8221;auto&#8221;,&#8221;broker&#8221;:&#8221;ede154bd.f75f38&#8243;,&#8221;x&#8221;:150,&#8221;y&#8221;:200,&#8221;wires&#8221;:[[&#8220;4bb6f964.e1aea8&#8221;]]},{&#8220;id&#8221;:&#8221;1522a293.0d187d&#8221;,&#8221;type&#8221;:&#8221;function&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Payload to http request&#8221;,&#8221;func&#8221;:&#8221;\/\/ {\\&#8221;ison\\&#8221;:false,\\&#8221;has_timer\\&#8221;:false,\\&#8221;timer_started\\&#8221;:0,\\&#8221;timer_duration\\&#8221;:0,\\&#8221;timer_remaining\\&#8221;:0,\\&#8221;mode\\&#8221;:\\&#8221;white\\&#8221;,\\&#8221;brightness\\&#8221;:49}\\&#8221;\\n\/\/ {\\&#8221;ison\\&#8221;:false,\\&#8221;source\\&#8221;:\\&#8221;http\\&#8221;,\\&#8221;has_timer\\&#8221;:false,\\&#8221;timer_started\\&#8221;:0,\\&#8221;timer_duration\\&#8221;:0,\\&#8221;timer_remaining\\&#8221;:0,\\&#8221;mode\\&#8221;:\\&#8221;white\\&#8221;,\\&#8221;brightness\\&#8221;:51,\\&#8221;transition\\&#8221;:0}\\&#8221;\\n\\nvar on_off = msg.payload.split(&#8216;:&#8217;)[1].substr(0,5).replace(&#8216;,&#8217;,&#8221;);\\nvar brightness = msg.payload.split(&#8216;:&#8217;)[8].substr(0,2);\\n\\n\/\/ node.warn(\\&#8221;Brightness: \\&#8221;+brightness);\\n\\nif (on_off == &#8217;true&#8217;)\\n{\\n msg.payload = &#8216;?turn=on&#8217; + &#8216;&amp;brightness=&#8217; + brightness;\\n flow.set(\\&#8221;initStatus\\&#8221;,&#8217;On&#8217;);\\n flow.set(\\&#8221;initLevel\\&#8221;,brightness);\\n\/\/ node.warn(\\&#8221;initStatus=On:\\&#8221;+msg.payload);\\n} else {\\n msg.payload = &#8216;?turn=off&#8217;;\\n flow.set(\\&#8221;initStatus\\&#8221;,&#8217;Off&#8217;);\\n flow.set(\\&#8221;initLevel\\&#8221;,brightness);\\n\/\/ node.warn(\\&#8221;initStatus=Off:\\&#8221;+msg.payload);\\n}\\n\\n\/\/ node.warn(\\&#8221;parameter=\\&#8221;+msg.payload);\\n\\nreturn msg;&#8221;,&#8221;outputs&#8221;:1,&#8221;noerr&#8221;:0,&#8221;initialize&#8221;:&#8221;&#8221;,&#8221;finalize&#8221;:&#8221;&#8221;,&#8221;x&#8221;:1190,&#8221;y&#8221;:200,&#8221;wires&#8221;:[[&#8220;590213ab.3ba16c&#8221;,&#8221;cf092c72.dc5f2&#8243;,&#8221;2b94118a.fa81ee&#8221;]]},{&#8220;id&#8221;:&#8221;590213ab.3ba16c&#8221;,&#8221;type&#8221;:&#8221;http request&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Basisverlichting&#8221;,&#8221;method&#8221;:&#8221;GET&#8221;,&#8221;ret&#8221;:&#8221;txt&#8221;,&#8221;paytoqs&#8221;:&#8221;ignore&#8221;,&#8221;url&#8221;:&#8221;http:\/\/shellydimmer2-E8DB84D6A986.sydspost.nl\/light\/0{{{payload}}}&#8221;,&#8221;tls&#8221;:&#8221;&#8221;,&#8221;persist&#8221;:false,&#8221;proxy&#8221;:&#8221;&#8221;,&#8221;authType&#8221;:&#8221;&#8221;,&#8221;x&#8221;:1460,&#8221;y&#8221;:140,&#8221;wires&#8221;:[[&#8220;48832255.954dac&#8221;]]},{&#8220;id&#8221;:&#8221;cf092c72.dc5f2&#8243;,&#8221;type&#8221;:&#8221;http request&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Keuken&#8221;,&#8221;method&#8221;:&#8221;GET&#8221;,&#8221;ret&#8221;:&#8221;txt&#8221;,&#8221;paytoqs&#8221;:&#8221;ignore&#8221;,&#8221;url&#8221;:&#8221;http:\/\/shellydimmer2-E8DB84D2E117.sydspost.nl\/light\/0{{{payload}}}&#8221;,&#8221;tls&#8221;:&#8221;&#8221;,&#8221;persist&#8221;:false,&#8221;proxy&#8221;:&#8221;&#8221;,&#8221;authType&#8221;:&#8221;&#8221;,&#8221;x&#8221;:1440,&#8221;y&#8221;:200,&#8221;wires&#8221;:[[&#8220;48832255.954dac&#8221;]]},{&#8220;id&#8221;:&#8221;2b94118a.fa81ee&#8221;,&#8221;type&#8221;:&#8221;http request&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Plafondverlichting&#8221;,&#8221;method&#8221;:&#8221;GET&#8221;,&#8221;ret&#8221;:&#8221;txt&#8221;,&#8221;paytoqs&#8221;:&#8221;ignore&#8221;,&#8221;url&#8221;:&#8221;http:\/\/shellydimmer2-D8BFC019EDE7.sydspost.nl\/light\/0{{{payload}}}&#8221;,&#8221;tls&#8221;:&#8221;&#8221;,&#8221;persist&#8221;:false,&#8221;proxy&#8221;:&#8221;&#8221;,&#8221;authType&#8221;:&#8221;&#8221;,&#8221;x&#8221;:1470,&#8221;y&#8221;:260,&#8221;wires&#8221;:[[&#8220;48832255.954dac&#8221;]]},{&#8220;id&#8221;:&#8221;dd87464a.d91c78&#8243;,&#8221;type&#8221;:&#8221;http request&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Get current status&#8221;,&#8221;method&#8221;:&#8221;GET&#8221;,&#8221;ret&#8221;:&#8221;obj&#8221;,&#8221;paytoqs&#8221;:&#8221;ignore&#8221;,&#8221;url&#8221;:&#8221;http:\/\/192.168.2.29:8080\/json.htm?type=devices&amp;rid=193&#8243;,&#8221;tls&#8221;:&#8221;&#8221;,&#8221;persist&#8221;:false,&#8221;proxy&#8221;:&#8221;&#8221;,&#8221;authType&#8221;:&#8221;&#8221;,&#8221;x&#8221;:410,&#8221;y&#8221;:60,&#8221;wires&#8221;:[[&#8220;1928ab8f.b99034&#8221;]]},{&#8220;id&#8221;:&#8221;4bb6f964.e1aea8&#8243;,&#8221;type&#8221;:&#8221;function&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Get message status&#8221;,&#8221;func&#8221;:&#8221;\/\/ {\\&#8221;ison\\&#8221;:false,\\&#8221;has_timer\\&#8221;:false,\\&#8221;timer_started\\&#8221;:0,\\&#8221;timer_duration\\&#8221;:0,\\&#8221;timer_remaining\\&#8221;:0,\\&#8221;mode\\&#8221;:\\&#8221;white\\&#8221;,\\&#8221;brightness\\&#8221;:49}\\&#8221;\\n\/\/ {\\&#8221;ison\\&#8221;:false,\\&#8221;source\\&#8221;:\\&#8221;http\\&#8221;,\\&#8221;has_timer\\&#8221;:false,\\&#8221;timer_started\\&#8221;:0,\\&#8221;timer_duration\\&#8221;:0,\\&#8221;timer_remaining\\&#8221;:0,\\&#8221;mode\\&#8221;:\\&#8221;white\\&#8221;,\\&#8221;brightness\\&#8221;:51,\\&#8221;transition\\&#8221;:0}\\&#8221;\\n\\n\\nvar on_off = msg.payload.split(&#8216;,&#8217;)[0].split(&#8216;:&#8217;)[1];\\nvar level = msg.payload.split(&#8216;,&#8217;)[7].split(&#8216;:&#8217;)[1].replace(&#8216;}&#8217;,&#8221;);\\n\\n\/\/ node.warn(\\&#8221;on_off=\\&#8221;+on_off);\\n\/\/ node.warn(\\&#8221;level=\\&#8221;+level);\\n\\nif (on_off == &#8217;true&#8217;)\\n{\\n on_off = &#8216;On&#8217;;\\n} else {\\n on_off = &#8216;Off&#8217;;\\n}\\n\\nflow.set(&#8216;msgStatus&#8217;,on_off);\\nflow.set(&#8216;msgLevel&#8217;,level);\\n\\n\/\/ node.warn(\\&#8221;initStatus: \\&#8221;+flow.get(&#8216;initStatus&#8217;));\\n\/\/ node.warn(\\&#8221;initLevel: :\\&#8221;+flow.get(&#8216;initLevel&#8217;));\\n\/\/ node.warn(\\&#8221;msgStatus=\\&#8221;+on_off);\\n\/\/ node.warn(\\&#8221;msgLevel=\\&#8221;+level);\\n\\nreturn msg;&#8221;,&#8221;outputs&#8221;:1,&#8221;noerr&#8221;:0,&#8221;initialize&#8221;:&#8221;&#8221;,&#8221;finalize&#8221;:&#8221;&#8221;,&#8221;x&#8221;:620,&#8221;y&#8221;:200,&#8221;wires&#8221;:[[&#8220;9d6d9b50.cb79f8&#8243;,&#8221;6c51e1e4.ff0dd&#8221;]]},{&#8220;id&#8221;:&#8221;9d6d9b50.cb79f8&#8243;,&#8221;type&#8221;:&#8221;switch&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;StatusChanged&#8221;,&#8221;property&#8221;:&#8221;initStatus&#8221;,&#8221;propertyType&#8221;:&#8221;flow&#8221;,&#8221;rules&#8221;:[{&#8220;t&#8221;:&#8221;neq&#8221;,&#8221;v&#8221;:&#8221;msgStatus&#8221;,&#8221;vt&#8221;:&#8221;flow&#8221;},{&#8220;t&#8221;:&#8221;eq&#8221;,&#8221;v&#8221;:&#8221;msgStatus&#8221;,&#8221;vt&#8221;:&#8221;flow&#8221;}],&#8221;checkall&#8221;:&#8221;true&#8221;,&#8221;repair&#8221;:false,&#8221;outputs&#8221;:2,&#8221;x&#8221;:900,&#8221;y&#8221;:200,&#8221;wires&#8221;:[[&#8220;1522a293.0d187d&#8221;],[]]},{&#8220;id&#8221;:&#8221;94b5871c.aeba78&#8243;,&#8221;type&#8221;:&#8221;inject&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Run Once at Startup&#8221;,&#8221;props&#8221;:[],&#8221;repeat&#8221;:&#8221;&#8221;,&#8221;crontab&#8221;:&#8221;&#8221;,&#8221;once&#8221;:true,&#8221;onceDelay&#8221;:0.1,&#8221;topic&#8221;:&#8221;&#8221;,&#8221;x&#8221;:160,&#8221;y&#8221;:60,&#8221;wires&#8221;:[[&#8220;dd87464a.d91c78&#8221;]]},{&#8220;id&#8221;:&#8221;1928ab8f.b99034&#8243;,&#8221;type&#8221;:&#8221;function&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;Store in Context&#8221;,&#8221;func&#8221;:&#8221;var status=msg.payload.result[0].Status;\\nvar level=msg.payload.result[0].Level;\\n\\n\/\/ node.warn(\\&#8221;initStatus=\\&#8221;+status);\\n\/\/ node.warn(\\&#8221;initLevel=\\&#8221;+level);\\n\\nflow.set(\\&#8221;initStatus\\&#8221;,status);\\nflow.set(\\&#8221;initLevel\\&#8221;,level);\\n\\nreturn msg;&#8221;,&#8221;outputs&#8221;:1,&#8221;noerr&#8221;:0,&#8221;initialize&#8221;:&#8221;&#8221;,&#8221;finalize&#8221;:&#8221;&#8221;,&#8221;x&#8221;:640,&#8221;y&#8221;:60,&#8221;wires&#8221;:[[]]},{&#8220;id&#8221;:&#8221;6c51e1e4.ff0dd&#8221;,&#8221;type&#8221;:&#8221;switch&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;LevelChanged&#8221;,&#8221;property&#8221;:&#8221;initLevel&#8221;,&#8221;propertyType&#8221;:&#8221;flow&#8221;,&#8221;rules&#8221;:[{&#8220;t&#8221;:&#8221;neq&#8221;,&#8221;v&#8221;:&#8221;msgLevel&#8221;,&#8221;vt&#8221;:&#8221;flow&#8221;},{&#8220;t&#8221;:&#8221;eq&#8221;,&#8221;v&#8221;:&#8221;msgLevel&#8221;,&#8221;vt&#8221;:&#8221;flow&#8221;}],&#8221;checkall&#8221;:&#8221;false&#8221;,&#8221;repair&#8221;:false,&#8221;outputs&#8221;:2,&#8221;x&#8221;:900,&#8221;y&#8221;:260,&#8221;wires&#8221;:[[&#8220;1522a293.0d187d&#8221;],[]]},{&#8220;id&#8221;:&#8221;48832255.954dac&#8221;,&#8221;type&#8221;:&#8221;debug&#8221;,&#8221;z&#8221;:&#8221;c55937e6.9d3e88&#8243;,&#8221;name&#8221;:&#8221;&#8221;,&#8221;active&#8221;:true,&#8221;tosidebar&#8221;:true,&#8221;console&#8221;:false,&#8221;tostatus&#8221;:false,&#8221;complete&#8221;:&#8221;false&#8221;,&#8221;statusVal&#8221;:&#8221;&#8221;,&#8221;statusType&#8221;:&#8221;auto&#8221;,&#8221;x&#8221;:1730,&#8221;y&#8221;:200,&#8221;wires&#8221;:[]},{&#8220;id&#8221;:&#8221;ede154bd.f75f38&#8243;,&#8221;type&#8221;:&#8221;mqtt-broker&#8221;,&#8221;z&#8221;:&#8221;&#8221;,&#8221;name&#8221;:&#8221;pi&#8221;,&#8221;broker&#8221;:&#8221;192.168.2.29&#8243;,&#8221;port&#8221;:&#8221;1883&#8243;,&#8221;clientid&#8221;:&#8221;&#8221;,&#8221;usetls&#8221;:false,&#8221;compatmode&#8221;:false,&#8221;keepalive&#8221;:&#8221;60&#8243;,&#8221;cleansession&#8221;:true,&#8221;birthTopic&#8221;:&#8221;&#8221;,&#8221;birthQos&#8221;:&#8221;0&#8243;,&#8221;birthPayload&#8221;:&#8221;&#8221;,&#8221;closeTopic&#8221;:&#8221;&#8221;,&#8221;closeQos&#8221;:&#8221;0&#8243;,&#8221;closePayload&#8221;:&#8221;&#8221;,&#8221;willTopic&#8221;:&#8221;&#8221;,&#8221;willQos&#8221;:&#8221;0&#8243;,&#8221;willPayload&#8221;:&#8221;&#8221;}]<\/span>\n\nNabeschouwingen:\n\nHoewel dit Alternatief 2 technisch gezien werkt zitten er wel een paar onhebbelijkheden is, namelijk:\n<ul>\n \t<li>Als je de Basisverlichting via de app, domoticz of google assistant uitzet, dan gaat hij automatisch na een paar seconden weer aan. Immers er is geen communicatie terug van Basisverlichting naar de schakelaar. Dus bij de eerstvolgende MQTT statusupdate van de schakelaar wordt de instelling van de Basisverlichting weer overruled.<\/li>\n \t<li>Het dim-commando wordt pas verstuurd nadat je de schakelaar hebt losgelaten, dus het is een beetje gokken welke dim-stand de Basisverlichting aanneemt.<\/li>\n \t<li>Je moet de schakelaar vrij lang ingedrukt houden om de Basisverlichting terug te dimmen.<\/li>\n<\/ul>\nBovenstaande nadelen van Alternatief 2 worden volledig weggenomen door Alternatief 1 wat uiteindelijk een betere functionaliteit biedt.\n\nNadelen Alternatief 1:\n<ul>\n \t<li>Je neemt afscheid van de meegeleverde software van Shelly. Veel zaken die je via de web userinterface van Shelly kunt regelen en overzichtelijk gepresenteerd worden, moet je binnen Tasmota via de console en tasmota commando&#8217;s regelen.<\/li>\n<\/ul><!-- \/wp:paragraph -->","protected":false},"excerpt":{"rendered":"<p>Dit slimme scenario heeft tot doel om een Shelly dimmer 2 aan te sturen met een andere Shelly dimmer. In<\/p>\n<p><a href=\"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/\" class=\"more-link\">Verder lezen<span class=\"screen-reader-text\">Shelly dimmer 2 aansturen met andere Shelly dimmer 2<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":274,"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":[34],"tags":[25,20,35],"class_list":["post-272","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-slimme-scenarios","tag-mqtt","tag-node-red","tag-shelly-dimmer-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Shelly dimmer 2 aansturen met andere Shelly dimmer 2 - Mijn domotica projecten<\/title>\n<meta name=\"description\" content=\"Met \u00e9\u00e9n shelly dimmer 2 meerdere shelly dimmers aan sturen zodat ze allemaal tegelijk aan-, uit- of dimmen.\" \/>\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\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shelly dimmer 2 aansturen met andere Shelly dimmer 2 - Mijn domotica projecten\" \/>\n<meta property=\"og:description\" content=\"Met \u00e9\u00e9n shelly dimmer 2 meerdere shelly dimmers aan sturen zodat ze allemaal tegelijk aan-, uit- of dimmen.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/\" \/>\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-14T14:12:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-15T14:59:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\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\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/\"},\"author\":{\"name\":\"Syds\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/person\\\/429f92898f98d9c4e01b8fad60975b21\"},\"headline\":\"Shelly dimmer 2 aansturen met andere Shelly dimmer 2\",\"datePublished\":\"2021-03-14T14:12:40+00:00\",\"dateModified\":\"2024-03-15T14:59:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/\"},\"wordCount\":2222,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/shelly_dimmer2_x1.jpg\",\"keywords\":[\"MQTT\",\"Node Red\",\"Shelly dimmer 2\"],\"articleSection\":[\"Slimme scenario's\"],\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/\",\"name\":\"Shelly dimmer 2 aansturen met andere Shelly dimmer 2 - Mijn domotica projecten\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/shelly_dimmer2_x1.jpg\",\"datePublished\":\"2021-03-14T14:12:40+00:00\",\"dateModified\":\"2024-03-15T14:59:37+00:00\",\"description\":\"Met \u00e9\u00e9n shelly dimmer 2 meerdere shelly dimmers aan sturen zodat ze allemaal tegelijk aan-, uit- of dimmen.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/shelly_dimmer2_x1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/shelly_dimmer2_x1.jpg\",\"width\":1000,\"height\":1000},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2021\\\/03\\\/14\\\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sydspost.nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shelly dimmer 2 aansturen met andere Shelly dimmer 2\"}]},{\"@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":"Shelly dimmer 2 aansturen met andere Shelly dimmer 2 - Mijn domotica projecten","description":"Met \u00e9\u00e9n shelly dimmer 2 meerdere shelly dimmers aan sturen zodat ze allemaal tegelijk aan-, uit- of dimmen.","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\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/","og_locale":"nl_NL","og_type":"article","og_title":"Shelly dimmer 2 aansturen met andere Shelly dimmer 2 - Mijn domotica projecten","og_description":"Met \u00e9\u00e9n shelly dimmer 2 meerdere shelly dimmers aan sturen zodat ze allemaal tegelijk aan-, uit- of dimmen.","og_url":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/","og_site_name":"Mijn domotica projecten","article_author":"https:\/\/www.facebook.com\/syds.post\/","article_published_time":"2021-03-14T14:12:40+00:00","article_modified_time":"2024-03-15T14:59:37+00:00","og_image":[{"width":1000,"height":1000,"url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1.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\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/#article","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/"},"author":{"name":"Syds","@id":"https:\/\/www.sydspost.nl\/#\/schema\/person\/429f92898f98d9c4e01b8fad60975b21"},"headline":"Shelly dimmer 2 aansturen met andere Shelly dimmer 2","datePublished":"2021-03-14T14:12:40+00:00","dateModified":"2024-03-15T14:59:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/"},"wordCount":2222,"commentCount":0,"publisher":{"@id":"https:\/\/www.sydspost.nl\/#organization"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1.jpg","keywords":["MQTT","Node Red","Shelly dimmer 2"],"articleSection":["Slimme scenario's"],"inLanguage":"nl-NL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/","url":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/","name":"Shelly dimmer 2 aansturen met andere Shelly dimmer 2 - Mijn domotica projecten","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/#primaryimage"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1.jpg","datePublished":"2021-03-14T14:12:40+00:00","dateModified":"2024-03-15T14:59:37+00:00","description":"Met \u00e9\u00e9n shelly dimmer 2 meerdere shelly dimmers aan sturen zodat ze allemaal tegelijk aan-, uit- of dimmen.","breadcrumb":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/"]}]},{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/#primaryimage","url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1.jpg","contentUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2021\/03\/shelly_dimmer2_x1.jpg","width":1000,"height":1000},{"@type":"BreadcrumbList","@id":"https:\/\/www.sydspost.nl\/index.php\/2021\/03\/14\/shelly-dimmer-2-aansturen-met-andere-shelly-dimmer-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sydspost.nl\/"},{"@type":"ListItem","position":2,"name":"Shelly dimmer 2 aansturen met andere Shelly dimmer 2"}]},{"@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\/shelly_dimmer2_x1.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/272","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=272"}],"version-history":[{"count":9,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":3447,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/272\/revisions\/3447"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media\/274"}],"wp:attachment":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}