thanks for quick response, now the skill installs without error, …, but another one followed:
mycroft.skills.core:load_skill:159 - ERROR - Failed to load skill: picroft-google-aiy-voicekit-skill.andlo Traceback (most recent call last): File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/mycroft/skills/core.py", line 143, in load_skill raise e File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/mycroft/skills/core.py", line 139, in load_skill skill.initialize() File "/opt/mycroft/skills/picroft-google-aiy-voicekit-skill.andlo/__init__.py", line 21, in initialize GPIO.setup(25,GPIO.OUT) RuntimeError: No access to /dev/mem. Try running as root!
after some research on the error message I found out that user mycroft must be member in usergroups for the devices it tries to access. In the end following helped:
sudo usermod -aG kmem mycroft
sudo usermod -aG gpio mycroft
After reboot now the LED lights up when Mycroft is listening, pressing button short makes Mycroft listen and pressing long makes it stop speaking. Fantastic work!
Unfortunately now I can no longer control volume (by volume-skill, alsamixer stills works). I should add that my AIY-PiCroft is running Debian-Jessie and is somewhat “broken” as this is my developement and testing device, so it is probably my installation and not your skill causing the problem…