- Nouveau générateur scripts/gen_api_reference.py : 19 namespaces → docs/api/metier/ (10) + docs/api/systeme/ (9) + notifications.md + types.md (96 types · 55 enums · 4 flags) + SUMMARY.md literate-nav - Badges permissionScope (perm-none/control/configure/admin) dans extra.css - Guide docs/integrations/jsonrpc-api.md (connexion TCP/WS, auth, conventions énergie) - mkdocs.yml : Référence API dans la nav, REST→JsonRPC renommé - mkdocs build --strict : 0 warnings · --check idempotent Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6.4 KiB
NetworkManager
Méthodes
NetworkManager.ConnectWifiNetwork
ADMIN
Connect to the wifi network with the given ssid and password.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
interface |
String |
|
password |
String |
optionnel |
ssid |
String |
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError |
NetworkManager.CreateWiredConnection
ADMIN
Create a wired connection.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
interface |
String |
|
dns |
String |
optionnel |
gateway |
String |
optionnel |
ip |
String |
optionnel |
prefix |
Uint |
optionnel |
type |
WiredNetworkConnectionType |
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError |
NetworkManager.DisconnectInterface
ADMIN
Disconnect the given network interface. The interface will remain disconnected until the user connect it again.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
interface |
String |
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError |
NetworkManager.EnableNetworking
ADMIN
Enable or disable networking in the NetworkManager.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
enable |
Bool |
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError |
NetworkManager.EnableWirelessNetworking
ADMIN
Enable or disable wireless networking in the NetworkManager.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
enable |
Bool |
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError |
NetworkManager.GetNetworkDevices
ADMIN
Get the list of current network devices.
Paramètres :
Aucun paramètre.
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError | |
wiredNetworkDevices |
WiredNetworkDevice[] | optionnel |
wirelessNetworkDevices |
WirelessNetworkDevice[] | optionnel |
NetworkManager.GetNetworkStatus
ADMIN
Get the current network manager status.
Paramètres :
Aucun paramètre.
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError | |
status |
{'networkingEnabled': 'Bool', 'state': '$ref:NetworkManagerState', 'wirelessNetworkingEnabled': 'Bool'} |
optionnel |
NetworkManager.GetWirelessAccessPoints
ADMIN
Get the current list of wireless network access points for the given interface. The interface has to be a WirelessNetworkDevice.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
interface |
String |
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError | |
wirelessAccessPoints |
WirelessAccessPoint[] | optionnel |
NetworkManager.ScanWifiNetworks
ADMIN
Start a wifi scan for searching new networks.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
interface |
String |
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError |
NetworkManager.StartAccessPoint
ADMIN
Start a WiFi Access point on the given interface with the given SSID and password. Use DisconnectInterface to stop it again.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
interface |
String |
|
password |
String |
|
ssid |
String |
Retour :
| Champ | Type | Notes |
|---|---|---|
networkManagerError |
NetworkManagerError |
Notifications
NetworkManager.NetworkStatusChanged
Emitted whenever a status of a NetworkManager changes.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
status |
{'networkingEnabled': 'Bool', 'state': '$ref:NetworkManagerState', 'wirelessNetworkingEnabled': 'Bool'} |
NetworkManager.WiredNetworkDeviceAdded
Emitted whenever a new WiredNetworkDevice was added.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
wiredNetworkDevice |
WiredNetworkDevice |
NetworkManager.WiredNetworkDeviceChanged
Emitted whenever the given WiredNetworkDevice has changed.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
wiredNetworkDevice |
WiredNetworkDevice |
NetworkManager.WiredNetworkDeviceRemoved
Emitted whenever a WiredNetworkDevice was removed.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
interface |
String |
NetworkManager.WirelessNetworkDeviceAdded
Emitted whenever a new WirelessNetworkDevice was added.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
wirelessNetworkDevice |
WirelessNetworkDevice |
NetworkManager.WirelessNetworkDeviceChanged
Emitted whenever the given WirelessNetworkDevice has changed.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
wirelessNetworkDevice |
WirelessNetworkDevice |
NetworkManager.WirelessNetworkDeviceRemoved
Emitted whenever a WirelessNetworkDevice was removed.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
interface |
String |