Skip to content

tlm-solutions/funnel

Repository files navigation

Funnel

built with nix

Service which filters and sends out data to all listening clients over websockets. This service expects the data to be sent over grpc.

Configuration

Environment

  • GRPC_PORT: mendatory under which the grpc server runs
  • WEBSOCKET_PORT: mendatory under which port the websocket port runs
  • API_DOMAIN: http domain of an running state-api

Filter

{
    "lines": [9, 11],
    "positions": [],
    "regions": [0],
    "enrich": true
}

This would only let telegrams from line 9 and 11 from region 0 (dresden). This Json just needs to be send to the websocket sending it again will overwrite the previous filter.

About

Service which filters and sends out data to all listening clients

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •