Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petrbroz/forge-iot-extensions
Autodesk Forge Viewer extensions for visualizing IoT data.
https://github.com/petrbroz/forge-iot-extensions
autodesk-forge iot
Last synced: 22 days ago
JSON representation
Autodesk Forge Viewer extensions for visualizing IoT data.
- Host: GitHub
- URL: https://github.com/petrbroz/forge-iot-extensions
- Owner: petrbroz
- Created: 2022-03-29T09:47:12.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2022-03-30T09:16:50.000Z (over 2 years ago)
- Last Synced: 2024-10-05T02:30:00.951Z (about 1 month ago)
- Topics: autodesk-forge, iot
- Language: TypeScript
- Homepage: https://petrbroz.github.io/forge-iot-extensions/example.html
- Size: 1.1 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# forge-iot-extensions
Set of [Autodesk Forge](https://forge.autodesk.com) viewer extensions built on top of
the [Data Visualization extensions](https://forge.autodesk.com/en/docs/dataviz/v1/developers_guide/introduction/overview/),
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`
- implement your own "data view" based on the [HistoricalDataView](./src/HistoricalDataView.ts) interface
- control the state of the extensions through properties such as `dataView`, `currentTime`, `currentSensorID`, or `currentChannelID`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]([http://localhost:8080/docs/example.html]) in the browser.