{"id":22869991,"url":"https://github.com/autodesk-platform-services/aps-iot-extensions-demo","last_synced_at":"2025-05-05T22:10:54.953Z","repository":{"id":80611548,"uuid":"563287859","full_name":"autodesk-platform-services/aps-iot-extensions-demo","owner":"autodesk-platform-services","description":"APS DataViz Extensions Demo:Visualizing IoT sensor data.","archived":false,"fork":false,"pushed_at":"2024-07-08T12:53:52.000Z","size":2899,"stargazers_count":16,"open_issues_count":5,"forks_count":8,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-31T00:11:14.671Z","etag":null,"topics":["autodesk-viewer","iot","nodejs","sample"],"latest_commit_sha":null,"homepage":"https://aps-iot-extensions-demo.autodesk.io","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/autodesk-platform-services.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":"2022-11-08T09:53:24.000Z","updated_at":"2025-03-06T03:56:56.000Z","dependencies_parsed_at":"2024-07-08T15:52:33.519Z","dependency_job_id":"5038e3ac-1dee-4326-9df0-8ec33091eb74","html_url":"https://github.com/autodesk-platform-services/aps-iot-extensions-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Faps-iot-extensions-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Faps-iot-extensions-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Faps-iot-extensions-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Faps-iot-extensions-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autodesk-platform-services","download_url":"https://codeload.github.com/autodesk-platform-services/aps-iot-extensions-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584329,"owners_count":21771945,"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":["autodesk-viewer","iot","nodejs","sample"],"created_at":"2024-12-13T13:13:16.819Z","updated_at":"2025-05-05T22:10:54.930Z","avatar_url":"https://github.com/autodesk-platform-services.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# APS DataViz Extensions Demo\n\n![platforms](https://img.shields.io/badge/platform-windows%20%7C%20osx%20%7C%20linux-lightgray.svg)\n[![node.js](https://img.shields.io/badge/Node.js-16.17-blue.svg)](https://nodejs.org)\n[![npm](https://img.shields.io/badge/npm-8.15-blue.svg)](https://www.npmjs.com/)\n[![license](https://img.shields.io/:license-mit-green.svg)](https://opensource.org/licenses/MIT)\n\nSample [Autodesk Platform Services](https://aps.autodesk.com) application, built using the [Data Visualization Extension](https://aps.autodesk.com/en/docs/dataviz/v1/developers_guide/overview/).\n\nSee the [Data Visualization Extension](https://aps.autodesk.com/en/docs/dataviz/v1/developers_guide/overview/) homepage for more details.\n\nLive demo: https://aps-iot-extensions-demo.autodesk.io\n\n![thumbnail](./thumbnail.png)\n\n## Setup\n\n### Prerequisites\n\n- [APS credentials](https://forge.autodesk.com/en/docs/oauth/v2/tutorials/create-app)\n- [Node.js](https://nodejs.org)\n- [Yarn package manager](https://yarnpkg.com)\n- Terminal (for example, [Windows Command Prompt](https://en.wikipedia.org/wiki/Cmd.exe) or [macOS Terminal](https://support.apple.com/guide/terminal/welcome/mac))\n\n### Running locally\n\n- Clone this repository\n- Install dependencies: `yarn install`\n- Setup environment variables:\n    - `APS_CLIENT_ID` - client ID of your APS application\n    - `APS_CLIENT_SECRET` - client secret of your APS application\n- In [public/config.js](./public/config.js), modify `APS_MODEL_URN` and `APS_MODEL_VIEW` with your own model URN and view GUID\n- In [./services/iot.mocked.js](./services/iot.mocked.js)\n    - Modify the mocked up sensors,\nfor example, changing their `location` (XYZ position in the model's coordinate system)\nor `objectId` (the dbID of the room the sensor should be associated with)\n\n        \u003e Note: the locations and object IDs in the mocked up data is setup specifically for the _rac\\_basic\\_sample\\_project.rvt_ sample project from [Revit Sample Project Files](https://knowledge.autodesk.com/support/revit/getting-started/caas/CloudHelp/cloudhelp/2022/ENU/Revit-GetStarted/files/GUID-61EF2F22-3A1F-4317-B925-1E85F138BE88-htm.html).\n\n    - Adjust the resolution and ranges of the randomly generated sensor data\n- Run the app: `yarn start`\n- Go to http://localhost:3000\n\n\u003e When using [Visual Studio Code](https://code.visualstudio.com), you can specify the env. variables listed above in a _.env_ file in this folder, and run \u0026 debug the application directly from the editor.\n\n## Tips \u0026 Tricks\n\nIn case you're not seeing the heatmaps or room information, please refer to this blog: [Rooms information in Revit File](https://aps.autodesk.com/blog/no-room-information-revit-file-when-working-dataviz-extension-viewer)\n\n## License\n\nThis sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT).\nPlease see the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-platform-services%2Faps-iot-extensions-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautodesk-platform-services%2Faps-iot-extensions-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-platform-services%2Faps-iot-extensions-demo/lists"}