Fields
busylight_core.vendors.embrava.implementation.fields
¶
Embrava Blynclight bit field definitions.
This module defines BitField classes used to construct device commands. Each field represents a specific portion of the 48-bit command structure that controls various aspects of Embrava Blynclight device behavior.
Classes¶
busylight_core.vendors.embrava.implementation.fields.RedField
¶
Bases: BitField
8-bit red color component.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.BlueField
¶
Bases: BitField
8-bit blue color component.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.GreenField
¶
Bases: BitField
8-bit green color component.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.OffBit
¶
Bases: BitField
1-bit field to turn light off, clear to turn light on.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.DimBit
¶
Bases: BitField
1-bit field to dim light, clear to brighten light.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.FlashBit
¶
Bases: BitField
1-bit field to flash light, clear to stop flashing.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.SpeedField
¶
Bases: BitField
3-bit field to set flash speed: 1=slow, 2=medium, 4=fast.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.RepeatBit
¶
Bases: BitField
1-bit field to repeat sound, clear to play sound once.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.PlayBit
¶
Bases: BitField
1-bit field to play sound, clear to stop sound.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.MusicField
¶
Bases: BitField
4-bit field to select music to play, ranges from 0 to 15.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.VolumeField
¶
Bases: BitField
4-bit field to set volume level, ranges from 0 to 15.
Source code in src/busylight_core/vendors/embrava/implementation/fields.py
busylight_core.vendors.embrava.implementation.fields.MuteBit
¶
Bases: BitField
1-bit field to mute sound, clear to enable sound.