class Broadlink::Sp2
- Broadlink::Sp2
- Broadlink::Device
- Reference
- Object
Included Modules
Defined in:
broadlink.crConstant Summary
-
ENERGY_PACKET =
Bytes[8, 0, 254, 1, 5, 1, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0]
Constructors
Instance Method Summary
- #energy
-
#nightlight=(state : Bool)
Sets the night light state of the smart plug.
-
#nightlight?
Returns the power state of the smart plug.
-
#power=(state : Bool)
Sets the power state of the smart plug.
-
#power?
Returns the power state of the smart plug.