Sign inSign up

mathompl/alarmserver-docker-fixed

By mathompl

•Updated 3 months ago

Envisalink EVL DSC alarm proxy server, fork of alarmserver-docker with fixed timeouts

Image
0

1.6K

mathompl/alarmserver-docker-fixed repository overview

⁠AlarmServer-docker-fixed

Stable & improved Docker image for Envisalink 2DS / 3 / 4 Alarm Server (Proxy & HTTP/JSON API).

Source:https://github.com/mathompl/AlarmServer-fixed⁠

Significantly improved connection stability — fixed random zombie/stalled connections to the Envisalink module that were causing the proxy to hang.

Additional container housekeeping: separate config and logs directories, cleaner and changed environment variables (with default fallback values - see below)

⁠Directories

Config directory/var/AlarmServer/config
Logs directory/var/AlarmServer/log

⁠Environment Variables

VariableDescriptionDefault
IPEnvisalink module IP address127.0.0.1
PORTEnvisalink module port4025
USERNAMEEnvisalink username/passworduser
PROXY_PORTProxy listening port4025
PROXY_USERNAMEProxy passworduser
ALARMCODEDSC user alarm code (for arm/disarm)1111
LOGLEVELlogging level (INFO, DEBUG, WARNING, CRITCAL)INFO
TZTimezoneEurope/Warsaw

Environment variables override settings from the configuration file. You can also use your own custom config file. Template variables (e.g. ${IP}) in any config file are automatically replaced by environment variables. Hardcode values if you want to prevent this behavior.

Docker copies the config file, performs variable substitution, and runs using a temporary configuration.

⁠Example docker-compose.yml

version: '3.8'

services:
  alarmserver:
    image: mathompl/alarmserver-docker-fixed:latest
    container_name: alarmserver-fixed
    network_mode: bridge
    restart: unless-stopped
    ports:
      - "8011:8011"  # Web UI (unsecured HTTP)
      - "8111:8111"  # Web UI (HTTPS)
      - "4025:4025"  # TPI Proxy port for HA/Envisalink,      
    volumes:
     - /volume1/docker/alarmserver-fixed/config:/var/AlarmServer/config
     - /volume1/docker/alarmserver-fixed/log:/var/AlarmServer/log
      - IP=192.168.1.4 
      - PORT=4025
      - USERNAME=user
      - PROXY_USERNAME=user 
      - PROXY_PORT=4025    
      - LOGLEVEL=INFO
      - TZ=Europe/Warsaw  

⁠Example config/alarmserver.cfg

config/alarmserver.cfg⁠

Perfect for: Home Assistant, Node-RED, MQTT, custom alarm integrations.

Tag summary

Content type

Image

Digest

sha256:59f5f763b…

Size

24.6 MB

Last updated

3 months ago

docker pull mathompl/alarmserver-docker-fixed