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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user