Name | Google Chat |
Version | v1.0.0 |
DockerHub | weevenetwork/google-chat |
authors | Jakub Grzelak |
This modules sends messages and notifications to a selected Google Chat space. It requires setting up a webhook of the space for the Google Chat (see official Google documentation). Additionally, we recommend running this module together with our Message Composer module that helps in writing alerts within weeve Edge Application.
The following module configurations can be provided in a data service designer section on weeve platform:
Name | Environment Variables | type | Description |
---|---|---|---|
Webhook URL | WEBHOOK_URL | string | Webhook URL of Google Chat space where messages will be sent. |
Message Label | MESSAGE_LABEL | string | Label in incoming data that holds the message to be sent. |
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) |
INGRESS_HOST | string | Host to which data will be received |
INGRESS_PORT | string | Port to which data will be received |
bottle
httplib2
Input to this module is:
- JSON body single object, example:
{
"alertMessage": "Device hf238hf23h7 (in Berlin) measured temperature 12 on 2022-09-25 15:35:17.31234"
}
Message send to the selected Google Chat space. Given the above input, message will be Device hf238hf23h7 (in Berlin) measured temperature 12 on 2022-09-25 15:35:17.31234
.