ovos-PHAL-plugin - system
Provides system specific commands to OVOS. The dbus interface for this plugin is not yet established.
Install
pip install ovos-PHAL-plugin-system
Config
This plugin is a Admin plugin, it needs to run as root and to be explicitly enabled in mycroft.conf
{
"PHAL": {
"admin": {
"ovos-PHAL-plugin-system": {"enabled": true}
}
}
}
if not enabled (omit config above) it will be run as the regular user, you need to ensure polkit policy is set to allow usage of systemctl without sudo. Not yet implemented
handle bus events to interact with the OS
self.bus.on("system.ntp.sync", self.handle_ntp_sync_request)
self.bus.on("system.ssh.status", self.handle_ssh_status)
self.bus.on("system.ssh.enable", self.handle_ssh_enable_request)
self.bus.on("system.ssh.disable", self.handle_ssh_disable_request)
self.bus.on("system.reboot", self.handle_reboot_request)
self.bus.on("system.shutdown", self.handle_shutdown_request)
self.bus.on("system.factory.reset", self.handle_factory_reset_request)
self.bus.on("system.factory.reset.register", self.handle_reset_register)
self.bus.on("system.configure.language", self.handle_configure_language_request)
self.bus.on("system.mycroft.service.restart", self.handle_mycroft_restart_request)
Metadata
Release files for ovos-PHAL-plugin-system 1.3.4
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_phal_plugin_system-1.3.4.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ovos_phal_plugin_system-1.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.5 kB
Release files / ovos_phal_plugin_system-1.3.4.tar.gz
| Download URL | ovos_phal_plugin_system-1.3.4.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fadb4d2651d3016bb87b4c832b9e22585416ca235d3f46cefc865dccce94b29
|
|
BLAKE2b-256 checksum How to use checksums |
9195d181ad33e6650a1b2ad5dc8a6658c792f33df81005272a292e0679e98845
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / ovos_phal_plugin_system-1.3.4-py3-none-any.whl
| Download URL | ovos_phal_plugin_system-1.3.4-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16e8c2c07c621c3314a24b25a4ad16a0c75968fe1cc48585f635fb6e9e18f31f
|
|
BLAKE2b-256 checksum How to use checksums |
0a744ac803333990f49b770e353c5c89b54fa97dcae96cfde0bb4aa390d5295c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|