Read the statement by Michael Teeuw here.
Working Google-Assistant on Raspbian Buster and 4b
-
actually, i can’t do this (not coded)
I have coded this:
- wake up screen with voice (when calling assistant)
- delay turn off screen if mirror is not used
- if used pir detector : wake up the screen
- if used snowboy or MMM-Hotword and pi sensor : keyword activator is turn off when not used and need pir sensor to wake up
you can do that what addon ;)
-
@MilkShake
You can emit HOTWORD_PAUSE and HOTWORD_RESUME notification when you need if your PIR module could emit these notifications. Or to translate different notifications through MMM-NotificationTrigger. -
- if used snowboy or MMM-Hotword and pi sensor : keyword activator is turn off when not used and need pir sensor to wake up
you can do that what addon ;)
Does the keyword activator (I guess that is the code listening for a keyword?) pay a toll on the electrical bill and thus, you would like to turn it off?
Isn’t the snowboy/HotWord, PIR sensor and governor combo a means of achieving that?
-
@Sean So the python script that wakes up my screen along with the PIR, could potentially also emit a HOTWORD_RESUME and HOTWORD_PAUSE to the assistant along with executing a shellscript for turning on/off the screen. That sounds like the right way to go, but I have no clue how to do that and not enough time to figure it out :)
-
We solves the problem by instant messaging ;)
And all works
-
@Bugsounet
Share your works even briefly for others. :) -
for resume :
@MilkShake have a misconfig MMM-Hotword and turn on all AMk2 addons (include snowboy and porcupine)
so i will never works like this.
We change like this:
desactived MMM-Hotword
used: snowboy addons with “computer” keyword, Assistant2Display addonsand works:
notes : he have an RPI 4 (4go) , he use pir sensor.he send me his screen monitoring to add it in screen addon
I rewrite screen addon for solve screen issue
because actually only RPI3 is supportedwe will try screen/pir addon with his config tomorrow for sync with all AMk2 addon (Assistant2Display inclued)
and he should have CPU less (and electricity) usage on screen sleeping:
- when screen is on (wake up by pir sensor) snowboy will be on and display on
- when screen if off (setting by inused delay) -> all module is hidden, display is off and snowboy is off
it’s actualy my personnal AMk2 config
Edit:
we finish the configuration and everything works ;)
now screen/pir are linked to snowboy and Assistant2Display for more cpu save (and electricity) -
It works really well now. Mirror and assistant/addons turns on when the pir detects motion. Awesome combo of AssistantMk2 and Addons.