![]() But I am a fast learner/tinkerer and am committed to seeing this through. I am looking for any suggestions that might help me or anyone willing to put in a little time to answer a few questions when I run into problems. I figure this is the best place to start. I have a Raspberry Pi 3 b running Debian Jessie (not lite) with MagicMirror and Mycroft both installed and operating without issues. Both start automatically on boot and operate independently. I did run into an issue with the libfann-dev library explained here with solution: Trying to install both Mycroft-Core and MagicMirror on the same PI Then once you follow all the instructions and have the MagicMirror working, then install the Mycroft-Core Then from the command line or linux terminal window follow installation instructions for MagicMirror For the skill I am proposing to work, a user would need to have a number of things on their Pi.įirst I started with a Raspberry Pi 3 b and a 16gb micro sd card.Īfter using etcher to put the image on the sd card, into the pi and boot. So… I thought I would try to build on an existing MagicMirror module called MMM-voice with the Hello-Lucy modifications to receive commands from a Mycroft skill. The MMM-voice module for MagicMirror is installed and works if I stop Mycroft. ![]() It’s an issue with having one microphone. (Error) audio open error: Device or resource busy. Essentially two applications can’t share the microphone without coming up with a solution to that (possibly using dsnoop). But my thinking is just to have Mycroft use the microphone and build a skill that passes commands to the MMM-voice module (java). I believe building the Mycroft Skill to do that will be rather straight forward using commands like the Hello-Lucy modifications. What would be the best way to have Mycroft send the command “HIDE_CLOCK” to the MMM-voice module to be processed? socketmessage? or to reuse the code written by fewieden and bring that into the Mycroft environment? Will I need to build an intent for each command? or would there be a way to use an array? (putting all of the Module names in the modules.voc file)Īs far as Dialog, Mycroft could respond "Hiding Clock" Whatever advice the community is willing to provide would be extremely helpful. Thanks! That is awesome! Makes sense to me. I just need to wrap my head around what each of the pieces of code do. My pan is to use Mycroft for the voive recognition portion given the microphone resource busy problem. The MMM-voice module has all the code to control the MagicMirror display properties so I see no reason to re-invent the wheel there. My thought is to have the MMM-voice module listening to a port instead of the microphone, and just send the commands to the port from mycroft. The MMM-voice module uses pocketsphinx for the voice recogniton and wake word detection is no where near as good as Mycroft. So my idea is to use fewieden’s code and modify it to listen to a port for the commands and bypass the pocketsphinx portion of this code. The Hello-Lucy is just modifications to fewieden’s code to allow for individual module controls and pages of modules. There’s even a free PDF of it as well.Will I need to create a number sample*.intent.json files to match the number of commands for the modules? Or will I just need a few? So here’s a question that will show how much I need to learn. Alternatively you can grab an issue online or get it digitally via our app on Android and iOS. The MagPi 54 is available in stores now from WHSmith, Tesco, Sainsbury's, and Asda. We’ve started doing this after a reader request: if you have any other similar ideas for the mag, drop us an email and we’ll see what we can do. ![]() We also continue our popular learn to code with C series from Simon Long, along with our usual selection of finely-crafted tutorials, guides, project focus articles, and reviews.Īlso, starting from this issue, you can grab all the code from the magazine in one handy zip from our website or our GitHub page for the issue. We also have a follow-up to our beginner's guide to coding from last issue, as Lucy Hattersley delves deeper into object-oriented programming by using examples in Scratch and Python. This amazing project won the community vote in our top 50 Raspberry Pi projects poll, so we decided to go all out and worked closely with Michael Teeuw (the creator of the winning project) to put together this definitive guide. We’ve finally gone and done it: we’ve got a build your own magic mirror feature in the magazine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |