shivasiddharth / GassistPi

Google Assistant for Single Board Computers
Other
1.02k stars 304 forks source link

Question: How can I enable safe shutdown via hotword ? #199

Closed jabulonboaz closed 6 years ago

jabulonboaz commented 6 years ago

How can I trigger voice activated shutdown please so I don’t have to turn the power off abruptly and damage the pi and the SD card ? I.e “Alexa or hey google shutdown”

shivasiddharth commented 6 years ago

I invested so much of time in drafting this extensive README and yet people dont read that "https://github.com/shivasiddharth/GassistPi#voice-control-of-gpios-servo-and-pi-shutdown"

jabulonboaz commented 6 years ago

@shivasiddharth i tried the instructions but its not working. You mentioned that by default the word is "trigger shutdown". When i say alexa or hey google trigger shutdown i get "sorry i don't see that iftt trigger" from alexa and "sorry i dont know how to help with that" from GA.

What am i doing wrong?

shivasiddharth commented 6 years ago

These custom commands dont work with Alexa. If GA says "sorry i dont know how to help with that" it means, it did not pickup the keyword "trigger". Manually start the assistant and see as to what it picks up your command as.

jabulonboaz commented 6 years ago

I tried again and again it wont shut down. It will ether not respond or say what i wrote before or say "sorry power controls is not yet supported" but it wont shutdown the pi. Could you please kindly remind me how do i start GA manually so i can check? I have implemented AssistansPi not GiassitPi btw.

shivasiddharth commented 6 years ago

Again the info you are requesting is there in README: https://github.com/shivasiddharth/GassistPi/blob/master/README.md#manually-start-the-assistant

jabulonboaz commented 6 years ago

I also tried "hey Google trigger kitchen lights on" etc for local triggering like you describe but i get "i am sorry i dont know how to help with that" Happy to do a debug if you tell me how.

jabulonboaz commented 6 years ago

These instructions are for GsssistPi i have not implemented that. I have AssitantsPi your other project. Are these the same?

shivasiddharth commented 6 years ago

https://github.com/shivasiddharth/Assistants-Pi/blob/master/README.md#note

jabulonboaz commented 6 years ago

@shivasiddharth thanks for posting this link but i have read it before. Sorry i can't seem find the part where you mention how to run the GA manually in AssistantsPi.