Interface PlugEvents

Hierarchy

  • PlugEvents

Properties

brightness-change: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: number

      Returns void

brightness-update: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: number

      Returns void

in-use: (() => void)

Type declaration

    • (): void
    • Plug's relay was turned on or power draw exceeded inUseThreshold

      Returns void

in-use-update: ((value) => void)

Type declaration

    • (value): void
    • Plug's in-use state was updated from device. Fired regardless if status was changed.

      Parameters

      • value: boolean

      Returns void

not-in-use: (() => void)

Type declaration

    • (): void
    • Plug's relay was turned off or power draw fell below inUseThreshold

      Returns void

power-off: (() => void)

Type declaration

    • (): void
    • Plug's relay was turned off.

      Returns void

power-on: (() => void)

Type declaration

    • (): void
    • Plug's relay was turned on.

      Returns void

power-update: ((value) => void)

Type declaration

    • (value): void
    • Plug's relay state was updated from device. Fired regardless if status was changed.

      Parameters

      • value: boolean

      Returns void

Events

emeter-realtime-update: ((value) => void)

Type declaration

    • (value): void
    • Plug's Energy Monitoring Details were updated from device. Fired regardless if status was changed. Plug#emeter-realtime-update

      Parameters

      Returns void

Generated using TypeDoc