<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Google Assistant Recipe to turn on the lights]]></title><description><![CDATA[<p dir="auto">I have this recipe that is executed once I say, I’m back home, Its already working,</p>
<p dir="auto">recently I add it the model TuyaSL, SmartLife app, and Also It worked perfectly with GA,</p>
<p dir="auto">I wanted to edit this recipe to turn on the light alongside the video playing, Can you please help me</p>
<pre><code>var recipe = {
    transcriptionHooks: {
        "imBackHome": {
            pattern: "I am back home",
            command: "playVideoAndTurnOnLights"
        }
    },

    commands: {
        "playVideoAndTurnOnLights": {
            shellExec: {
                exec: [
                    // Command to play the video using VLC
                    "vlc --play-and-exit --volume 512 -f /home/---recipe/home.mp4",
               
**(( What Can I add here to excuste the command to turn on the lights simultaneously.))**
            }
        }
    }
};

exports.recipe = recipe;

</code></pre>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.magicmirror.builders/topic/18490/google-assistant-recipe-to-turn-on-the-lights</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 16:41:59 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18490.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Feb 2024 14:03:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Google Assistant Recipe to turn on the lights on Tue, 13 Feb 2024 09:26:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alexjons" aria-label="Profile: Alexjons">@<bdi>Alexjons</bdi></a><br />
I’m not experienced with <code>MMM-TuyaSL</code>, but that module looks like <code>READ-AND-SHOW-ONLY</code> type. I couldn’t find any code for sending some commands or instructions outside. It means you cannot control your home devices with that module.<br />
If you get some success with GA, it might not be related to MMM-TuyaSL, but the reason would be your HA devices are connected to GA.</p>
]]></description><link>https://forum.magicmirror.builders/post/115560</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115560</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Tue, 13 Feb 2024 09:26:50 GMT</pubDate></item><item><title><![CDATA[Reply to Google Assistant Recipe to turn on the lights on Mon, 12 Feb 2024 21:41:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alexjons" aria-label="Profile: Alexjons">@<bdi>Alexjons</bdi></a> yes  I understand quite well. i have a similar automation in my home assistant.<br />
but it knows the light entities and an HA integration provides access to the device.</p>
<p dir="auto">when I enter my home zone, it unlocks the front door, turns on the lights(if it’s after sunset) and can play music if I want.</p>
<p dir="auto">using the new HA voice support I can ask it to turn on any lights</p>
<p dir="auto">I am sure that the tuya app provides the device identities to Google home, so they are accessible thru Google assistant (non MagicMirror)</p>
]]></description><link>https://forum.magicmirror.builders/post/115553</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115553</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 12 Feb 2024 21:41:58 GMT</pubDate></item><item><title><![CDATA[Reply to Google Assistant Recipe to turn on the lights on Mon, 12 Feb 2024 20:45:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> The SmartLife app is like Tuya App to control a bunch of smart home devices, I installed the model, “MMM-TuyaSL” and now I say, Jarvis, turn off the bed-room and voila.</p>
<p dir="auto">I wish to add a command to this recipe  ( that plays nice music once I’m back home, ) also to turn on the light simultaneously, but no luck so far,</p>
<p dir="auto">I hope I was able to explain better</p>
<p dir="auto">thank you so much</p>
]]></description><link>https://forum.magicmirror.builders/post/115551</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115551</guid><dc:creator><![CDATA[Alexjons]]></dc:creator><pubDate>Mon, 12 Feb 2024 20:45:54 GMT</pubDate></item><item><title><![CDATA[Reply to Google Assistant Recipe to turn on the lights on Thu, 08 Feb 2024 14:35:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alexjons" aria-label="Profile: Alexjons">@<bdi>Alexjons</bdi></a> said in <a href="/post/115369">Recipe to turn on the lights</a>:</p>
<blockquote>
<p dir="auto">recently I add it the model TuyaSL, SmartLife app, and Also It worked perfectly with GA,</p>
</blockquote>
<p dir="auto">what does that mean?</p>
<p dir="auto">‘app’ sounds like on phone, and maybe GA on phone?</p>
<p dir="auto">what do you say to GA on phone?</p>
]]></description><link>https://forum.magicmirror.builders/post/115370</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115370</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Feb 2024 14:35:10 GMT</pubDate></item></channel></rss>