https://github.com/jalle19/umm-bot
Chat bot for Nord Pool REMIT UMM push notifications
https://github.com/jalle19/umm-bot
nordpool umm
Last synced: 7 days ago
JSON representation
Chat bot for Nord Pool REMIT UMM push notifications
- Host: GitHub
- URL: https://github.com/jalle19/umm-bot
- Owner: Jalle19
- License: gpl-3.0
- Created: 2024-09-04T07:47:42.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2026-01-17T13:31:25.000Z (5 months ago)
- Last Synced: 2026-01-18T00:00:33.645Z (5 months ago)
- Topics: nordpool, umm
- Language: TypeScript
- Homepage:
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# umm-bot
[](https://github.com/Jalle19/umm-bot/actions/workflows/ci.yml)
Chat bot for Nord Pool REMIT UMM push notifications. Currently only handles production and transmission outages related
to the Finnish market.
The bot listens of for push notifications from Nord Pool's UMM SignalR endpoint, then looks up the message details
from the REST API and decides whether to send a chat message for it.
## Usage
The application takes sensitive configuration via environment variables, while the rest is configured with
command-line options:
```
$ SLACK_CHANNEL_ID=foo SLACK_BOT_TOKEN=bar node dist/umm-slack-bot.js --help
node umm-slack-bot.js [options]
Options:
--help Show help [boolean]
--version Show version number [boolean]
-d, --databasePath The path to the database file [required]
```
The specified database file is created if it doesn't exist (the directory must exist though).
## Running as a systemd service
1. Copy the provided service file to /etc/systemd/system and modify the paths to match your deployment
2. Run `systemctl edit umm-bot` and add the following, providing proper values for all variables:
```
[Service]
Environment="SLACK_CHANNEL_ID="
Environment="SLACK_BOT_TOKEN="
```
3. Run the service
## More information
* https://developers.nordpoolgroup.com/reference/umm-introduction
* https://developers.nordpoolgroup.com/reference/umm-push-notifications
### Getting details about a particular message
```bash
curl -X GET --header 'Accept: application/json' 'https://ummapi.nordpoolgroup.com/messages/3b2b1643-27cd-40ad-9651-a198fd0246d7/2'
```