Overview of pywizlight core classes
masterThe pywizlight library provides several key abstractions for interacting with WiZ light bulbs:
wizlight: The primary class used to create an instance of a WiZ Light Bulb.BulbLib: Provides access to all existing bulb definitions.DiscoveredBulb: Represents a bulb that has been found on the network.BulbRegistry: Manages the registry of available bulb types.BulbType: Defines the specific functions and features supported by a particular bulb model.KelvinRange: Defines the supported color temperature (Kelvin) range for a bulb.Features: Defines the set of supported features for a bulb.BroadcastProtocol: Handles sending UDP broadcast messages used for bulb discovery.PilotBuilder&PilotParser: Internal components used to build requests and interpret messages from the bulb.
Error Handling:
WizLightError: General exception for the library.WizLightConnectionError: Raised when a connection error occurs.WizLightTimeOutError: Raised when a connection times out.WizLightNotKnownBulb: Raised when the detected bulb type is not recognized by the library.