Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SoftwareAG/cumulocity-indoor-air-quality-widget
The Cumulocity Indoor Air Quality Widget displays the current value of the measured indoor air quality and the corresponding condition. In addition, it provides a recommendation on how the indoor air quality can be improved in case it is necessary.
https://github.com/SoftwareAG/cumulocity-indoor-air-quality-widget
cumulocity cumulocity-iot cumulocity-widget global-presales iot iot-analytics runtime widget
Last synced: 3 months ago
JSON representation
The Cumulocity Indoor Air Quality Widget displays the current value of the measured indoor air quality and the corresponding condition. In addition, it provides a recommendation on how the indoor air quality can be improved in case it is necessary.
- Host: GitHub
- URL: https://github.com/SoftwareAG/cumulocity-indoor-air-quality-widget
- Owner: SoftwareAG
- License: apache-2.0
- Created: 2021-12-14T13:31:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-24T11:58:41.000Z (over 2 years ago)
- Last Synced: 2024-04-12T16:15:59.722Z (7 months ago)
- Topics: cumulocity, cumulocity-iot, cumulocity-widget, global-presales, iot, iot-analytics, runtime, widget
- Language: TypeScript
- Homepage:
- Size: 412 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-softwareag - Cumulocity IoT indoor air quality widget
README
# Cumulocity Indoor Air Quality Widget
The Indoor Air Quality Widget displays the current value of the measured indoor air quality and the corresponding condition. In addition, it provides a recommendation on how the indoor air quality can be improved in case it is necessary. The widget expects a measurement in the range between 0 and 500.
The supported levels are:
* Excellent - 0-50
* Good - 51-100
* Lightly Polluted - 101-150
* Moderately Polluted - 151-200
* Heavily Polluted - 201-250
* Severely Polluted - 251-350
* Extremly Polluted - 351-500**Preview**:
![air_quality](https://user-images.githubusercontent.com/57527184/155506753-1f381610-3498-44b2-b60c-eea2a9c6e5ee.png)
### Installation - for the dashboards using Runtime Widget Loader
1. Download the latest `indoor-air-qality-widget-{version}.zip` file from the Releases section.
2. Make sure you have Runtime Widget Loader installed on your Cockpit or App Builder app.
3. Open a dashboard.
4. Click `more...`.
5. Select `Install Widget` and follow the instructions.### Development - to do the enhancements and testing locally
1. Clone the repository on local machine using `git clone [email protected]:SoftwareAG/cumulocity-indoor-air-quality-widget.git`.
2. Run `npm install` to download the module dependencies.
3. Update start script in the `package.json` and add your Cumulocity tenant URL: `c8ycli server -u https://your_tenant_url`
4. Run `npm run start` to start the local server.
5. Go to `http://localhost:9000/apps/cockpit/` in the browser to view and test your changes.### Build - to create a new build for the Runtime Widget Loader
1. Finish the development and testing on your local machine.
2. Run `npm run runtime` to trigger the build process using gulp
3. Once the build has finished, the newly created zip archive is available in `./runtime/dist/indoor-air-qality-widget-{{version}}.zip`------------------------------
This widget is provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.
_____________________
For more information you can Ask a Question in the [TECHcommunity Forums](http://tech.forums.softwareag.com/techjforum/forums/list.page?product=cumulocity).
You can find additional information in the [Software AG TECHcommunity](http://techcommunity.softwareag.com/home/-/product/name/cumulocity).