-
-
Notifications
You must be signed in to change notification settings - Fork 503
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Mycroft AI #1701
Comments
@LexiconCode This sound really nice, but as i rode about it, i'm not really aware, that it will run on every SBC as of now. They mention it only as a "ready to install" for RPi 3 and upper. If you want it to run on other devices you've get to go the other way.... -> https://github.com/MycroftAI/mycroft-core/blob/dev/README.md If it is supposed to run on every ever released device, the question should be than, why it isn't tested for more than RPi3 upper..... yeah, all may support "Debian Stretch", but which kernel at least and which modules does error if installed? Did you installed 'MycroftAI' on other devices than Raspberry? Not to be toxic but, if you want this, you may install it first and than open an issue which we all could get an efford at least, depending on its "errors".... I'm sure lot of ppl will be impressed if 'DietPi' could solve the problem and implement it somehow, aren't they? |
@SuBLiNeR looks like you may be new to Github. Welcome! I appreciate your feedback but there is no need to take that kind of tone with people in the community. I'm sure everyone would be impressed to recognize that no one has said 'DietPi' has to solve the problems and implement everything. Opening a ticket can be used to gauge interest and therefore the amount of effort that the community not just OP wants to invest in exploring and adding an addition to the DietPi platform. There are many examples within Dietpi that required testing and slight modification to work on the platform. DietPi currently has software that only works on certain SBCs. This is a place to gauge community interest and document testing. If you would like to be a part of that you're welcome to contribute. |
Install |
Added to FeatHub, feel free to vote for it: https://feathub.com/MichaIng/DietPi/+5 |
Who the hell pushed this FeatHub request so hard the last days/week 😄? Although cheating should be prevented via GitHub account login, nearly 20 votes in this short time makes me think 🤔 😄. However, maybe Mycroft devs or community found it and voted all together. I already had a look into it:
|
Someone may have advertise the dietpi platform and Mycroft FeatHub request 😉 on their forums. |
@LexiconCode Jep interesting project indeed, and spreading better earlier than later gives it better chance to stay against the commercial alternatives in voice assistant market. |
I couldn't help myself but post on mycroft forums. So that's where some of the votes come from at least. Mycroft has been running it on my raspberry pi for some time and has integrations for Home Assistant. It's great to see a voice assistant assistant that's built for privacy by design. |
Jep, I totally agree, way better than having one of these commercial devices, where suddenly users find their private conversations stored on an external server, and then reading reports about data abuse, security breaches and such. EDIT: I assigned v6.21 milestone. v6.20 is already in Beta, so no new features/software will be implemented. |
Just checking in @MichaIng as I know you're busy with other issues. Let me know when this is testable. I will gather support from the community abroad and myself to work out the bugs |
@LexiconCode |
Test install passed:
By default Mycroft asks you to register at
Ah here, Mycroft Skills Manager: https://mycroft.ai/documentation/msm/
Next would be a systemd unit to start the background services and an additional Another thing:
Note to self:
|
Procedure:
Using the above To start Mycroft in background, without CLI prompt:
PR about removing Python 2 install: MycroftAI/mycroft-core#2167
Couldn't hold myself to add some slight bash coding enhancements 😄: MycroftAI/mycroft-core#2166 |
If you have a repo I can provide a mimic deb for you so you don't need to build it. |
@forslund We do not have an own APT repo but could host the packages on our server for However nothing urgent, since the potential of an AI assistant is limited anyway without network access 😉. And everyone is free to build Mimic afterwards, when memory (+swap) size and time is there. I would add some instructions to our online docs then. Btw another question about this: I built Mimic on top of a non-Mimic install by simply re-running the |
Well mimic is written in C. I didn't wrongly assumed the Pi in the name meant Raspberry Pi hardware. Sorry for the confuzzlement :) There is an |
@forslund Did test install on real machine with microphone, found few things we need to take care:
We could further make the systemd unit run as an own user |
Security-wise it's a good idea to run mycroft as a non-root user since skills are python modules allowed to do anything python is allowed to do... It expects that it'll have a $HOME directory available for the user it's running as. We recommend using the |
Would be easiest to set the users home dir simply to the mycroft-core dir, as this makes as well backup etc. easier, same for skills dir. Also since DietPi allows to easily move the special Skills dir is already in @forslund |
You can relocate the main mycroft data dir using the config parameter The skills dir will then be |
Okay I think, since the datadir contains further dirs+files by time, we should:
This way variable data and the core install are in separete directories to avoid inteferences, but both easily moveable to external drive via DietPi tools. Needed to install py_mplayer module manually, somehow Mycroft failed to do this automatically:
|
PR up: #2931 |
@LexiconCode I found the default sample rate (16000) does not work with DietPi default asound.conf, that is set when choosing a sound card with equaliser disabled. What worked was adding the following to mycroft.conf:
I am thinking to add this to our Enabling equaliser broke it again with an error in Mycroft audio service. But all this might depend on the hardware, although I tested on all VMs with different emulated sound cards as well as another notebook (no VM). All required 48000 as sample rate when using default |
I'd look at my current that up and I'll get back to you tomorrow. If memory serves me correct I believe I used PulseAudio. |
My current hardware is a bit unusual for the microphone which means a strange config. I need to use something fully supported like PlayStation Eye via USB versus the add-on board I have now for the Raspberry pi. |
MycroftAI
Mycroft is a open source voice assistant. It can run anywhere – on a desktop computer, single board computers like the Raspberry Pi. It is open so it can be remixed, extended, improved. It can be used in anything from a science project to an enterprise software application.
Overview
Documentation
ADMIN EDIT: Vote for it on FeatHub: https://feathub.com/MichaIng/DietPi/+5
The text was updated successfully, but these errors were encountered: