Close

A New Home for piHole

A project log for VoiceBox

Adding a Flask web interface (and other stuff) to the Google AIY Voice Kit.

tmTM 07/31/2018 at 20:080 Comments

Time to port across the code from my previous "piHole" project, so we can send text-to-speech messages to the VoiceBox speaker. The code is pretty much unchanged from the old version apart from stealing Ashok's sysinfo style sheets for a consistent look ...

...and modifying the GPIO page to control VoiceBox peripherals.

A few notes on the GPIO controls:

To install, unzip piHole.zip to /home/pi/Python, then:

sudo cp /home/pi/Python/piHole/piHole.service /lib/systemd/system
sudo chmod 644 /lib/systemd/system/piHole.service
sudo systemctl daemon-reload
sudo systemctl enable piHole.service

Browse to <your-pi's-address>:9012 to test. 

*** DON'T WIRE UP THE NOKIA DISPLAY UNTIL YOU'VE READ THE SECTION ON WIRING! ***

Discussions