Skip to content
David Salek edited this page Sep 17, 2017 · 20 revisions

Raspberry Pi Zero Voice Controlled Relay Switch

This project demonstrates how to use Raspberry Pi Zero with a relay switch for home automation. The relay switch can be controlled remotely:

  • either through a Cayenne dashboard
  • or using an external USB microphone and a speech recognition engine. For the latter option, an open source tool Judy is used. Judy respects privacy and performs the speech recognition directly on Raspberry Pi without a need of an internet connection.

The instructions to build this project are given in the following steps:

  1. Connect the relay switch to the Raspberry Pi Zero and test it using command line https://github.com/salekd/rpizero_relay/wiki/Relay-Switch
  2. Control the relay switch remotely through a Cayenne dashboard https://github.com/salekd/rpizero_relay/wiki/Cayenne
  3. Configure audio to recognise an external USB microphone https://github.com/salekd/rpizero_relay/wiki/Audio
  4. Use speech recognition to turn on/off lights https://github.com/salekd/rpizero_relay/wiki/Speech-Recognition
Clone this wiki locally