{"id":15680690,"url":"https://github.com/robvanderleek/jlifx","last_synced_at":"2025-05-07T10:23:46.833Z","repository":{"id":12684661,"uuid":"15356825","full_name":"robvanderleek/JLifx","owner":"robvanderleek","description":"LIFX control utility in Java ","archived":false,"fork":false,"pushed_at":"2024-01-22T04:33:34.000Z","size":1101,"stargazers_count":12,"open_issues_count":11,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-02T08:31:14.329Z","etag":null,"topics":["java","lifx"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robvanderleek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"robvanderleek"}},"created_at":"2013-12-21T09:41:38.000Z","updated_at":"2024-10-16T07:04:18.000Z","dependencies_parsed_at":"2023-11-11T13:42:26.647Z","dependency_job_id":null,"html_url":"https://github.com/robvanderleek/JLifx","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robvanderleek%2FJLifx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robvanderleek%2FJLifx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robvanderleek%2FJLifx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robvanderleek%2FJLifx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robvanderleek","download_url":"https://codeload.github.com/robvanderleek/JLifx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223806487,"owners_count":17205982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","lifx"],"created_at":"2024-10-03T16:43:55.176Z","updated_at":"2024-11-09T09:05:34.503Z","avatar_url":"https://github.com/robvanderleek.png","language":"Java","funding_links":["https://github.com/sponsors/robvanderleek"],"categories":[],"sub_categories":[],"readme":"# JLifx\n\n![Screenshot](screenshot.png)\n\n[![main](https://github.com/robvanderleek/JLifx/actions/workflows/main.yml/badge.svg)](https://github.com/robvanderleek/JLifx/actions/workflows/main.yml)\n[![release](https://github.com/robvanderleek/JLifx/actions/workflows/release.yml/badge.svg)](https://github.com/robvanderleek/JLifx/actions/workflows/release.yml)\n[![Coverage Status](https://coveralls.io/repos/robvanderleek/JLifx/badge.svg?branch=master)](https://coveralls.io/r/robvanderleek/JLifx?branch=master)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.robvanderleek/jlifx/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.robvanderleek/jlifx)\n\nSmall LIFX Wifi LED bulb control library and utility written in Java.\n\nThis project is not, in any way, affiliated or related to LIFX Labs.\n\nImplementation is based on the specification by LIFX Labs (https://lan.developer.lifx.com/docs/introduction)\n\n## Installation\n\n### Command line tool\n\nRun the `build-cli.sh` script to build the executable JAR `jlifx`.\n\n### Library\n\nFor Maven, add the following entry to your `pom.xml` (check https://search.maven.org/artifact/io.github.robvanderleek/jlifx for latest `$VERSION`):\n\n```xml\n    ...\n    \u003cdependencies\u003e\n        ...\n        \u003cdependency\u003e\n            \u003cgroupId\u003eio.github.robvanderleek\u003c/groupId\u003e\n            \u003cartifactId\u003ejlifx\u003c/artifactId\u003e\n            \u003cversion\u003e$VERSION\u003c/version\u003e\n        \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n    ...\n```\n\n## Usage\n\n### As command line tool\nBuild the executable JAR and run it from the command line, this will display \nthe supported commands:\n\n\t$ ./jlifx\n\nExamples:\n\n    ./jlifx switch all off\n    ./jlifx color all red\n    ./jlifx color livingroom red\n    ./jlifx blink gateway\n    ./jlifx blink 192.168.178.50 3\n    ./jlifx rainbow all\n    ./jlifx rainbow all 30\n    \n### As library\nExamples that show how to use the API:\n- Discover a bulb by name and set color: [ColorBulbByName.java](https://github.com/robvanderleek/JLifx/blob/master/src/test/java/io/github/robvanderleek/jlifx/examples/ColorBulbByName.java)\n- Discover a bulb by IP address and set color: [ColorBulbByIpAddress.java](https://github.com/robvanderleek/JLifx/blob/master/src/test/java/io/github/robvanderleek/jlifx/examples/ColorBulbByIpAddress.java)\n- Discover a bulb by name and make it blink: [BlinkBulbByName.java](https://github.com/robvanderleek/JLifx/blob/master/src/test/java/io/github/robvanderleek/jlifx/examples/BlinkBulbByName.java)\n- Connect to bulb using IP and MAC address: [ConnectWithIpAddressAndMacAddress.java](https://github.com/robvanderleek/JLifx/blob/master/src/test/java/io/github/robvanderleek/jlifx/examples/ConnectWithIpAddressAndMacAddress.java)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobvanderleek%2Fjlifx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobvanderleek%2Fjlifx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobvanderleek%2Fjlifx/lists"}