Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

License Unit Tests codecov PRs Welcome Chat GitHub Discussions

OVOS-config

helper package to interact with the OVOS configuration

Configuration stack

OVOS merges several configuration files into a single configuration. They are loaded in the following order, with later layers overriding earlier ones:

Layer Path Written by
DefaultConfig bundled mycroft.conf OVOS (read only)
DistributionConfig /usr/share/mycroft/mycroft.conf distribution/image maintainers (read only)
SystemConfig /etc/mycroft/mycroft.conf system administrators (read only)
AssistantConfig ~/.config/mycroft/runtime.conf OVOS itself, at runtime
UserConfig ~/.config/mycroft/mycroft.conf the user

So the effective priority is user > assistant > system > distribution > default.

AssistantConfig (runtime.conf) is the place for OVOS components (skills and plugins, e.g. automatic location detection) to persist runtime changes. Keeping these writes out of the user config means OVOS can never accidentally corrupt or overwrite settings the user authored. Use update_assistant_config(config, bus) to write to it programmatically.

Remote configuration (the old Mycroft Home / mycroft.ai backend) has been removed. RemoteConf and the Mycroft*-prefixed config classes remain as deprecated aliases and will be dropped in a future release.

Command Line usage

A small helper tool is included to quickly show, get or set config values

ovos-config

Quick rundown (cli):

  • ovos-config get

    • Loose search (search a key or parts therof):

      Given an entry of

      {'PHAL': {
              'ovos-PHAL-plugin-system': {
                      'enabled': True
              },
              'ovos-PHAL-plugin-connectivity-events': {
                      'enabled': True
              },
              ... 
      }
      

      ovos-config get -k phal would yield all PHAL entries and present it to the user (and the path where they were found)

    • Strict search (search keys in a distinct location):

      ovos-config get -k /PHAL/ovos-PHAL-plugin-system/enabled

      This will output only the value or exit out if no key is found (root slash indicating a strict search)

  • ovos-config set

    • Searches loosely for keys containing the query string and presents a choice to the user to define a value

      ovos-config set -k phal

      ovos-config2

      The type is derived from the joined config and thus can be safely cast into the user conf.
      Optionally a value (-v) can be sent as an argument.

  • ovos-config autoconfigure

    Merges the recommended settings for a language (and optionally a platform, offline or online engines, and a voice) into the user configuration. The base recommends for each language include its localised wake_up word, which ends sleep mode, and its stop_recording word, which ends recording mode, each under the same hotword key in every language.

image

image

  • ovos-config show

    • Get a full table of either the joined, user (-u), system (-s) or assistant (-a) configuration. This can be further refined by passing a --section, which can be listed with ovos-config show -l

Metadata

Release files for ovos-config 3.9.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-config 3.9.0a1
File Size Uploaded Provenance Actions
ovos_config-3.9.0a1.tar.gz 55.5 kB Without provenance Details for ovos_config-3.9.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-config 3.9.0a1
File Interpreter ABI Platform Actions
ovos_config-3.9.0a1-py3-none-any.whl Python 3 none any Details for ovos_config-3.9.0a1-py3-none-any.whl

Total release size: 200.9 kB

Release files / ovos_config-3.9.0a1.tar.gz

Download URL ovos_config-3.9.0a1.tar.gz
Size 55.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3dcac94d9f3ddde02856d9292f44a9318afc4e49d7f0788cfa3410e5c4b349b5
BLAKE2b-256 checksum
How to use checksums
e2cbd1c8a1690ba26e1bcca3223547895e3982a33f5308c138de0834c4e9234e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_config-3.9.0a1-py3-none-any.whl

Download URL ovos_config-3.9.0a1-py3-none-any.whl
Size 145.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4401732c177a268ba85cd3dffd2d0cc6e6b8d6b4a9ea718546dd191f0a939897
BLAKE2b-256 checksum
How to use checksums
49fd618d2c67c944275ca385c2cd7e524c83c445d0442af9dd333577753c1cb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for ovos-config 3.9.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page