7/1/2023 0 Comments Download lifx zAllows you to perform synchronized actions on groups of devices. tilechain.py - Provides the TileChain API.multizonelight.py - Provides the MultiZoneLight API.device.py - Provides the Device API, and low-level API for sending unicast LIFX packets to a Device. lifxlan.py - Provides the LifxLAN API, and low-level API for sending broadcast LIFX packets to the LAN.Build virtual LIFX devices in software (think adapters for Philips Hue bulbs, etc).Build your own high-level API on top of the low-level networking messages.Control LIFX devices using the package's high-level API (see the examples folder and the following API sections).You can do several things with this library: In the examples folder, broadcast_on.py, broadcast_off.py, and broadcast_color.py will allow you to send commands to all lights quickly from the command line without doing device discovery. To avoid device discovery, you can either instantiate Light objects directly using their MAC address and IP address (which you can learn by running examples/hello_world.py), or you can use the broadcast methods provided in the LifxLAN API. To be as generic as possible, the examples use automatic device discovery to find individual bulbs, which causes a short but noticeable delay. See the examples folder for example scripts that use lifxlan. However, to be guaranteed to get the most recent features and fixes you can install from source with: Supports Unicode characters in names, groups, and locations. Also supports group-based control of arbitrary sets of lights. Supports white, color, multizone (LIFX Z, LIFX Beam), infrared (LIFX+), and chain (LIFX Tile) capabilities. It implements the LIFX LAN Protocol specification. Lifxlan is a Python 3 module for locally controlling LIFX devices (such as lightbulbs) over a LAN.
0 Comments
Leave a Reply. |