{"id":27177598,"url":"https://github.com/webproject-xyz/ikea-tradfri-php","last_synced_at":"2026-04-25T00:03:16.442Z","repository":{"id":27997074,"uuid":"115823629","full_name":"WebProject-xyz/ikea-tradfri-php","owner":"WebProject-xyz","description":"PHP library to wrap coap-client commands to control ikea tradfri hub ","archived":false,"fork":false,"pushed_at":"2024-10-30T04:03:55.000Z","size":1824,"stargazers_count":10,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"2.6.x","last_synced_at":"2024-10-30T07:14:20.307Z","etag":null,"topics":["codeception","ikea","light-controller","php","smarthome","tradfri"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebProject-xyz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-30T20:57:48.000Z","updated_at":"2024-10-30T04:03:57.000Z","dependencies_parsed_at":"2023-01-16T22:16:41.445Z","dependency_job_id":"9af9595c-f7bf-4f55-afca-3f472e1bc83a","html_url":"https://github.com/WebProject-xyz/ikea-tradfri-php","commit_stats":{"total_commits":316,"total_committers":8,"mean_commits":39.5,"dds":0.5632911392405063,"last_synced_commit":"049fcdb13e670b60a8fb32d895a8ffa8f41815a5"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebProject-xyz%2Fikea-tradfri-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebProject-xyz%2Fikea-tradfri-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebProject-xyz%2Fikea-tradfri-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebProject-xyz%2Fikea-tradfri-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebProject-xyz","download_url":"https://codeload.github.com/WebProject-xyz/ikea-tradfri-php/tar.gz/refs/heads/2.6.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054218,"owners_count":21039951,"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":["codeception","ikea","light-controller","php","smarthome","tradfri"],"created_at":"2025-04-09T13:58:13.205Z","updated_at":"2026-02-17T00:02:27.937Z","avatar_url":"https://github.com/WebProject-xyz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ikea-tradfri-api\n\n\u003e PHP api to control Ikea smart lights (tradfri)\n\n-----\n\nInspired by\n\n\u003e [hvanderlaan/ikea-smartlight](https://github.com/hvanderlaan/ikea-smartlight) _Python_\n\n## Status\n\n### Main\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a04395190abd4cb1aa4fa9c7c8077810)](https://www.codacy.com/gh/WebProject-xyz/ikea-tradfri-php/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=WebProject-xyz/ikea-tradfri-php\u0026amp;utm_campaign=Badge_Grade)\n[![Cocdeception](https://github.com/WebProject-xyz/ikea-tradfri-php/actions/workflows/cocdeception.yml/badge.svg?branch=master\u0026style=flat)](https://github.com/WebProject-xyz/ikea-tradfri-php/actions/workflows/cocdeception.yml)\n[![Maintainability](https://api.codeclimate.com/v1/badges/c3a38c872794aa6a83c9/maintainability)](https://codeclimate.com/github/WebProject-xyz/ikea-tradfri-php/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/c3a38c872794aa6a83c9/test_coverage)](https://codeclimate.com/github/WebProject-xyz/ikea-tradfri-php/test_coverage)\n[![codecov](https://codecov.io/gh/WebProject-xyz/ikea-tradfri-php/branch/master/graph/badge.svg)](https://codecov.io/gh/WebProject-xyz/ikea-tradfri-php)\n[![StyleCI](https://styleci.io/repos/115823629/shield?branch=master)](https://styleci.io/repos/115823629)\n\n### Develop\n\n[![Cocdeception](https://github.com/WebProject-xyz/ikea-tradfri-php/actions/workflows/cocdeception.yml/badge.svg?branch=develop)](https://github.com/WebProject-xyz/ikea-tradfri-php/actions/workflows/cocdeception.yml)\n[![Codacy Security Scan](https://github.com/WebProject-xyz/ikea-tradfri-php/actions/workflows/codacy-analysis.yml/badge.svg)](https://github.com/WebProject-xyz/ikea-tradfri-php/actions/workflows/codacy-analysis.yml)\n[![codecov](https://codecov.io/gh/WebProject-xyz/ikea-tradfri-php/branch/develop/graph/badge.svg)](https://codecov.io/gh/WebProject-xyz/ikea-tradfri-php)\n[![StyleCI](https://styleci.io/repos/115823629/shield?branch=develop)](https://styleci.io/repos/115823629)\n\n### Requirements and initial setup\n\n\u003e see [requirements.md](requirements.md)\n\n## How to use\n\n- [Example config](wiki/example/init-dist.php)\n- [wiki/example](wiki/example)\n\n## Docker Coap-Client\n\n### Get client\n\n\u003e \u003chttps://hub.docker.com/r/webproject/coap-client\u003e\n\n```bash\ndocker pull webproject/coap-client:latest\n```\n\n### Run command in Docker\n\n\u003e Generate API User and \u003cCOAP_API_KEY\u003e (Shared Key)\n\n```bash\ndocker run --rm --name coap-client webproject/coap-client -m post -u \"Client_identity\" -k \"\u003cCOAP_GATEWAY_SECRET\u003e\" -e '{\"9090\":\"php-api-user\"}' \"coaps://\u003cCOAP_GATEWAY_IP\u003e:5684/15011/9063\"\"\n```\n\n### Get all api endpoints\n\n```bash\ndocker run --rm --name coap-client webproject/coap-client -m get -u \"php-api-user\"  -k \"\u003cCOAP_API_KEY\u003e\" \"coaps://\u003cCOAP_GATEWAY_IP\u003e:5684/.well-known/core\"\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebproject-xyz%2Fikea-tradfri-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebproject-xyz%2Fikea-tradfri-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebproject-xyz%2Fikea-tradfri-php/lists"}