Example Autodesk Forge application using Forge IoT Extensions (a set of wrappers around the official Data Visualization Extensions) to display historical IoT data in a BIM model.
Live demo: https://forge-iot-extensions-demo.autodesk.io
- Clone this repository
- Install dependencies:
yarn install
- Setup environment variables:
FORGE_CLIENT_ID
- client ID of your Forge applicationFORGE_CLIENT_SECRET
- client secret of your Forge application
- In public/index.js, modify
FORGE_MODEL_URN
andFORGE_MODEL_VIEW
with your own model URN and view GUID - In services/db.json, 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 for the rac_basic_sample_project.rvt sample design.
- In services/iot.mocked.js, adjust the resolution and ranges of the randomly generated sensor data
- Run the app:
yarn start
- Go to http://localhost:3000