I have installed fresh the image Picroft Stretch on a Raspberry Pi 3B+ with usb mic and speakers through the jack.
All sound is working great except that it gives error to control the Volume via speaking by using Volume skill.
Picroft - stretch 2018-09-13
Mycroft - 18.8.1
Mic - usb mic
Speakers via jack 3.5mm
Content of audio_setup.sh works fine and possible to set different volume levels by :
sudo amixer cset numid=3 “1” > /dev/null
amixer set PCM 99%
It is also possible to set different output sound level via the command line with ‘amixer set PCM xx%’ command.
However, by speaking to Mycroft and requesting to set a volume level, there is a crash/error in the Volume Skill. Log Output of mycroft-cli:
22:34:00.615 - main:handle_record_begin:35 - INFO - Begin Recording…
Playing WAVE ‘/home/pi/mycroft-core/mycroft/res/snd/start_listening.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
22:34:03.423 - main:handle_record_end:40 - INFO - End Recording…
22:34:03.432 - main:handle_wakeword:56 - INFO - Wakeword Detected: hey mycroft
22:34:05.373 - main:handle_utterance:61 - INFO - Utterance: [‘set the volume to 5’]
22:34:05.581 - mycroft.skills.core:wrapper:716 - ERROR - An error occurred while processing a request in Volume Skill
Traceback (most recent call last):
File “/home/pi/mycroft-core/mycroft/skills/core.py”, line 707, in wrapper
File “/opt/mycroft/skills/mycroft-volume.mycroftai/init.py”, line 95, in handle_set_volume
level = self.__get_volume_level(message, self.mixer.getvolume())
AttributeError: ‘VolumeSkill’ object has no attribute ‘mixer’
^— NEWEST —^
Thanks for the support.
Excellent job for the project.