BaseHub

BaseHub

new BaseHub()

Source:

Extends

  • EventEmitter

Members

(readonly) batteryLevel

Properties:
Name Type Description
batteryLevel number

Battery level of the hub (Percentage between 0-100)

Source:

(readonly) connected

Properties:
Name Type Description
connected string

Connected status

Source:

(readonly) connecting

Properties:
Name Type Description
connecting string

Connecting status

Source:

(readonly) firmwareVersion

Properties:
Name Type Description
firmwareVersion string

Firmware version of the hub

Source:

(readonly) hardwareVersion

Properties:
Name Type Description
hardwareVersion string

Hardware version of the hub

Source:

(readonly) name

Properties:
Name Type Description
name string

Name of the hub

Source:

(readonly) ports

Properties:
Name Type Description
ports Array.<string>

Array of port names

Source:

(readonly) primaryMACAddress

Properties:
Name Type Description
primaryMACAddress string

Primary MAC address of the hub

Source:

(readonly) rssi

Properties:
Name Type Description
rssi number

Signal strength of the hub

Source:

(readonly) type

Properties:
Name Type Description
type string

Hub type

Source:

(readonly) uuid

Properties:
Name Type Description
uuid string

UUID of the hub

Source: