A line per frame, for the frames nobody has named
ANKER_MQTT_FRAME_LOG logs every inbound cloud frame with its bytes, decoded or not — the ones this package drops are exactly the ones worth naming, so they are logged before the drop. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
245870a96a
commit
a7719fca6a
6 files changed
+102
No files matched your search
@@ -34,6 +34,15 @@ AUTH_USERS_COLLECTION=users
|
||||
# public wss:// base, or set OCPP_REQUIRE_TLS=false on a trusted network.
|
||||
OCPP_REQUIRE_TLS=true
|
||||
OCPP_PUBLIC_URL=
|
||||
|
||||
# Diagnostic only. Set to 1 to log every frame the charger publishes over Anker's
|
||||
# cloud broker — the ones DriverVault decodes and the ones it cannot, with their
|
||||
# bytes. It is how an unnamed frame gets named: hold a control read open, do the
|
||||
# thing in the Anker app, then read the frames back out of the container log.
|
||||
# Leave blank on a normal stack; a triggered charger writes a line every few
|
||||
# seconds.
|
||||
ANKER_MQTT_FRAME_LOG=
|
||||
|
||||
# The charger can dial either door: the API Server port directly, or the Web
|
||||
# App port, whose BFF now proxies /ocpp/ through to it. The endpoint the panel
|
||||
# shows is the API Server port only when OCPP_PUBLIC_URL says so — left blank it
|
||||
|
||||
@@ -47,6 +47,15 @@ AUTH_USERS_COLLECTION=users
|
||||
# networks only.
|
||||
OCPP_REQUIRE_TLS=true
|
||||
OCPP_PUBLIC_URL=
|
||||
|
||||
# Diagnostic only. Set to 1 to log every frame the charger publishes over Anker's
|
||||
# cloud broker — the ones DriverVault decodes and the ones it cannot, with their
|
||||
# bytes. It is how an unnamed frame gets named: hold a control read open, do the
|
||||
# thing in the Anker app, then read the frames back out of the container log.
|
||||
# Leave blank on a normal stack; a triggered charger writes a line every few
|
||||
# seconds.
|
||||
ANKER_MQTT_FRAME_LOG=
|
||||
|
||||
# The charger can dial either door: the API Server port directly, or the Web
|
||||
# App port, whose BFF now proxies /ocpp/ through to it. The endpoint the panel
|
||||
# shows is the API Server port only when OCPP_PUBLIC_URL says so — left blank it
|
||||
|
||||
@@ -81,6 +81,13 @@ services:
|
||||
# reach this port; only drop OCPP_REQUIRE_TLS on a trusted network.
|
||||
OCPP_REQUIRE_TLS: "${OCPP_REQUIRE_TLS:-true}"
|
||||
OCPP_PUBLIC_URL: "${OCPP_PUBLIC_URL:-}"
|
||||
# Diagnostic: set ANKER_MQTT_FRAME_LOG=1 in .env to log every frame the
|
||||
# charger publishes over Anker's broker, decoded ones and unreadable ones
|
||||
# alike, with their bytes. It is how a frame nobody has named gets named —
|
||||
# do something in the Anker app while a control read holds the connection
|
||||
# open, and read the frames back out of the log. Off by default: with it on
|
||||
# a charger under a live trigger writes a line every few seconds.
|
||||
ANKER_MQTT_FRAME_LOG: "${ANKER_MQTT_FRAME_LOG:-}"
|
||||
ports:
|
||||
# Localhost-only by default (the Web App reaches it over the internal
|
||||
# network). Set API_BIND=0.0.0.0 to expose the API panel — and the
|
||||
|
||||
@@ -74,6 +74,13 @@ services:
|
||||
# terminated in front of this stack or for local dev on a trusted network.
|
||||
OCPP_REQUIRE_TLS: "${OCPP_REQUIRE_TLS:-true}"
|
||||
OCPP_PUBLIC_URL: "${OCPP_PUBLIC_URL:-}"
|
||||
# Diagnostic: set ANKER_MQTT_FRAME_LOG=1 in .env to log every frame the
|
||||
# charger publishes over Anker's broker, decoded ones and unreadable ones
|
||||
# alike, with their bytes. It is how a frame nobody has named gets named —
|
||||
# do something in the Anker app while a control read holds the connection
|
||||
# open, and read the frames back out of the log. Off by default: with it on
|
||||
# a charger under a live trigger writes a line every few seconds.
|
||||
ANKER_MQTT_FRAME_LOG: "${ANKER_MQTT_FRAME_LOG:-}"
|
||||
ports:
|
||||
# Optional direct access to the API Server (and its panel at /); the Web
|
||||
# App reaches it over the internal network, not this host port. Chargers
|
||||
|
||||
Reference in new issue
Block a user