Sign inSign up

rosen01/velserv

By rosen01

Updated 15 days ago

VelServ, a TCP to Velbus gateway for Linux.

Image
Networking
0

411

rosen01/velserv repository overview

VelServ

A TCP to Velbus gateway for Linux.

For use with the http://www.velbus.eu range of digital building control hardware.

This TCP server offers a way to share the USB connection so that various software platforms connect to the Velbus network simultaneously. For example, VelbusLink, OpenHab, Home Assistant...

Source : GitHub

Device

Use the /dev/serial/by-id/ path instead of /dev/ttyACM* — this path stays stable when the device is reconnected or the system reboots.

/dev/serial/by-id/usb-Velleman_Projects_VMB1USB_Velbus_USB_interface-if00

Port

Port 3788/tcp is exposed.

Environment variables

Some variables can be passed to the container to configure the way it runs.

VariableDescriptionSupported valuesDefault value
TZTimezoneTZ valueshost config
LOG_DISABLEDisable loggingtrue, falsetrue
LOG_LEVELIf logging is enabled, set the logging leveldebug, debug_com, debug_socketdebug
VELSERV_MODEThe running mode of VelServgateway, server, clientgateway

Docker CLI example

docker pull rosen01/velserv:latest
docker run -p 3788:3788 --device=/dev/serial/by-id/usb-Velleman_Projects_VMB1USB_Velbus_USB_interface-if00:/dev/ttyACM0 -e "TZ=Europe/Brussels" -d velserv:latest

Docker compose example

services:
  velserv:
    container_name: velserv
    image: "rosen01/velserv:latest"
    restart: unless-stopped
    devices:
      - /dev/serial/by-id/usb-Velleman_Projects_VMB1USB_Velbus_USB_interface-if00:/dev/ttyACM0
    ports:
      - 3788:3788
    environment:
      - TZ=Europe/Brussels
      - LOG_DISABLE=true      # true / false (default=true)
      - LOG_LEVEL=debug       # debug / debug_com / debug_socket (default=debug)
      - VELSERV_MODE=gateway  # gateway / server / client (default=gateway)
    tty: true

Tag summary

Content type

Image

Digest

sha256:2b98a66e5

Size

3.8 MB

Last updated

15 days ago

docker pull rosen01/velserv