its like revers what i did. i have to read a GPIO to turning HIGH and after it triggers GoogeAssistans to say something.
Or i write a recpie who autostart a script. the main function of the scrip is waiting to turn a GPIO HIGH. If a GPIO is HIGH it starts a mp3 file
maybe a easier way?
K
Latest posts made by Kala
-
RE: Recpie Question?
-
RE: Recpie Question?
just a Question because im interested i have an idea to make PIR sensor who detects me and triggers GA to say: “Hello How are you”
is that possible?
with the recepies? -
RE: Recpie Question?
my goal with this recpie is to say “licht bitte ein” and it starts a pythonscript
-
Recpie Question?
Hi guys i wrote a Recpie but if i start MM Fatal error recepie ligtcontrol.py come on the display
i checked my recpie but cant finde the mistake can you guys spot it?
//Backgroundlightning v.1 var recipe = { transcriptionHooks: { "GA_GPIO_true": { pattern: "licht bitte ein", command: "GA_GPIO_true" }, "GA_GPIO_false": { pattern: "licht bitte aus", command: "GA_GPIO_false" }, }, commands: { "GA_GPIO_true": { soundExec: { chime: "open", }, shellExec: { exec: "/home/pi/MagicMirror/lighton.py" } }, "GA_GPIO_false": { soundExec: { chime: "close", }, shellExec: { exec: "/home/pi/MagicMirror/lightoff.py" } }, } } exports.recipe = recipe // Don't remove this line.
Edit [@bugsounet]: add js code tag