- Author: Emil Sedlacek @ FHSTP
- Purpose: RFID-JSON → Omlox Gateway for forwarding reader and tag data to DeepHub
- Version: 0.3 (2025-11-13)
- License: MIT
preOmloxServer is a Python-based gateway that receives RFID data in JSON format, converts it to the Omlox specification, and forwards it via the Omlox REST API to a DeepHub server.
- Converts RFID JSON into Omlox-compliant data.
- Creates/updates
location providers,zones, andtrackables. - Encapsulated design including an adaptable Omlox client.
- Encapsulable into docker-container.
- Performance: Runs single-threaded, relying on a basic HTTP server and client.
- Based on an omloxoridentcontrol implementation by Pepperl+Fuchs, significantly extended here.
- Docker 3.8+
- Python 3.13+
- Dependencies listed in
requirements.txt
- Dependencies listed in
docker build -t preomloxserver .docker run -p 8082:8082 preomloxserver -o https://logitraak.media.fhstp.ac.at/deephub/v2Script / CLI Parameters
-c preOmloxServerSettings.json→ fixed inentrypoint.sh(containerized)-o http://127.0.0.1:7081/v2→ customizable endpoint
Environment Variables
PYTHONUNBUFFERED=1LOGLEVEL_MIDDLEWARE=DEBUGOMLOX_URL=http://127.0.0.1:7081/v2→ takes precedence over-oPREOMLOX_SERVER_LAZY_GPS=TRUE→ enables creation of location providers with GPS (intentionally run locally because buggy, needs restart of server when changing GPS locations)LOG_DATA=TRUE→ Logs data to CSV - might slow down over time.
version: '3.8'
services:
preomlox:
image: preomloxserver:latest
container_name: preomlox
ports:
- "8082:8082"
environment:
PYTHONUNBUFFERED: "1"
LOGLEVEL_MIDDLEWARE: "DEBUG"
OMLOX_URL: "http://192.168.0.100:7081/v2"
PREOMLOX_SERVER_LAZY_GPS: "1"
LOG_DATA: "1"Run:
docker compose up -d- 0.1 – Functional prototype
- 0.2 – Bugfixes
- 0.3 - Datalogger added