{"id":19246366,"url":"https://github.com/dthuerck/ha-light-dioder","last_synced_at":"2026-05-08T13:17:51.732Z","repository":{"id":116241908,"uuid":"81800898","full_name":"dthuerck/ha-light-dioder","owner":"dthuerck","description":"IKEA dioder component for Home Assistant.","archived":false,"fork":false,"pushed_at":"2018-07-12T00:18:03.000Z","size":185,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T11:58:24.989Z","etag":null,"topics":["dioder","home-assistant","home-automation","ikea","raspberry-pi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dthuerck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-13T08:14:25.000Z","updated_at":"2023-11-07T23:00:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"91dc831a-3fae-4314-a753-4126e8a8aed1","html_url":"https://github.com/dthuerck/ha-light-dioder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dthuerck/ha-light-dioder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dthuerck%2Fha-light-dioder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dthuerck%2Fha-light-dioder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dthuerck%2Fha-light-dioder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dthuerck%2Fha-light-dioder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dthuerck","download_url":"https://codeload.github.com/dthuerck/ha-light-dioder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dthuerck%2Fha-light-dioder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32781992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dioder","home-assistant","home-automation","ikea","raspberry-pi"],"created_at":"2024-11-09T17:31:47.871Z","updated_at":"2026-05-08T13:17:51.717Z","avatar_url":"https://github.com/dthuerck.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ha-light-dioder\n\nA Home Assistant ([code on Github](https://github.com/home-assistant/home-assistant)\ncomponent for interfacing with the IKEA Dioder LED system.\n\n## Hardware setup\nThis code assumes the a setup using the following parts:\n* Raspberry Pi (here: Model B+ or newer)\n* Adafruit (or similar, e.g. SunFounder) PCA9685 12xPWM driver for I2C\n* ULN2003 Transistor array for accessing the Dioder's 12V supply\n\nSimilar to [this Fritzing project](http://fritzing.org/projects/ikea-dioder-hack),\nwe replace the Dioder's controller entirely. \n\nHere's a short description of the setup: The PCA9685 is coupled to the Raspberry Pi\nvia its native I2C interface; SDA/SDC on the PCA9685 board are connected\nto SDA.SDC of the ULN2003. On its output side, we connect the pins from\nDIODER's 12V supply for GND and V+ as well as the pins for R, G, B (in that\norder) to the ULN outputs 0 - 2 (photo to come).\n\n## Software setup\nTo get the I2C bus running, the following steps have to be taken (for\nHome Assistant's Python VENV):\n* Install ``python3-dev libi2c-dev``\n* Add user homeassistant to group ``i2c``\n* Inside of the HA Pip environment, build and install python3-smbus from ``https://github.com/tkurbad/python3-smbus``\n\n## Installation\nAssuming the HA/SW setup from above, moving the included ``pidioder.py`` to\n``/home/homeassistant/.homeassistant/custom_components/light/`` includes\nthe component (assuming an All-in-One HA installation).\n\nThen, add the following lines to your ``configuration.yaml``:\n```\nlight:\n    platform: pidioder\n    name: My PiDioder\n```\nNaturally, the name is up to your choice!\n\nThat's it! If everything has worked out, you should have the following interface\non your HA state screen:\n![HA interface](ha-interface.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdthuerck%2Fha-light-dioder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdthuerck%2Fha-light-dioder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdthuerck%2Fha-light-dioder/lists"}