Data forwarding via the HTTP endpoint is activated using the HTTP_URL
variable. Example: HTTP_URL="https://best.app.example"
Forwarding via MQTT with MQTT_ENABLE=true
Name | Default |
---|---|
PORT | 5000 |
DECODER_YAML | ./decoder.yaml |
LOG_LEVEL | info |
LOG_PRETTY | false |
HTTP_URL | |
MQTT_ENABLE | false |
MQTT_BROKER_URL | mqtt://localhost:1883 |
MQTT_USERNAME | null |
MQTT_PASSWORD | null |
MQTT_CLIENT_ID | null |
MQTT_CA | null |
MQTT_CERT | null |
MQTT_KEY | null |
HTTP_LOG_ENABLE | true |
HTTP_LOG_PORT | 5000 |
LOG_FILE | ./log.json |
pnpm install
pnpm run dev
Dev MQTT Broker
docker run --rm -it -p 1883:1883 eclipse-mosquitto mosquitto -c /mosquitto-no-auth.conf
DOCKER_BUILDKIT=1 docker compose up
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by HARDWARIO a.s. in the heart of Europe.