Name | Prinect Ingress |
Version | v1.0.1 |
DockerHub | weevenetwork/prinect-ingress |
authors | Paul Gaiduk |
This module makes periodic requests to Prinect API and forwards the response to the next module.
The following module configurations can be provided in a data service designer section on weeve platform:
Environment Variables | type | Description |
---|---|---|
BASE_URL | string | Base URL for the API. Ends with /rest |
USERNAME | string | Username for the API. |
PASSWORD | string | Password for the API. |
DEVICE_ID | string | ID of the device you want the data for. |
RESOURCE | string | Resource you want the data for. |
INTERVAL | string | Interval in seconds between each API call. |
Other features required for establishing the inter-container communication between modules in a data service are set by weeve agent.
Environment Variables | type | Description |
---|---|---|
MODULE_NAME | string | Name of the module |
MODULE_TYPE | string | Type of the module (Input, Processing, Output) |
EGRESS_URLS | string | HTTP ReST endpoint for the next module |
LOG_LEVEL | string | Allowed log levels: DEBUG, INFO, WARNING, ERROR, CRITICAL. Refer to logging package documentation. |
bottle
requests
Output of this module is JSON body the same as the JSON body received from HTTP GET request to the API.