{"id":17787920,"url":"https://github.com/ptz0n/node-daikin-onecta","last_synced_at":"2025-10-14T09:34:38.975Z","repository":{"id":258527962,"uuid":"864396785","full_name":"ptz0n/node-daikin-onecta","owner":"ptz0n","description":"Daikin ONECTA API module for Node.js","archived":false,"fork":false,"pushed_at":"2024-10-19T09:13:00.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-06T17:48:12.000Z","etag":null,"topics":["daikin","heatpump","onecta"],"latest_commit_sha":null,"homepage":"https://daikin.erikeng.se","language":"JavaScript","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/ptz0n.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-28T05:39:12.000Z","updated_at":"2024-10-19T09:18:00.000Z","dependencies_parsed_at":"2024-10-19T12:27:49.042Z","dependency_job_id":null,"html_url":"https://github.com/ptz0n/node-daikin-onecta","commit_stats":null,"previous_names":["ptz0n/node-daikin-onecta"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptz0n%2Fnode-daikin-onecta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptz0n%2Fnode-daikin-onecta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptz0n%2Fnode-daikin-onecta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptz0n%2Fnode-daikin-onecta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptz0n","download_url":"https://codeload.github.com/ptz0n/node-daikin-onecta/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229724935,"owners_count":18114534,"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":["daikin","heatpump","onecta"],"created_at":"2024-10-27T10:13:21.467Z","updated_at":"2025-10-14T09:34:33.945Z","avatar_url":"https://github.com/ptz0n.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# daikin-onecta\n\nThis zero-dependency Node.js module integrates with the Daikin Onecta API for controlling internet-connected heat pumps. It handles OAuth2 authentication, token refreshing, and provides access to key API features like retrieving user info, managing sites, and controlling gateway devices, with automatic token refresh for seamless API access.\n\nOfficial docs: https://developer.cloud.daikineurope.com/\n\n## Legal Disclaimer\n\nThis software is not affiliated with Daikin Europe N.V. and the developers take no legal responsibility for the functionality or security of your devices.\n\n## Installation\n\n```bash\n$ npm install daikin-onecta --save\n```\n\n## Usage\n\n```javascript\nimport { getToken } from 'daikin-onecta';\n\nconst secrets = {\n  client_id: 'YOUR_CLIENT_ID',\n  client_secret: 'YOUR_CLIENT_SECRET',\n  redirect_uri: 'YOUR_REDIRECT_URI',\n};\n\nconst token = await getToken({ secrets, code: 'GENERATED_AUTH_CODE' });\n\nconst { data, refreshedToken } = await getGatewayDevices({ secrets, token });\n\nconsole.log(data);\n```\n\n```json\n[\n  {\n    \"_id\": \"c07294f3-1202-41dd-a139-f5a466e6264e\",\n    \"deviceModel\": \"Altherma\",\n    \"embeddedId\": \"29300444-4258-4938-84aa-0296c100e13f\",\n    \"id\": \"c07294f3-1202-41dd-a139-f5a466e6264e\",\n    \"type\": \"heating\",\n    \"isCloudConnectionUp\": {\n      \"value\": true,\n      \"settable\": false\n    },\n    \"timestamp\": \"2024-10-13T20:20:39.000Z\",\n    \"managementPoints\": […]\n  }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptz0n%2Fnode-daikin-onecta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptz0n%2Fnode-daikin-onecta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptz0n%2Fnode-daikin-onecta/lists"}