Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 948 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 948 Bytes

LexiLifeFun

LexiLife.io Lighting and API usage.

https://lexidevice.com/developer/login ... register https://lexidevice.com/developer/api_flow_docs https://lexidevice.com/developer/hub_api_tester https://lexidevice.com/developer/cloud_api_tester

See instructions in lexi.py

Set 4 environment variables: lexi_username, lexi_password, lexi_client_id, lexi_client_secret

set lexi_username=jason@fun.com

set lexi_password=LoveLexi

set lexi_client_id=

set lexi_client_secret=

This helps the code choose from your list of hubs

parameter_hub_name = "Ratto Kickstarter"

user_guid = "1e8e23d4-5288-485c-bff0-b01d4b4b1b00" # From Cloud Api Tester

python lexi_fun.py ==> will login, get auth token, find ip for hub(s) for your Lexi Login, and then use IP for Hub name specified to control lights.

==> Then based on "light type" (such as 134 for Candle), the lights will be rotated by that type. Not based on groups yet.