lpf2.alerts

Warnings a hub can show in a LEGO app, for lpf2.hub_emulation.setAlert().

Attributes

HIGH_CURRENT

Motor / port current above safe limit.

LOW_BATTERY

Battery voltage below the configured minimum.

LOW_SIGNAL_STRENGTH

BLE RSSI below acceptable threshold.

OVER_POWER_CONITION

Sustained over-power condition on one or more ports.

Module Contents

lpf2.alerts.HIGH_CURRENT: int = 2[source]

Motor / port current above safe limit.

lpf2.alerts.LOW_BATTERY: int = 1[source]

Battery voltage below the configured minimum.

lpf2.alerts.LOW_SIGNAL_STRENGTH: int = 3[source]

BLE RSSI below acceptable threshold.

lpf2.alerts.OVER_POWER_CONITION: int = 4[source]

Sustained over-power condition on one or more ports.