Application to notify IotVegaServer users about an alarm event.
There are two options for running an application in a Docker container or on bare metal
The easiest way to run this application is using the docker.
- Install docker and docker-compose
- pull the repository with command
git clone https://github.com/VegaAbsolute/IotVegaNotifierLite.git - navigate to the directory
cd IotVegaNotifierLite - execute command
docker compose up -d --build - That's it, now you can configure the application via the web interface on port
4040with the default loginnotifierand passwordiotvega
- Navigate to the directory where your configuration file will be stored
cd /my/config/pathfor example - Create empty config file with name config.ini
touch config.ini - Execute command:
docker run --restart=always -d \
-v ${PWD}/config.ini:/config.ini \
-p 4040:4040 \
--name notifier-lite \
vegaabsolute/notifier-lite:latest
instead of ${PWD} you can specify an absolute path convenient for you to store the configuration file of this application
- That's it, now you can configure the application via the web interface on port
4040with the default loginnotifierand passwordiotvega
- Install node.js
or
Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_15.x | sudo -E bash - sudo apt-get install -y nodejs
Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_15.x | bash - apt-get install -y nodejs
- Install the Nodejs Application Task Manager PM2
npm install pm2 -g - Install git (examle for ubuntu
apt-get install git)
- Make a clone of the repository IotVegaNotifier
git clone https://github.com/VegaAbsolute/IotVegaNotifierLite.git - Go to the Applications folder IotVegaNotifier
cd IotVegaNotifierLite
- Running the application
pm2 start npm -- startor if use sudopm2 start npm -- start --unsafe-perm - Configure IotVegaNotifier. Edit the config.ini file.
- Restart the application so that the settings are applied
pm2 restart 0
To view the program work use the command
pm2 monitTo exit the console, press CTRL+D
- Running the application
npm start - Exit, press CTRL+D
- Configure IotVegaNotifierLite. Edit the config.ini file.
- Running the application
npm startor Configuring autorun
pm2 savepm2 startupand You simply have to copy/paste the line PM2 gives you and the startup script will be configured for your OS.
npm install -g qckwinsvcqckwinsvc --name "IotVegaNotifierLite" --description "IotVegaNotifierLite" –script "G:\IOT VEGA\IotVegaNotifierLite\index.js" –startImmediately- Where "G: \ IOT VEGA \ Iot Vega Notifier Lite \ index.js" is your application path
- UE
- SVE
- GM-1
- GM-2
- SI-11
- SI-12
- SI-13
- SI-21
- SI-22
- TD-11
- TP-11
- LM-1
- TL-11
- SRC-1
- M-BUS-1
- M-BUS-2
- SMART HS-0101
- SMART MC-0101
- SMART AS-0101
- SMART MS-0101
- SMART SS-0101
- SMART SS-0102
- SMART UM-0101
- SPBZIP 2726/2727
- Mercury
- SH-02
- dangers device
- low battery
- gateway active
- gateway inactive
- server not available
- startup notifiere
1.0.5 with IotVegaPulse v1.1.13b
