Coder Social home page Coder Social logo

joaomartins-callmejohn / aps-iot-extensions-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from autodesk-platform-services/aps-iot-extensions-demo

0.0 0.0 0.0 2.66 MB

APS DataViz Extensions Demo:Visualizing IoT sensor data.

Home Page: https://aps-iot-extensions-demo.autodesk.io

License: MIT License

JavaScript 96.60% CSS 1.07% HTML 2.33%

aps-iot-extensions-demo's Introduction

APS DataViz Extensions Demo

platforms node.js npm license

Sample Autodesk Platform Services application with a set of custom viewer extensions (built on top of the Data Visualization Extensions) used to display historical IoT data in a BIM model.

Live demo: https://aps-iot-extensions-demo.autodesk.io

thumbnail

Setup

Prerequisites

Running locally

  • Clone this repository
  • Install dependencies: yarn install
  • Setup environment variables:
    • APS_CLIENT_ID - client ID of your APS application
    • APS_CLIENT_SECRET - client secret of your APS application
  • In public/config.js, modify APS_MODEL_URN and APS_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) or objectId (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.

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for more details.

aps-iot-extensions-demo's People

Contributors

petrbroz avatar yiskang avatar augustogoncalves avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.