Read the statement by Michael Teeuw here.
MMM-GoogleAssistant and LED Lights
- 
 Thanks guys 
- 
 I have write a special recipefor you, with the latested version of MMM-GoogleAssistant :)the recipename iswith-status.js(locating: with the latest version of GA in recipes directory)- How it’s works ?
 GA will send the status (stand-by, listen, …) to your wanted file
 /** with-status.js **/ /** send the status of assistant to a python script **/ /** For LED Strip for example **/ /** @bugsounet **/ var recipe = { commands: { "Status": { shellExec: { exec: (param) => { return "python /home/pi/myscript.py " + param.status.actual } } } }, plugins: { onStatus: "Status" }, } exports.recipe = recipeI have defined in the with-status.jssample
 to run this command :python /home/pi/myscript.py Status_of_GA- Status_of_GA can be :
- listen
- standby
- confirmation
- reply
- error
- hook
 
- You can change the name and the path of the script (I don’t force it) and can be and bash script or other
- How load this recipe ?
 in GA configuration, you have an recipe field just add it :) samples : - 
recipes: [ "with-status.js" ],
- 
recipes: [ "with-status.js", "with-MMM-TelegramBot.js" ],for some other recipe needed
 
- How it’s works ?
- 
 cool, thanks a lot for this, im looking forward to trying some stuff out! :) 
- 
 @Bugsounet 
 Hi guys, i’m new to python and i’m not sure how I would create a script that would turn on different GPIO pins depending on the GA staus. If someone could point me in the right direction that would be awesome!
- 
 @CallanPiper i have the same request. 
- 
 see the top of this topic. you will have to construct some of it 
- 
 @sdetweil yes i am using the recipe “with-status.js” but my question is how to use the status of GA in my python script or use different scripts on different status whichever is possible. 
- 
 @Sihtodstel i dont know. as i said u will have to construct some of this. 
