{"id":1246,"date":"2024-12-14T16:29:11","date_gmt":"2024-12-14T16:29:11","guid":{"rendered":"https:\/\/homeycornelisse.nl\/flow\/?p=1246"},"modified":"2024-12-14T16:30:53","modified_gmt":"2024-12-14T16:30:53","slug":"ventilatiebox-bedienen","status":"publish","type":"post","link":"https:\/\/homeycornelisse.nl\/flow\/2024\/12\/14\/ventilatiebox-bedienen\/","title":{"rendered":"Ventilatiebox bedienen"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\"><strong>Gedeelde script van: Jeroen Huls<\/strong><\/h5>\n\n\n\n<p>Voor mijn ventilatiebox heb ik een afstandsbediening slim gemaakt met een Fibaro Double Smart Module. Dit is een relais die de stroomkring van, in dit geval, de afstandsbediening compleet maakt. <\/p>\n\n\n\n<p>Om het indrukken na te bootsen en de stroomkring niet te lang compleet te houden (afstandsbediening zijn tip-toetsen) zet ik, op basis van ID van de schakelaar (*****), de schakelaar aan en 250ms later weer uit. Dit heb ik voor de Automatische stand en voor stand 2 van de ventilator. Er ligt nog een Double Smart Module klaar voor stand 3 en voor stand 1 of de timerstand. Voor iedere stand heb ik straks zo\u2019n script.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n\/* Stel de MV-box in *\/ \n\/\/ Apparaten specificeren let OrconAuto = await Homey.devices.getDevice({id: &quot;*****&quot;}); \n\/\/ Apparaten aan-uit \nOrconAuto.setCapabilityValue(&#039;onoff&#039;, true); \nawait wait(250); \nOrconAuto.setCapabilityValue(&#039;onoff&#039;, false); \n\/\/ Klaar return(true);\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Gedeelde script van: Jeroen Huls Voor mijn ventilatiebox heb ik een afstandsbediening slim gemaakt met&hellip;<\/p>\n","protected":false},"author":70,"featured_media":1247,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[104],"tags":[],"class_list":["post-1246","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-homey-script"],"_links":{"self":[{"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/posts\/1246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/users\/70"}],"replies":[{"embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/comments?post=1246"}],"version-history":[{"count":1,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/posts\/1246\/revisions"}],"predecessor-version":[{"id":1248,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/posts\/1246\/revisions\/1248"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/media\/1247"}],"wp:attachment":[{"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/media?parent=1246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/categories?post=1246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/tags?post=1246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}