zigbee-herdsman
    Preparing search index...

    Type Alias PowerDescriptorResponse

    type PowerDescriptorResponse = {
        availPowerSources: number;
        currentPowerMode: number;
        currentPowerSource: number;
        currentPowerSourceLevel: number;
        nwkAddress: NodeId;
    }
    Index

    Properties

    availPowerSources: number

    Bits:

    • 0 == constants (mains) power
    • 1 == rechargeable battery
    • 2 == disposable battery
    • 3 == reserved
    currentPowerMode: number
    • 0000 == receiver sync'ed with receiver on when idle subfield of the node descriptor
    • 0001 == receiver comes on periodically as defined by the node power descriptor
    • 0010 == receiver comes on when stimulated, for example, by a user pressing a button
    • 0011-1111 reserved
    currentPowerSource: number

    Bits:

    • 0 == constants (mains) power
    • 1 == rechargeable battery
    • 2 == disposable battery
    • 3 == reserved
    currentPowerSourceLevel: number
    • 0000 == critical
    • 0100 == 33%
    • 1000 == 66%
    • 1100 == 100%
    nwkAddress: NodeId

    NWK address for the request.