forge-iot-extensions
v0.0.5
Published
Autodesk Forge viewer extensions for visualizing IoT data.
Downloads
227
Readme
forge-iot-extensions
Set of Autodesk Forge viewer extensions built on top of the Data Visualization extensions, allowing developers to easily visualize IoT data.
Usage
- import the extensions index file (for example, https://unpkg.com/[email protected]/dist/index.js) as an ES6 module into your viewer application
- add the desired extensions to your viewer configuration
- currently available:
IoT.SensorList
,IoT.SensorDetail
,IoT.SensorSprites
,IoT.SensorHeatmaps
- currently available:
- implement your own "data view" based on the HistoricalDataView interface
- control the state of the extensions through properties such as
dataView
,currentTime
,currentSensorID
, orcurrentChannelID
See the docs/example.html file for an actual example of how the extensions are used.
You can test it locally by running a simple static server in the root folder of this
project (e.g., using Python: python -m SimpleHTTPServer 8080
), and navigate to
http://localhost:8080/docs/example.html in the browser.