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

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_config-3.5.1a1.tar.gz (50.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_config-3.5.1a1-py3-none-any.whl (127.4 kB view details)

Uploaded Python 3

File details

Details for the file ovos_config-3.5.1a1.tar.gz.

File metadata

  • Download URL: ovos_config-3.5.1a1.tar.gz
  • Upload date:
  • Size: 50.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_config-3.5.1a1.tar.gz
Algorithm Hash digest
SHA256 f625d8c45a9f4757eea74d31c4451b710c686cebb2c16490b3ee23dbb2fbaa54
MD5 4b9c024d9464dfd4c40220500389b8f9
BLAKE2b-256 1531c80ab29e4d41b619cbd5142ef54a6855d0f9f181008d121daf5f554e4b59

See more details on using hashes here.

File details

Details for the file ovos_config-3.5.1a1-py3-none-any.whl.

File metadata

  • Download URL: ovos_config-3.5.1a1-py3-none-any.whl
  • Upload date:
  • Size: 127.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_config-3.5.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f400d7e7bf81748bc40a1574794334682761ac315a07fa2d0ef1578decc2b1d
MD5 1d59f836c126c8cdc6b76a66f2f436e9
BLAKE2b-256 b7a6a0fb62cffb692a541d7fa53e24d083f79101d10adb8887d575ef8d4f53d4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.5.1a1 This release

2 files

2.1.1

2 files

2.0.0

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.1

2 files

1.0.0

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

0.0.0

1 file

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