{"id":16525506,"url":"https://github.com/andrewn/resin-google-aiy","last_synced_at":"2026-05-28T23:31:04.320Z","repository":{"id":66464837,"uuid":"112252810","full_name":"andrewn/resin-google-aiy","owner":"andrewn","description":"Google AIY using ResinOS","archived":false,"fork":false,"pushed_at":"2017-11-27T21:59:07.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T02:24:52.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-27T21:51:54.000Z","updated_at":"2017-11-27T21:59:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f86b7590-68de-4013-bde8-1c1134fc55fc","html_url":"https://github.com/andrewn/resin-google-aiy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewn/resin-google-aiy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fresin-google-aiy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fresin-google-aiy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fresin-google-aiy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fresin-google-aiy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewn","download_url":"https://codeload.github.com/andrewn/resin-google-aiy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fresin-google-aiy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33630999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T17:03:43.762Z","updated_at":"2026-05-28T23:31:04.302Z","avatar_url":"https://github.com/andrewn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Google AIY on Resin OS\n===\n\nThis sets up the Google AIY project on a [ResinOS unmanaged Pi](https://resinos.io/).\n\n## Credentials\n\nYou need to [follow the instructions](https://aiyprojects.withgoogle.com/voice#users-guide-1-1--connect-to-google-cloud-platform) to get a `client_secrets_XXXX.json` file. The instructions say \"Using your voice recognizer device\" but you can do this on whatever device you're going use resin on.\n\nRename the `client_secrets_XXXX.json` file you download to `assistant.json` and place it in the directory containing the `Dockerfile`.\n\n## Installation\n\nProvision a Pi using the ResinOS [getting started instructions](https://resinos.io/docs/raspberrypi3/gettingstarted/) for your type of Pi.\n\nThe process can't be run completely automatically so you have to:\n- send the project to the Pi to be built using `resin local push --source .`\n- ssh into the Pi `resin local ssh`\n- run `/usr/app/start.sh`\n- follow the web link to link to your Google Acount\n- paste in the credential code that the web gives you into the terminal\n\nThe credentials are saved to `/data` so the authorisation should persist between container rebuilds.\n\nYou can then comment out the `CMD [\"bash\"]` line of the `Dockerfile` and incomment the `CMD [\"bash\", \"start.sh\"]` line which will start the assistant automatically on start-up.\n\n## Better sound with a phatDAC\n\nIf you also want to use a phat dac sound card for sound output:\n\n- ssh into the host `sudo resin local ssh --host`\n- Edit the `config.txt` using `vi`: `vi /mnt/boot/config.txt`\n- Press (capital) 'G' to jump to the bottom of the file\n- Press (lowercase) 'i' to begin editing\n- Comment out `#dtparam=audio=on`\n- Add the line `dtoverlay=hifiberry-dac` on the last line\n- Press ':x' to save the file\n- `sync`\n- `reboot`\n\nIt should then work.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn%2Fresin-google-aiy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewn%2Fresin-google-aiy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn%2Fresin-google-aiy/lists"}