MycroftAI / mycroft-core

Mycroft Core, the Mycroft Artificial Intelligence platform.
https://mycroft.ai
Apache License 2.0
6.48k stars 1.27k forks source link

If mycroft home is blocked then dont try to pair #3125

Open kingpinzs opened 1 year ago

kingpinzs commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. block home.mycroft.ai
  2. try to use mycroft
  3. get pair my device

Cause https://github.com/MycroftAI/mycroft-core/blob/eb97bb339e506143ba40c162d09c66139c651315/mycroft/stt/__init__.py#L300 ` def wrapper(*args, *kwargs): try: return func(args, **kwargs) except HTTPError as e: if e.response.status_code == 401: LOG.warning('Access Denied at mycroft.ai')

phrase to start the pairing process

            return 'pair my device'`

Expected behavior allowed to use mycroft with out some skills

JarbasAl commented 1 year ago

you may want to look at https://github.com/OpenVoiceOS/OVOS-local-backend

mycroft-core does not work without the servers, but you can point the config to a "fake" server