Sample Autodesk Platform Services application, built using the Data Visualization Extension.
See the Data Visualization Extension homepage for more details.
Live demo: https://aps-iot-extensions-demo.autodesk.io
- APS credentials
- Node.js
- Yarn package manager
- Terminal (for example, Windows Command Prompt or macOS Terminal)
- Clone this repository
- Install dependencies:
yarn install
- Setup environment variables:
APS_CLIENT_ID
- client ID of your APS applicationAPS_CLIENT_SECRET
- client secret of your APS application
- In public/config.js, modify
APS_MODEL_URN
andAPS_MODEL_VIEW
with your own model URN and view GUID - In ./services/iot.mocked.js
-
Modify the mocked up sensors, for example, changing their
location
(XYZ position in the model's coordinate system) orobjectId
(the dbID of the room the sensor should be associated with)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.
-
Adjust the resolution and ranges of the randomly generated sensor data
-
- Run the app:
yarn start
- Go to http://localhost:3000
When using Visual Studio Code, you can specify the env. variables listed above in a .env file in this folder, and run & debug the application directly from the editor.
In case you're not seeing the heatmaps or room information, please refer to this blog: Rooms information in Revit File
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for more details.