{"id":18188034,"url":"https://github.com/hypfer/node-tradfri","last_synced_at":"2025-06-30T02:36:25.055Z","repository":{"id":70162552,"uuid":"87841075","full_name":"Hypfer/node-tradfri","owner":"Hypfer","description":"Control Ikea Homesmart Tradfri devices using javascript","archived":false,"fork":false,"pushed_at":"2017-04-11T09:20:53.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T13:47:32.912Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Hypfer.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},"funding":{"github":"hypfer","ko_fi":"hypfer"}},"created_at":"2017-04-10T17:57:26.000Z","updated_at":"2021-04-25T00:51:14.000Z","dependencies_parsed_at":"2023-03-15T12:01:16.396Z","dependency_job_id":null,"html_url":"https://github.com/Hypfer/node-tradfri","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"d51fe41be1f8685da4df95e528d0f76c5839e680"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hypfer/node-tradfri","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypfer%2Fnode-tradfri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypfer%2Fnode-tradfri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypfer%2Fnode-tradfri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypfer%2Fnode-tradfri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hypfer","download_url":"https://codeload.github.com/Hypfer/node-tradfri/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypfer%2Fnode-tradfri/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262699627,"owners_count":23350342,"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":[],"created_at":"2024-11-03T02:04:24.848Z","updated_at":"2025-06-30T02:36:25.029Z","avatar_url":"https://github.com/Hypfer.png","language":"JavaScript","funding_links":["https://github.com/sponsors/hypfer","https://ko-fi.com/hypfer"],"categories":[],"sub_categories":[],"readme":"# Ikea Tradfri + node.js\n\nFor reasons unknown to mankind requests never end and I have no idea how to close them.\n\u003ca href=\"https://github.com/Hypfer/node-coap-dtls\"\u003eTake a look at the library I'm using if you want to fix that.\u003c/a\u003e\n\n___\n## Getting started\nYou will need\n- Linux\n- a recent version of nodejs\n- a tradfri gateway\n- a tradfri remote\n- a tradfri bulb\n- a barcode scanner app\n- a the IP of your gateway\n\nYou get the PSK by scanning the qr code on the bottom of the gateway.\nIt contains the MAC Adress of the bridge as well as that Key seperated by a \",\"\n\n\n## Key Reference\n\n| Key   | Value                            |\n|-------|----------------------------------|\n| 1001  | NEW_FIRMWARE_AVAILABLE           |\n| 1002  | SMART_TASK_TRIGGERED_EVENT       |\n| 1003  | GATEWAY_REBOOT_NOTIFICATION      |\n| 2051  | OPTION_APP_TOKEN                 |\n| 3300  | SENSOR                           |\n| 3311  | LIGHT                            |\n| 3312  | PLUG                             |\n| 5001  | LOSS_OF_INTERNET_CONNECTIVITY    |\n| 5601  | MIN_MSR_VALUE                    |\n| 5602  | MAX_MSR_VALUE                    |\n| 5603  | MIN_RNG_VALUE                    |\n| 5604  | MAX_RNG_VALUE                    |\n| 5605  | RESET_MIN_MAX_MSR                |\n| 5700  | SENSOR_VALUE                     |\n| 5701  | UNIT                             |\n| 5706  | COLOR                            |\n| 5709  | COLOR_X                          |\n| 5710  | COLOR_Y                          |\n| 5712  | TRANSITION_TIME                  |\n| 5750  | TYPE                             |\n| 5751  | SENSOR_TYPE                      |\n| 5805  | CUM_ACTIVE_POWER                 |\n| 5820  | POWER_FACTOR                     |\n| 5850  | ONOFF                            |\n| 5851  | DIMMER                           |\n| 5852  | ON_TIME                          |\n| 9001  | NAME                             |\n| 9002  | CREATED_AT                       |\n| 9003  | INSTANCE_ID                      |\n| 9009  | SCENE_LINK                       |\n| 9014  | NOTIFICATION_STATE               |\n| 9015  | NOTIFICATION_EVENT               |\n| 9016  | SMART_TASK_TEMPLATE              |\n| 9017  | NOTIFICATION_NVPAIR              |\n| 9018  | HS_ACCESSORY_LINK                |\n| 9019  | REACHABILITY_STATE               |\n| 9020  | LAST_SEEN                        |\n| 9023  | NTP_SERVER                       |\n| 9024  | TIME_REMAINING_IN_SECONDS        |\n| 9029  | VERSION                          |\n| 9030  | REBOOT                           |\n| 9031  | RESET                            |\n| 9032  | FORCE_CHECK_OTA_UPDATE           |\n| 9033  | SESSION_ID                       |\n| 9034  | UPDATE_FIRMWARE                  |\n| 9035  | GATEWAY_NAME                     |\n| 9036  | MASTER_TOKEN_TAG                 |\n| 9037  | OTA_UPDATE                       |\n| 9038  | GROUP_ID                         |\n| 9039  | SCENE_ID                         |\n| 9040  | SMART_TASK_TYPE                  |\n| 9041  | REPEAT_DAYS                      |\n| 9042  | START_ACTION                     |\n| 9043  | END_ACTION                       |\n| 9044  | TRIGGER_TIME_INTERVAL            |\n| 9045  | GROUP_SETTINGS                   |\n| 9046  | START_TIME_HR                    |\n| 9047  | START_TIME_MN                    |\n| 9048  | END_TIME_HR                      |\n| 9049  | END_TIME_MN                      |\n| 9050  | SMART_TASK_ACTION                |\n| 9051  | SHORTCUT_ICON_REFERENCE_TYPE     |\n| 9052  | GATEWAY_REBOOT_NOTIFICATION_TYPE |\n| 9054  | OTA_UPDATE_STATE                 |\n| 9055  | GATEWAY_UPDATE_PROGRESS          |\n| 9056  | GATEWAY_UPDATE_DETAILS_URL       |\n| 9057  | SCENE_INDEX                      |\n| 9058  | SCENE_ACTIVATE_FLAG              |\n| 9059  | CURRENT_TIMESTAMP                |\n| 9061  | COMMISSIONING_MODE               |\n| 9063  | AUTH_PATH                        |\n| 9064  | SESSION_LENGTH                   |\n| 9066  | OTA_TYPE                         |\n| 9068  | IKEA_MOODS                       |\n| 9069  | UPDATE_ACCEPTED_TIMESTAMP        |\n| 9070  | USE_CURRENT_LIGHT_SETTINGS       |\n| 9071  | GATEWAY_TIME_SOURCE              |\n| 9090  | CLIENT_IDENTITY_PROPOSED         |\n| 9091  | NEW_PSK_BY_GW                    |\n| 9994  | TIME_ARRAY                       |\n| 9995  | GROUP_LINK_ARRAY                 |\n| 15001 | DEVICES                          |\n| 15002 | HS_LINK                          |\n| 15004 | GROUPS                           |\n| 15005 | SCENE                            |\n| 15006 | NOTIFICATIONS                    |\n| 15009 | SWITCH                           |\n| 15010 | SCHEDULES                        |\n| 15011 | GATEWAY                          |\n| 15012 | GATEWAY_DETAILS                  |\n| 15013 | LIGHT_SETTING                    |\n\n___\nFeel free to open issues and or send pull requests.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypfer%2Fnode-tradfri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypfer%2Fnode-tradfri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypfer%2Fnode-tradfri/lists"}