Skip to main content

A PHAL plugin for Neon/OVOS

Project description

Note: This plugin is planned to be deprecated.

PHAL plugin - GUI Network Client

GUI Network client is a graphical user frontend to network manager and allows configuring, modifying and deleting networks. This plugin is also utilizes Plasma Network Manager for additional model support.

Requirements

This plugin requires the following:

Install

pip install ovos-PHAL-plugin-gui-network-client

Event Details:

Plugin Registeration and Activation

The GUI network client registers itself as a networking plugin for the wifi client, The following events are used for managing registeration, deregisteration and activation status of the plugin.

     # WIFI Plugin Registeration and Activation Specific Events        
        self.bus.on("ovos.phal.wifi.plugin.stop.setup.event", self.handle_stop_setup)
        self.bus.on("ovos.phal.wifi.plugin.client.registered", self.handle_registered)
        self.bus.on("ovos.phal.wifi.plugin.client.deregistered", self.handle_deregistered)
        self.bus.on("ovos.phal.wifi.plugin.client.registration.failure", self.handle_registration_failure)
        self.bus.on("ovos.phal.wifi.plugin.alive", self.register_client)
Plugin Network Manager Interaction

The GUI network client utilizes the Network Manager for providing functionality such as activation of connections and deactivation of connections, the Plugin listens for the following events to display a success and failure passed from the network manager to display the status of connection activation and deactivation.

        # OVOS PHAL NM EVENTS
        self.bus.on("ovos.phal.nm.connection.successful", self.display_success)
        self.bus.on("ovos.phal.nm.connection.failure", self.display_failure)
Plugin GUI Events

The GUI network client utilizes the following button events that are emitted between the QML GUI and the python side of the plugin, they handle information flow and events flow between onscreen events and logicical operations of the plugin.

        # INTERNAL GUI EVENTS
        self.bus.on("ovos.phal.gui.network.client.back",
                    self.display_path_exit)
        self.bus.on("ovos.phal.gui.display.connected.network.settings",
                    self.display_connected_network_settings)
        self.bus.on("ovos.phal.gui.display.disconnected.network.settings",
                    self.display_disconnected_network_settings)
        self.bus.on("ovos.phal.gui.network.client.internal.back",
                    self.display_internal_back)
        
        # Also listen for certain events that can forcefully deactivate the client
        self.bus.on("system.display.homescreen", self.clean_shutdown)
        self.bus.on("mycroft.device.settings", self.clean_shutdown)

Project details


Download files

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

Source Distribution

neon-phal-plugin-gui-network-client-0.0.6.tar.gz (96.3 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file neon-phal-plugin-gui-network-client-0.0.6.tar.gz.

File metadata

File hashes

Hashes for neon-phal-plugin-gui-network-client-0.0.6.tar.gz
Algorithm Hash digest
SHA256 c83d9a0e58f4b47a9eaf44201dda3859d7f6168d238433735c8f3af6570b99df
MD5 a5393da1598a17b29e60a76471398d0d
BLAKE2b-256 da1d9d3e2039333fc8e2ac18777da74d40277a56cbb9d0ce66d4693fce1f6103

See more details on using hashes here.

File details

Details for the file neon_phal_plugin_gui_network_client-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for neon_phal_plugin_gui_network_client-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 33432c21e0092aab0a9e4f6172daa22638c605ecef6ebe5369cc1ee603341c61
MD5 0115cae9fc25603fd1a7004074839245
BLAKE2b-256 f0cdd7a3f18f127b7f05273db48ae85d9678e1a0935ffe1b7eb69cfec3caf8c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page