Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | Add Mycroft AI Open Source Voice Assistant as install option #2931

Merged
merged 8 commits into from Jun 24, 2019

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jun 22, 2019

Status: Ready

  • aSOFTWARE_REQUIRES_USERINPUT[$software_id]=1
  • Assure 2G RAM (in case raise swap file)
  • DietPi-Set_software | setpermissions
  • DietPi-Services | Add mycroft.service to control list
  • Changelog
  • Wiki software list
  • Forum docs: https://dietpi.com/phpbb/viewtopic.php?p=18562#p18562 (a start)
    • Interactive installer instructions
    • First run and pairing instructions
    • Config file to use: /mnt/dietpi_userdata/mycroft-data/.mycroft/mycroft.conf
  • Test/fix audio capture: Requires further testing, however seems to depends on microphone, in my case arecord by default took an invalid sample rate. The following worked, when adding to mycroft.conf:
  "listener": {
    "sample_rate": 48000
  }, # comma or not comma, depending on if it's the last entry 馃槈

Reference: #1701

Commit list/description:

  • DietPi-Software | Add Mycroft AI Open Source Voice Assistant as install option
  • DietPi-Software | Failsafe menu system to revert to main menu in case of invalid $TARGETMENUID, which would otherwise stuck in endless loop
  • DietPi-Software | Minor coding and wording
  • DietPi-Software | Mycroft AI: Fix sudo permissions without password
  • DietPi-Software | Mycroft AI: Fix git clone if dir already exists, remove invalid dir in case (no .git subdir)
  • DietPi-Software | Mycroft AI: Add aSOFTWARE_REQUIRES_USERINPUT[$software_id]=1 due to interactive installer, which updates the local git repo as well (thus no fresh clone required)
  • DietPi-Software | Mycroft AI: Assure that at least 2 GiB overall memory are available, otherwise increase swap file size accordingly

+ DietPi-Software | Add Mycroft AI Open Source Voice Assistant as install option
+ DietPi-Software | Failsafe menu system to revert to main menu in case of invalid $TARGETMENUID, which would otherwise stuck in endless loop
+ DietPi-Software | Minor coding and wording
@MichaIng MichaIng added this to the v6.25 milestone Jun 22, 2019
@MichaIng MichaIng self-assigned this Jun 22, 2019
+ DietPi-Software | Mycroft AI: Fix sudo permissions without password
+ DietPi-Software | Mycroft AI: Fix git clone if dir already exists, remove invalid dir in case (no .git subdir)
+ DietPi-Software | Mycroft AI: Add aSOFTWARE_REQUIRES_USERINPUT[$software_id]=1 due to interactive installer, which updates the local git repo as well (thus no fresh clone required)
+ DietPi-Software | Mycroft AI: Assure that at least 2 GiB overall memory are available, otherwise increase swap file size accordingly
+ DietPi-Software | Mycroft AI: Syntax
+ DietPi-Set_software | setpermissions: Add Mycroft AI
+ DietPi-Services | Add Mycroft AI
+ DietPi-Services | Start cron always last
+ CHANGELOG | DietPi-Software: Mycroft AI FOSS voice assistant is now available for install
+ DietPi-Software | Mycroft AI: Add Mycroft binaries to $PATH on login and add online docs URL
@MichaIng MichaIng merged commit 857d60a into dev Jun 24, 2019
@MichaIng MichaIng deleted the mycroft branch June 24, 2019 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant