Picroft: Can't seem to add skills via voice or SSH

I just built a Picroft today and know very little about programming. It runs and answers basic questions, but I do not seem to be able to do much with it. Issues include:

I put my location in the device, but it still gives me GMT and the weather for Lincoln, NE. I live in Vermont, so not helpful.

I’d like to add Pandora and Internet radio, but it doesn’t recognize my request. I went into SSH with PuTTY and tried to add skills through msm but no dice. It is just not responding as the threads say it should.

What am I missing? Is there some functionality that is missing from the Picroft (Raspberry Pi 3)? Please, send me in a direction.

1 Like

Thanks for letting us know @darlingtom.

To confirm;

  • Did you burn the Picroft image to a Micro SD card and put that in the RPi 3?
  • When you Speak install pandora or install internet radio, what does Picroft respond?
  • Are you able to SSH into the Picroft and gather logs?

The logs should be at /var/log and the Mycroft logs are mycroft-*

Kind regards,
Kahy

I am the developer of the internet radio skill. From the command line you should be able to install it by typing msm install internet-radio

1 Like

I did burn Picroft into the Micro SD.

When I speak “install pandora” it says “Sorry, I could not find an answer for ‘install Pandora’ perhaps you meant ‘install’ instead?” Same with internet radio and pianobar

I typed in /var/log/mycroft-* and got:

pi@picroft:~ $ /var/log/mycroft-*
-bash: /var/log/mycroft-enclosure-client.log: Permission denied

Perhaps related, I updated my info for my device on mycroft.ai to indicate a) 24 hour clock preference and b) my location and I still get GMT in 12 hour clock and weather for Lincoln, NE. It’s been 12 hours since I last did that; and a few restarts of the Pi, it should have updated by now?

Thanks for your help.

Your skill is exactly what I want to access, but it, along with every other skill, seems elusive. Here is what happens in the command lines:

pi@picroft:~ $ msm install internet-radio
####### Mycroft Skill Manager #######
Cloning repository
fatal: repository ‘internet-radio’ does not exist
/home/pi/bin/msm: line 46: cd: internet-radio: No such file or directory
Skill installed!

Perhaps related, I updated my info for my device on mycroft.ai to indicate a) 24 hour clock preference and b) my location and I still get GMT in 12 hour clock and weather for Lincoln, NE. It’s been 12 hours since I last did that; and a few restarts of the Pi, it should have updated by now?

Thanks for your help.

So I just successfully installed this on a Mark 1, so we know it’s not the Skill itself that’s the issue.

pi@mark_1:~ $ msm install internet-radio
Searching for for 'internet-radio'...installing
Installing from: https://github.com/normandmickey/skill-internet-radio

I’m going to pin @forslund here to see if he may have some suggestions - Ake is there anything else we should be trying here?

Best, Kathy

Hello,

I get this:

pi@picroft:~ $ msm install internet-radio
####### Mycroft Skill Manager #######
Cloning repository
fatal: repository ‘internet-radio’ does not exist
/home/pi/bin/msm: line 46: cd: internet-radio: No such file or directory
Skill installed!
pi@picroft:~ $ msm install https://github.com/normadmickey/skill-internet-radio
####### Mycroft Skill Manager #######
Cloning repository
fatal: destination path ‘skill-internet-radio’ already exists and is not an empty directory.
Skill installed!

But it does not appear on my skills on Mycroft nor does it work with a command. Instead, it tells me it does not understand.

In general, I feel like the initial program is not meant to do more than the basics. It won’t recognize my location, or add skills. I feel like I did something wrong, but because Mycroft gives me an answer I know the speaker and wifi work–it just won’t update from the thing it was when it was born. No growth.

I suggest that you try to update mycroft-core.

  1. Type the following from the command line ‘sudo apt-get install mycroft-core’.
  2. If you get the following message do what it says. “E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a’ to correct the problem.”
  3. Reboot after you have successfully updated mycroft-core.
  4. To install the internet radio skill, type the following command ‘msm install internet-radio’.
  5. Try running commands using CLI. Run ‘mycroft-cli-client’ and wait a few minutes as Mycroft updates and configures the skills.
  6. The CLI allows you to type commands to Mycroft rather than speaking them. So if you type “What time is it” Mycroft should respond with your local time (assuming you set your location for your device at home.mycroft.ai". If you type “weather” Mycroft should respond with your current weather conditions.
  7. Finally type in “rock radio” and you should hear some awesome music (as provided by my internet radio station).

Hi,

which version of the picroft image did you install (i.e. what was the name of the image file you downloaded). As @Norman_Moore suggests updating might be a good first step. I would like to add to his step 1 by adding an update of the package listing and using the mycroft-picroft package instead of mycroft-core:

sudo apt-get update <- will update the package listing
sudo apt-get install mycroft-picroft <- will install latest mycroft-core and mycroft-wifi-setup

/Åke

Hello,

I updated as per @Norman_Moore and it told me I was running the most recent version. I did not get the message he thought I might get (E.dpkg…). When I tried to install internet radio it gave me the same old response that did not do anything.

I them followed forslund’s suggestion and got this:

pi@picroft:~ $ sudo apt-get update
Get:1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
Hit http://archive.raspberrypi.org jessie InRelease
Get:2 http://mirrordirector.raspbian.org jessie/main armhf Packages [9,536 kB]
Get:3 http://repo.mycroft.ai debian InRelease
Get:4 http://repo.mycroft.ai debian InRelease [3,196 B]
Err http://repo.mycroft.ai debian InRelease

Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:5 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43.3 kB]
Get:6 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84.2 kB                                                                                        ]
Get:7 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 9,683 kB in 23s (411 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not up                                                                                        dated and the previous index files will be used. GPG error: http://repo.mycroft.                                                                                        ai debian InRelease: The following signatures were invalid: KEYEXPIRED 149807914                                                                                        6 KEYEXPIRED 1498079146 KEYEXPIRED 1498079146 KEYEXPIRED 1498079146

W: Failed to fetch http://repo.mycroft.ai/repos/apt/debian/dists/debian/InReleas                                                                                        e

W: Some index files failed to download. They have been ignored, or old ones used                                                                                         instead.

Then I followed forslund’s second command and got:

pi@picroft:~ $ sudo apt-get install mycroft-picroft
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mycroft-picroft

It feels like I’m missing something critical because everyone advice seems logical but it seems to be missing a beat. Hmmm. I’m not technical enough to go into the code and mess around.

Thanks for the great support thus far!

Problem solved.

My image was: PiCroft_v0.8b_Raspian_JessieLite_2017-01-26 That was the one on the Mycroft site for Raspberry Pi

I went to GitHub and got: raspbian_Picroft_2018-10-19_v0.9

There was some confusion, as I somehow missed getting a registration code (or it wasn’t sent) so I reimaged using Win32 Disk Imager. I tried Etcher but it would not work and kept crashing. In the end, the raspbian_Picroft_2018-10-19_v0.9 worked.

Thanks for the support.

That’s great, glad you got it working.