pywebui.tcpip.devices

Module Contents

Classes

Device

Device object.

DeviceMethods

Encapsulates methods for manage devices.

class pywebui.tcpip.devices.Device(attrs)

Device object.

deviceSocket

the device socket.

Type

str

localPort

the local port of device.

Type

int

remoteHost

the remote host of device.

Type

str

remotePort

the remote port of device.

Type

int

service

the service of device.

Type

str

type

the type of device.

Type

str

class pywebui.tcpip.devices.DeviceMethods

Encapsulates methods for manage devices.

get_devices(self) List[Device]

Returns the list of all devices.

get_device(self, name) Device

Returns details for selected device.