GithubHelp home page GithubHelp logo

alexxnica / enclosure-picroft Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mycroftai/enclosure-picroft

0.0 0.0 0.0 78 KB

Mycroft interface for Raspberry Pi environment

License: GNU Lesser General Public License v3.0

Shell 89.11% Python 10.89%

enclosure-picroft's Introduction

Welcome

Picroft 0.9.1

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:

Download img Picroft 0.9 image

SHA256 checksum for the raspbian_Picroft_2018-01-19_v0.9.1.zip image: d3041e41e7b6f1ca4f4b9ad3b4a665702b9dc32b285884d9bfdad8aefb9b788d

Requirements

  • Raspberry Pi 3 (Older versions do not have sufficient processing power, and if they work they will be very slow)
  • MicroSD Card (8 GB or larger)
  • Any analog speaker
  • USB Microphone. Tested with CM108-based microphones.

Installation

Official Raspberry Pi Image Installation Instuctions

Etcher Cross-Platform GUI SD card creator for RPi

Advanced Installation

Usage

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?"

Versions

  • 0.9.1 - Preloaded with mycroft-core 0.9.14, better pairing, CLI after boot
  • 0.9 - Preloaded with 17.08a, auto-upgrading from this repo
  • 0.8 - Connecting to Home backend
  • 0.5.1 - Fixed several audio issues with 0.5 image
  • 0.5 - Original image, connecting to Cerberus backend

Help and more info

Check out the project wiki here.
There's also the general Documentation.

There are two scripts run on startup

  • audio_setup.sh configures your specific audio setup.
  • custom_setup.sh is a stub meant to initialize any other IoT devices or services you might need like a DLNA server or syslog for example.

Using USB Audio as Output

Typically the USB audio should be connected to hwplug:1,0 but to verify run the following:

aplay -L

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!

enclosure-picroft's People

Contributors

aatchison avatar augustnmonteiro avatar benjaminhccarr avatar btotharye avatar forslund avatar kathyreid avatar kfezer avatar learnedvector avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.