The Picroft project is an enclosure for a stock Raspberry Pi connected to a speaker and basic USB microphone. This is built around a Raspbian Jessie Lite installation. The entire project is available as a pre-built micro-SD image ready to be burned and placed into a Raspberry Pi. You can download the pre-built image here:
SHA256 checksum for the
Etcher Cross-Platform GUI SD card creator for RPi
Upon boot, Picroft will search for an Ethernet connection. If none is found, the Wifi Setup process will begin to get the device connected to any available network.
Once connected, you must pair the device at https://home.mycroft.ai using the code spoken by the device. You can also read the code on the screen.
After that, you can simply speak to Picroft as you would to any Mycroft implementation. For example:
"Hey Mycroft, what time is it?" "Mycroft, how tall was Abraham Lincoln?"
audio_setup.shconfigures your specific audio setup.
custom_setup.shis a stub meant to initialize any other IoT devices or services you might need like a DLNA server or syslog for example.
Typically the USB audio should be connected to hwplug:1,0 but to verify run the following:
Find the hwplug output for the device you want to use, take this and update the /etc/mycroft/mycroft.conf file accordingly:
"play_wav_cmdline": "aplay -Dhw:0,0 %1" this line now becomes "play_wav_cmdline": "aplay -Dplughw:1,0 %1"
You can now run ./auto_run.sh to start the program back up and test and ensure the output comes through the USB speakers.
There is an active Picroft community within the Mycroft's Mattermost which are welcome to join!