Mycroft Community Forum

Testing and Feedback for Magic-Mirror-Voice-Control-Skill

thanks for the fast reply not much else i wanted really just asking if your still tinkering with the skill, but again grate work

as soon as the magic mirror server is not active, you will get a second error error message every second
“Bei der Verarbeitung der Anfrage ist ein Fehler im Skill Magic Mirror Voice
Control Skill aufgetreten.” pretty nerf.

@gras64 I will work on error handling for that event. Sorry.

How can we add more modules into the “availablemodules.json” file?

@Anthony_36 You can create a Pull Request for the modules you want and I can add them. You could add them yourself but they will be replaced on an update, so you could create a backup of that file after you’ve added the modules you’d like added in case the skill gets updated. If you look at it, it is a simple json file and the parts for each module you want added are pretty self explanatory. If you do a PR please include a link to the module’s url. I will update it, but not if I have to hunt for the module.

Submit the PR here

I thought that I must do much more for it to work. So if I add in availablemodules.json a small array containing the module’s url, mycroftname etc like all the others it will work just like that? If so I will do ti my self with a back up folder as you mentioned. Thank you for the tip.

@gras64 So I had the opportunity to identify instances in the code that throw the “There was an error processing a request in the MagicMirrorVoiceControl skill” error. I think I have made the necessary code changes to account for possible errors and address them so the annoying “error processing request” errors no longer happen. I also made changes in the code to check for connection and whether my fork of the MMM-kalliope is installed and configured. If you get a chance, go to the magic-mirror-voice-control-skill directory in the skills directory /mycroft-core/skills/magic-mirror-voice-control-skill/ and type

git pull

To update the skill.

Let me know if you find any other errors I need to address.


1 Like

Hi @Jmh474, @gras64, and @Anthony_36

This Skill is currently being reviewed to be included in the public Skills Marketplace. It sounds like you are all using the skill currently so your experience is the best indicator of whether it’s functioning as expected.

Based on the skills current, if a User installed this from the Marketplace, would they be able to get setup and perform all the actions described in the example intents?

Is there anything that you think needs to be modified before it is merged into the Marketplace?

hello, I have a problem with Magic-mirror-Voice-Control-Skill.
All works before yesterday.
Yesterday I update mycroft to the latest version 19.8.0 and now at the start of Mycroft I have the following error:

2019-09-27 22:47:28.701 | ERROR    |  9316 | mycroft.skills.skill_loader:_load_skill_source:209 | Failed to load skill: magic-mirror-voice-control-skill (ImportError("No module named ''",))
Traceback (most recent call last):
  File "/home/pi/mycroft-core/mycroft/skills/", line 202, in _load_skill_source
('.py', 'rb', imp.PY_SOURCE)
  File "/usr/lib/python3.5/", line 234, in load_module
return load_source(name, filename, file)
  File "/usr/lib/python3.5/", line 172, in load_source
module = _load(spec)
  File "<frozen importlib._bootstrap>", line 693, in _load
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 673, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/opt/mycroft/skills/magic-mirror-voice-control-skill/", line 31, in <module>
from import WebsocketClient
ImportError: No module named ''
2019-09-27 22:47:28.730 | ERROR    |  9316 | mycroft.skills.skill_loader:_communicate_load_status:280 | Skill magic-mirror-voice-control-skill failed to load

Any suggestion? how fix it?

Thanks a lot

I do not know why this error is occurring. Obviously if it happened after the update, something changed with Mycroft’s code. We can ask @gez-mycroft to look into what may have changed with Mycroft-core’s web socket.

I made that change al the issue disappear:

I have the problem “No module named” also with many other skills. it seems to me that the dependent rent for updates are not installed properly. no idea.

Hey, checkout this change to the Reminder Skill to see how you can switch it over to the new format.

@gez-mycroft Thanks! I’ve been swamped at work so I haven’t really had a chance to look at this. I’ll update the skill to the MessageBusClient, but I probably won’t be able to get to it for a couple of weeks. Thanks, Dave.

1 Like

hey, i got this module with kalliope running.
But everytime a command for magic mirror is taken and working, for example “show clock” this message appears:

16:30:02.876 | ERROR | 12970 | mycroft.skills.mycroft_skill.mycroft_skill:on_error:785 | An error occurred while processing a request in Magic Mirror Voice Control Skill
Traceback (most recent call last):
File “/home/pi/mycroft-core/mycroft/skills/mycroft_skill/”, line 66, in wrapper
File “/opt/mycroft/skills/magic-mirror-voice-control-skill/”, line 451, in handle_module_command
response = status[‘status’]
KeyError: ‘status’
^— NEWEST —^`

how to fix that?

another question, how can i add other modules for showing and hiding?
for example:

tried some things, but then magic-mirror-voice-control-skill won’t start anymore…


@wuse_mann Sorry, I’m just slammed with work. I’m not sure what is causing your error. I will look into it when I get some time. In the meantime, I have updated the skill to work with Mycroft version 19.8.0 .

1 Like

@wuse_mann I have added the skill to the availablemodule.json. Update the skill and it should work provided you installed the MagicMirror and all of the necessary modules properly. Also when you say you installed MMM-Kalliope, did you install my fork of the skill?? Found here?

If you want other modules added to the availablemodules.json, you can add them yourself, its just a simple .json array. Of course, it will be replace if you do an update. You could make a backup of the file and store it in a different folder. See reply 10 above.

1 Like

thanks got all up and running :slight_smile:

@wuse_mann Great to hear! Would you mind looking at this post and adding your feedback?