This release is a pre-release and may not be stable for production use.
ovos-control-panel
A local web page for an OpenVoiceOS device. It runs on the device. It shows you if the device works, it lets you change the settings, and it makes backups.
There is no cloud account and no internet connection. Every file the page needs is in the package.
Read the full guide — start here
What you can do
| Page | What it does |
|---|---|
| Dashboard | Shows if the message bus and each OVOS service answer. |
| Settings | Changes your layer of mycroft.conf, as a form or as raw JSON or YAML. |
| Skills | Changes the settings of each installed skill. |
| Plugins | Finds OVOS plugins and installs them on the device. |
| Personas | Makes and edits personas — the ordered list of solvers that answer you. |
| Translate | Translates what a skill says and hears into your language. |
| Backup | Downloads a copy of your settings, and puts a copy back. |
| About | Shows the installed package versions and useful links. |
Signing in is covered in security.md. The interface is keyboard- and screen-reader-friendly and follows the device language, including right-to-left — see accessibility.md.
The page works on a phone. It follows the light or dark setting of your device.
Install
pip install ovos-control-panel
Run
ovos-control-panel # 127.0.0.1:8500, this device only
ovos-control-panel --host 0.0.0.0 --token my-secret # reachable from your phone
ovos-control-panel --port 9000
ovos-control-panel --no-bus # do not connect to the message bus
Then open http://<the address of your device>:8500/. If a token is set, the
page asks you to sign in once and then remembers you in a cookie.
Run it as a service
Write this to ~/.config/systemd/user/ovos-control-panel.service:
[Unit]
Description=OpenVoiceOS Web UI
After=ovos-messagebus.service
Wants=ovos-messagebus.service
[Service]
Type=simple
ExecStart=%h/.venvs/ovos/bin/ovos-control-panel --host 0.0.0.0 --port 8500 --token CHANGE-ME
Restart=on-failure
RestartSec=5
[Install]
WantedBy=default.target
Then start it:
systemctl --user daemon-reload
systemctl --user enable --now ovos-control-panel
journalctl --user -u ovos-control-panel -f
The service starts even when the message bus is down. The dashboard then tells you that the bus does not answer.
Security
The page changes the configuration of your device, so treat it like a key.
-
The default bind is
127.0.0.1, so only a user of the device can reach it. -
On any other address, set a token. Put it in
mycroft.conf:{"webui": {"access_token": "a long random string"}}
Or start the service with
--token. The page then asks you to sign in. The token goes in the body of a POST and comes back as a cookie, so it never appears in an address, a log or the browser history. -
With a token set, every page, asset and API call needs a sign in. Only the sign in page,
/api/status,/api/login,/api/logoutand/healthzanswer without one. -
Requests that change something must come from this page, not from another web site.
-
Without a token on a network address, the page shows a red banner.
-
The service never runs a shell command.
-
Do not put this page on the public internet. It has no TLS.
Backups
Every save first copies the old file into a .ovos-webui-backups directory
beside it. The name of the copy holds the time of the save. The last 20 copies
are kept. To undo a change, copy a backup back over the file.
Documentation
The full guide, with a page-by-page navigation table and a first-run walkthrough, lives in docs/README.md.
Development
pip install -e .[dev]
pytest tests -v
The tests need no network and no message bus. Bus behaviour is tested with
FakeBus from ovos-utils.
Related projects
- ovos-config — the configuration layers this page writes to
- ovos-busmon — watch the messages on the bus while you debug
- ovos-yaml-editor — a smaller editor for the configuration file alone
- ovos-plugin-manager — the source of the plugin lists in the Settings page
- ovos-core — the services the dashboard asks about
License
Apache-2.0 — see LICENSE.
Credits
Developed by TigreGotico for OpenVoiceOS.
Funded by NGI0 Commons Fund / NLnet under grant agreement No 101135429, through the European Commission's Next Generation Internet programme.
Release files for ovos-control-panel 0.0.1a42
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ovos_control_panel-0.0.1a42.tar.gz | 338.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ovos_control_panel-0.0.1a42-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 614.2 kB
Release files / ovos_control_panel-0.0.1a42.tar.gz
| Download URL | ovos_control_panel-0.0.1a42.tar.gz |
|---|---|
| Size | 338.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76bf15398a0b499274866940a3501e825b7bd68bf1944105fafc6895807b16ac
|
|
BLAKE2b-256 checksum How to use checksums |
92a867bd6d2920b29385df784268fbc6a8f683be6d3078f557bd0394a73100cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ovos_control_panel-0.0.1a42-py3-none-any.whl
| Download URL | ovos_control_panel-0.0.1a42-py3-none-any.whl |
|---|---|
| Size | 276.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f80c24938425292320c1086f31e0b8aebfd555b5e6f2f6533c3a6b8e7287c475
|
|
BLAKE2b-256 checksum How to use checksums |
ee630550c5e8e38dbcb32298d808cd81096bdfdc1f3b6dcbcbcf0e429e383df6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|