Page 1 of 1

Calling python script via voice command Google Assistant

Posted: Sun Aug 11, 2019 3:25 pm
by 15arbete
Just recently got a pi 4, I understand how to create custom device actions using gactions and creating a device handler command in the hotwords.py.

I would like to be able to call another python file via the voice command, and in addition to that I would like to be able to have google assistant read a text file on voice command, are these things possible?

Any help would be much appreciated.