lifx-rs
Description
A synchronous + asynchronous library for communicating with the official LIFX-API and the unoffical offline API.
LIFX-API Supported Methods:
- List Lights
- Set State
- Set States
- State Delta
- Toggle Power
- Breathe Effect
- Move Effect
- Morph Effect
- Flame Effect
- Pulse Effect
- Effects Off
- Clean (HEV)
- List Scenes
- Validate Color
Un-Official Offline API Supported Methods:
- List Lights
- Set State
- Set States
To use offline use the Un-Official API Server:
How to use library
Add the following line to your cargo.toml:
lifx-rs = "0.1.30"
Example:
extern crate lifx_rs as lifx;
Async Example:
extern crate lifx_rs as lifx;
async
License
Released under Apache 2.0 or MIT.
Support and follow my work by:
Buying my dope NTFs:
Checking out my Github:
Following my facebook page:
Subscribing to my Patreon:
Or donating crypto:
- ADA: addr1qyp299a45tgvveh83tcxlf7ds3yaeh969yt3v882lvxfkkv4e0f46qvr4wzj8ty5c05jyffzq8a9pfwz9dl6m0raac7s4rac48
- ALGO: VQ5EK4GA3IUTGSPNGV64UANBUVFAIVBXVL5UUCNZSDH544XIMF7BAHEDM4
- ATOM: cosmos1wm7lummcealk0fxn3x9tm8hg7xsyuz06ul5fw9
- BTC: bc1qh5p3rff4vxnv23vg0hw8pf3gmz3qgc029cekxz
- ETH: 0x7A66beaebF7D0d17598d37525e63f524CfD23452
- ERC20: 0x7A66beaebF7D0d17598d37525e63f524CfD23452
- XLM: GCJAUMCO2L7PTYMXELQ6GHBTF25MCQKEBNSND2C4QMUPTSVCPEN3LCOG
- XTZ: tz1SgJppPn56whprsDDGcqR4fxqCr2PXvg1R