So to start off with please bare in mind that I’m a total novice to this.
I was following a post by @dmwilsonkc who has been a massive help (thanks) but after try we found that my setup was not really right so decided to try on my own .
I’m running a raspberry pi 3 b+
32gb SD card
PS3 eye
And at the moment just using headphones
I followed this installation method for the ai
And installed MagicMirror2 manually
So far so good but with a few problems no surprises there. I’m successful paired together with mycroft home.
My first problem is that a lot of the skills aren’t working, a few are like the joke skill and timer skill, on skills that are not I get the I don’t understand that or try asking a different way / questions asked cli typing
Seconded problem is that the ps3 eye mic is hit or miss I had it working once but now nothing, when running pavucontrol mic is working fine but nothing when running mycroft-core nothing.
Problem 3 I don’t get no talk back just beeping so I’m lost on that one totally
the beeping totally my fault / ALARM lol
solved by “hay mycroft” / “delete all alarms”
the other problem i solved was my mic issues easy to solve by running these commands
pulseaudio -k
pulseaudio --start
now iv got to try figure out whats up with the skills, one thing with the skills iv noticed is that i cannot add or remove skills from mycroft home, but i could change the wake word.
@Jmh474 Awesome! Glad to hear you are nearly there! Wish I could help with the mic stuff, I’m only familiar with the RPi stuff. I had a terrible time myself getting pulseaudio started. I finally created a startup script to initiate the mycroft-core and to start pulseaudio.
#!/bin/bash
#start.sh for starting mycroft-core
Echo Waiting for MagicMirror to complete startup...
Sleep 25
Echo Starting Mycroft-core virtualenv...
Sleep 5
Cd /home/pi/mycroft-core/
start-pulseaudio-x11
./start-mycroft.sh all
Sleep 5
./start-mycroft.sh cli
That is the only way I could figure out to keep the pulseaudio running every time the RPi rebooted.
Yep, @Jmh474 capitalization is important on linux systems, so Pulseaudio is a completely different command to pulseaudio
@dmwilsonkc are the capitals in your script above just on the post, or are they in your actual script? I didn’t think Cd would work unless you’ve created an alias for it.
@gez-mycroft I used an iPad to make the post, and it has a bad habit of automatically capitalizing new lines. It is not in the actual startup script. Good catch. Sorry, I’ve got to watch that much closer.
You could try specifying the exact device Mycroft should use in your mycroft.conf file.
The audiotest now has an option to list the available devices so from your mycroft-core directory (usually ~/mycroft-core) run: ./start-mycroft.sh audiotest -l
From this output, copy the device name you want to use, eg “pulse”.
If it’s something like “HD-Audio Generic: ALC892 Analog (hw:1,0)” then you want to leave off the final “(hw:1,0)”.
Then edit the configuration file: nano ~/.mycroft/mycroft.conf
Add the following entry:
"listener": {
"device_name": "DEVICE_NAME"
}
Where “DEVICE_NAME” will be the full name copied from above. Also be sure to add a comma to the end of the previous line (JSON is not very forgiving).
but when i reboot the pi the mic is missing again, do i have to insert this code every time i run mycroft?
so to my other issue my skills are still not all working, i think mycroft dont seem to be is seeing them and i can not add or remove from mycroft.home im successfully paired as iv changed from hay mycroft to jarvis
yes after a reboot the file reverted back to as shown above, and yes sorry missed out the extra }. you’ll have to forgive me as this is my first project like this so its a big learning curve for me.
Hey, no trouble at all, hope we can get it all ironed out.
I’d say until we work out why the user level mycroft.conf is resetting itself, you could add the listener attribute to /etc/mycroft/mycroft.conf instead. Just be careful with the JSON formatting making sure there are the right number of brackets and comma’s. From your logs it actually looks it can’t currently read that file. Have you edited /etc/mycroft/mycroft.conf already?
Your skills.log is also saying you have uncommitted changes to a range of skills which means they are not matching with those found in the github repo’s. To trigger an update of all skills you can run: mycroft-msm update
If that doesn’t resolve it, I would try removing and reinstalling one specific skill and see if that helps. Eg:
So just a little bit of an update, I lost the plot and formatted the SD card .
But good news is mycroft is up and running, I have full control via skills market place, full voice control, mic working grate, sound via 3.5mm jack so I’m over the moon, still a few problems tho like to market place keeps dropping out but I think it could be my end (well I’m hoping it is).
Going to try installing MagicMirror2 later and add @dmwilsonkc skill, and see what other skills are out there.
Just one question is there any way to trigger a TIP120 for when mycroft is listening please as I have a 12v source I want to trigger (led strip)