ChargeLink

chargelink plc

The PLC data link (HomePlug Green PHY with SLAC): check a relay and its modem, run one matching, self-check a modem unit

← All commands

chargelink plc

The PLC data link (HomePlug Green PHY with SLAC): check a relay and its modem, run one matching, self-check a modem unit

chargelink plc [OPTIONS] <COMMAND>

Subcommands

SubcommandPurpose
checkConnect to a relay, read its hello and check its modem's firmware and coordinator (CCo) role
slacOne matching over a relay, in one role, until the link has ended
selfcheckA read-only self-check of the PLC modem unit (modem, pilot, or SLAC alone), as JSON

chargelink plc check

Connect to a relay, read its hello and check its modem's firmware and coordinator (CCo) role

chargelink plc check [OPTIONS] --relay <RELAY> --role <ROLE>

Options (global options --json, --runtime-root, --artifact-root and --license are accepted everywhere and omitted here)

OptionValueDefaultDescription
--relay<RELAY>requiredThe relay, for example [fe80::1%12]:7500
--relay-secret-file<FILE>The relay's pairing secret (64 hex digits) in this file; default: the file named by CHARGELINK_RELAY_SECRET_FILE. The secret is never printed or recorded
--role<ROLE>
one of: evse, ev
requiredThe role the modem is checked for: evse (charger; its modem is the central coordinator, CCo) or ev (vehicle)
--timeout-s<TIMEOUT_S>10Give up after this many seconds

chargelink plc selfcheck

A read-only self-check of the PLC modem unit (modem, pilot, or SLAC alone), as JSON

chargelink plc selfcheck [OPTIONS] --side <SIDE> <CHECK>

Positional arguments

ArgumentDescription
<CHECK>What to check: the modem, the control pilot, or a matching alone [possible values: modem, pilot, slac]

Options (global options --json, --runtime-root, --artifact-root and --license are accepted everywhere and omitted here)

OptionValueDefaultDescription
--side<SIDE>
one of: evse, ev
requiredThe unit's side: evse (charger) or ev (vehicle)
--relay<RELAY>[::1The unit's relay:7500]
--timeout-s<TIMEOUT_S>10Give up after this many seconds

chargelink plc slac

One matching over a relay, in one role, until the link has ended

chargelink plc slac [OPTIONS] --role <ROLE>

Options (global options --json, --runtime-root, --artifact-root and --license are accepted everywhere and omitted here)

OptionValueDefaultDescription
--relay<RELAY>The relay, for example [fe80::1%12]:7500
--role<ROLE>
one of: evse, ev
requiredThe side this process plays: evse (charger) or ev (vehicle)
--hold-s<HOLD_S>Terminate this long after Link established; without it, wait for the other side
--timeout-s<TIMEOUT_S>120Give up after this many seconds
--report<REPORT>Also write the report to this file
--relay-secret-file<FILE>The relay's pairing secret in this file; default: CHARGELINK_RELAY_SECRET_FILE
--eventsflagPrint each event as one JSON line (schema chargelink.plc.slac.events.v1) as it happens; the report then follows as the last line, event "ended"
--stop-file<FILE>End a held link cleanly (D-LINK_TERMINATE) once this file exists; before a link, cancel