Sign inSign up

weevenetwork/prinect-ingress

By weevenetwork

Updated over 3 years ago

Image
0

371

weevenetwork/prinect-ingress repository overview

Prinect Ingress

NamePrinect Ingress
Versionv1.0.0
DockerHubweevenetwork/prinect-ingress
authorsPaul Gaiduk

Table of Content

Description

This module makes periodic requests to Prinect API and forwards the response to the next module.

Environment Variables

Module Specific

The following module configurations can be provided in a data service designer section on weeve platform:

Environment VariablestypeDescription
BASE_URLstringBase URL for the API. Ends with /rest
USERNAMEstringUsername for the API.
PASSWORDstringPassword for the API.
DEVICE_IDstringID of the device you want the data for.
RESOURCEstringResource you want the data for.
INTERVALstringInterval in seconds between each API call.
Set by the weeve Agent on the edge-node

Other features required for establishing the inter-container communication between modules in a data service are set by weeve agent.

Environment VariablestypeDescription
MODULE_NAMEstringName of the module
MODULE_TYPEstringType of the module (Input, Processing, Output)
EGRESS_URLSstringHTTP ReST endpoint for the next module
LOG_LEVELstringAllowed log levels: DEBUG, INFO, WARNING, ERROR, CRITICAL. Refer to logging package documentation.

Dependencies

bottle
requests

Input

Output

Output of this module is JSON body the same as the JSON body received from HTTP GET request to the API.

Tag summary

Content type

Image

Digest

sha256:16806000a

Size

48.7 MB

Last updated

over 3 years ago

docker pull weevenetwork/prinect-ingress:v1.0.1