{"id":24437346,"url":"https://github.com/uintdev/tplink-lightbulb-http","last_synced_at":"2026-01-30T16:53:27.644Z","repository":{"id":226671063,"uuid":"769305596","full_name":"uintdev/TPLink-LightBulb-HTTP","owner":"uintdev","description":"Basic controls for TP-Link light bulbs over HTTP","archived":false,"fork":false,"pushed_at":"2026-01-04T14:07:52.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-08T16:59:06.751Z","etag":null,"topics":["api","javascript","kasa","tplink"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/uintdev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-08T19:13:41.000Z","updated_at":"2026-01-04T14:07:56.000Z","dependencies_parsed_at":"2024-03-29T21:23:35.832Z","dependency_job_id":"06329357-8d60-4d08-bb90-170489c3a26a","html_url":"https://github.com/uintdev/TPLink-LightBulb-HTTP","commit_stats":null,"previous_names":["uintdev/tplink-lightbulb-http"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uintdev/TPLink-LightBulb-HTTP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uintdev%2FTPLink-LightBulb-HTTP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uintdev%2FTPLink-LightBulb-HTTP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uintdev%2FTPLink-LightBulb-HTTP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uintdev%2FTPLink-LightBulb-HTTP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uintdev","download_url":"https://codeload.github.com/uintdev/TPLink-LightBulb-HTTP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uintdev%2FTPLink-LightBulb-HTTP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28915939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["api","javascript","kasa","tplink"],"created_at":"2025-01-20T18:16:09.276Z","updated_at":"2026-01-30T16:53:27.628Z","avatar_url":"https://github.com/uintdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TPLink LightBulb HTTP\n\nBasic controls for TP-Link light bulbs over HTTP\n\nThe communication is handled using the [tplink-lightbulb](https://github.com/konsumer/tplink-lightbulb) library.\n\n## What does this do?\n\nThis allows for the following actions:\n\n### Light actions\n\n-   Light on\n    -   GET\n    -   /light/on\n-   Light off\n    -   GET\n    -   /light/off\n-   Light brightness to 100\n    -   GET\n    -   /light/brightness/100\n-   Light brightness to 50\n    -   GET\n    -   /light/brightness/50\n-   Light details\n    -   GET\n    -   /light/details\n\n### Display actions (refer to displayOffFile variable info)\n\n-   Display on\n    -   GET\n    -   /display/on\n-   Display off\n    -   GET\n    -   /display/off\n\n## Configuration\n\n### Installing dependencies\n\nRun the following to install `express` and `tplink-lightbulb` dependencies:\n\n```bash\nnpm install\n```\n\n### Configuring the server\n\nThere are values of variables that you may need to adjust (especially the IP address of the lightbulb).\n\n| Variable       | Description                                                                                                        |\n| -------------- | ------------------------------------------------------------------------------------------------------------------ |\n| hostname       | IP address of TP-Link light bulb                                                                                   |\n| port           | Port number of the HTTP server that the script would be hosting                                                    |\n| writeToFile    | Output last action status to file                                                                                  |\n| statusFile     | Path to last action status file -- intended to use with SSD1306-Display-SysInfo to display the status on a display |\n| displayOffFile | Path to display off file -- intended to use with SSD1306-Display-SysInfo to control the display visibility         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuintdev%2Ftplink-lightbulb-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuintdev%2Ftplink-lightbulb-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuintdev%2Ftplink-lightbulb-http/lists"}