This release is a pre-release and may not be stable for production use.
PHAL plugin - Network Manager
This plugin provides the network manager interface for OpenVoiceOS. It uses nmcli for all communication with NetworkManager. The D-Bus interface is a work in progress (#15).
Requires
This plugin needs nmcli.
Install
pip install ovos-PHAL-plugin-network-manager
Config
This plugin is an admin plugin. It needs to run as root and to be enabled in mycroft.conf.
{
"PHAL": {
"admin": {
"ovos-PHAL-plugin-network-manager": {"enabled": true}
}
}
}
If you omit this config, the plugin runs as the regular user. In that case, set the polkit policy to allow nmcli without sudo.
Event Details
Scanning
This plugin scans for nearby networks. Use the following event to start a scan.
# Scanning:
# ovos.phal.nm.scan
# - type: Request
# - description: Allows client to request for a network scan
#
# ovos.phal.nm.scan.complete
# - type: Response
# - description: Emited when the requested scan is completed
# with a network list
Connecting
This plugin connects to and disconnects from networks. Use the following events to manage a connection.
# Connecting:
# ovos.phal.nm.connect
# - type: Request
# - description: Allows clients to connect to a given network
#
# ovos.phal.nm.connection.successful
# - type: Response
# - description: Emitted when a connection is successfully established
#
# ovos.phal.nm.connection.failure
# - type: Response
# - description: Emitted when a connection fails to establish
#
# Disconnecting:
# ovos.phal.nm.disconnect
# - type: Request
# - description: Allows clients to disconnect from a network
#
# ovos.phal.nm.disconnection.successful
# - type: Response
# - description: Emitted when a connection successfully disconnects
#
# ovos.phal.nm.disconnection.failure
# - type: Response
# - description: Emitted when a connection fails to disconnect
Forget Networks
This plugin also forgets networks that a client already connected to. Use the following events to forget a network.
# Forgetting:
# ovos.phal.nm.forget
# - type: Request
# - description: Allows a client to forget a network
#
# ovos.phal.nm.forget.successful
# - type: Response
# - description: Emitted when a connection successfully is forgetten
#
# ovos.phal.nm.forget.failure
# - type: Response
# - description: Emitted when a connection fails to forget
Related projects
- OpenVoiceOS/ovos-PHAL: the hardware abstraction layer this plugin extends
- OpenVoiceOS/ovos-PHAL-plugin-wifi-setup: guides a device through first-time WiFi setup
License
Apache-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_phal_plugin_network_manager-1.3.7a2.tar.gz.
File metadata
- Download URL: ovos_phal_plugin_network_manager-1.3.7a2.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84611f5bce731e12eee48fa35ab1321e7af4216c4f5f8b7c2de0c8cf36e915a1
|
|
| MD5 |
b5382b3bed6baf1aaf5138161b3eab56
|
|
| BLAKE2b-256 |
cb127e8e50112e38a305da96dc0a877bc0a81ddbd924f6ebbd741cf00a97a124
|
File details
Details for the file ovos_phal_plugin_network_manager-1.3.7a2-py3-none-any.whl.
File metadata
- Download URL: ovos_phal_plugin_network_manager-1.3.7a2-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b9f72b1027bc5d8d55a10fb50863b63f6af42ba90bd0247d4b8dc6760ecc5c1
|
|
| MD5 |
1ccbe8c773d4156cd8a53ba009db6f9f
|
|
| BLAKE2b-256 |
b0055e3bdae44a5cf82ba891c061abb625048d80701213fc27e6ead2f9540010
|