Google AIY Voicehat

Enables the button and LED on the Google AIY voicehat

google-aiy-voicehat-skill.kalyaninagaraj

Description:

This Mycroft skill roughly follows @andlo's code outline for the excellent picroft-google-aiy-voicekit skill. It provides the same functionality but uses the gpiozero library instead of RPi.GPIO to operate the button-LED combo connected to the voicehat.

Additionally, an extended button press (> 7 seconds) forces a Linux shutdown.

The idea is to test gpiozero's ability to handle switch bounce when polling for a button press; in my experience, RPi.GPIO doesn't register hold times too well.

Platform:

Installation:

This skill is not aproved by Mycroft skill tester.

mycroft-msm install https://github.com/kalyaninagaraj/google-aiy-voicehat-skill

Summary:

Github: https://github.com/kalyaninagaraj/google-aiy-voicehat-skill Owner: @kalyaninagaraj Created: 2020 Jan 02 10:53:30 UTC Last updated: 2020 Jan 03 20:14:10 UTC License: GNU General Public License v3.0

Categories: [ IoT ] Tags: #Mycroft #AI #Google #AIY #voicehat

Last updated