This release is a pre-release and may not be stable for production use.
ovos-phal-plugin-browser
An OpenVoiceOS PHAL plugin whose hardware is a browser tab: volume, location, power, connectivity, sensors and the camera, answered on the bus exactly as the device plugins answer them, with the actual work done by the web page OVOS runs in.
It was made for Emkay, OpenVoiceOS in the browser (Pyodide), and is what Emkay uses. Any host that runs OVOS in a page can use it the same way.
What it answers
| Bus messages | Behaves like | The page does |
|---|---|---|
mycroft.volume.get/set/increase/decrease/mute/unmute/mute.toggle |
ovos-PHAL-plugin-alsa: percent 0..1, {percent, muted} answers and change reports, level kept in the plugin's settings |
sets the gain of the one audio node everything plays through |
ovos.ipgeo.update |
ovos-phal-plugin-ipgeo: fills the assistant config layer (below the user layer, so a location the user set always wins) | asks the browser's geolocation (the user is asked first); OVOS' get_reverse_geolocation turns it into city, country and time zone. Until then, the browser's time zone |
system.reboot, system.shutdown, system.mycroft.service.restart, system.factory.reset, system.configure.language, system.ssh.* |
ovos-PHAL-plugin-system | reloads the page, blanks the screen until tapped, wipes the saved data; ssh is reported as not available |
ovos.PHAL.internet_check |
ovos-PHAL-plugin-connectivity-events | reports navigator.onLine and its changes |
ovos.phal.camera.ping/open/close/get |
ovos-PHAL-plugin-camera: b64_frame JPEG answers |
opens the browser camera (the user is asked first) and takes a picture |
ovos.phal.sensor, ovos.phal.binary_sensor (emitted) |
ovos-PHAL-sensors | sends what the browser knows: battery, network, screen on and orientation, moving or still, how the phone lies, compass, storage, memory and CPU cores |
How a host uses it
The plugin talks to the page through one callable, given when it is made:
from ovos_phal_plugin_browser import BrowserPHAL
plugin = BrowserPHAL(bus=bus, config=config, post=send_to_page)
post(change: dict) gets what the page should do: {"volume": 0.6, "muted": false}, or {"request": "location" | "camera_check" | "camera_open" | "camera_close" | "picture" | "reload" | "off" | "forget_welcome"}. The page
answers through the plugin's methods: on_position(lat, lon, error),
on_picture(id, jpeg_b64, error) and on_page_event(event, data) for
"online", "sensor", "camera" and "picture".
Emkay's page side is web/device.js,
and the wiring is in worker_main.py.
On an ordinary device, with real hardware, use the device plugins instead.
Config
PHAL.ovos-phal-plugin-browser in mycroft.conf; nothing needs setting. The
volume is kept in ~/.config/OpenVoiceOS/ovos-phal-plugin-browser.json.
License
Apache-2.0
Metadata
Release files for ovos-phal-plugin-browser 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovos_phal_plugin_browser-0.1.0a1.tar.gz | 15.7 kB | With provenance | Details for ovos_phal_plugin_browser-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_phal_plugin_browser-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for ovos_phal_plugin_browser-0.1.0a1-py3-none-any.whl |
Total release size: 31.9 kB
Release files / ovos_phal_plugin_browser-0.1.0a1.tar.gz
| Download URL | ovos_phal_plugin_browser-0.1.0a1.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18aef89e20c8198c7b6541dd18622336d686d673e713e0fb4ae98496c4ce1cb7
|
|
BLAKE2b-256 checksum How to use checksums |
b96c3f654a3357187be8a2a927e46f1751c7e5a618edcf56104d5d54d53216e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / ovos_phal_plugin_browser-0.1.0a1-py3-none-any.whl
| Download URL | ovos_phal_plugin_browser-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c6fa7009272d9ef5965e1d566039982b7dd56f12f1c93bdf579a0652ab37111
|
|
BLAKE2b-256 checksum How to use checksums |
136ff5a9c9b80f7e4db3574925e474d9a06efc6a0ef11741916650b5aabdacf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for ovos-phal-plugin-browser 0.1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ovos_phal_plugin_browser-0.1.0a1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA 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.