# mainskeeper CLI — PROPOSED product contract, not shipped software. Fictional demonstration data.
# screen: doctor-comms · host: lab-pi · 80 columns · NO_COLOR · exit 6
# clock: Wed 30 Sep 2026 15:22 PDT · Illustrative · placeholder host outside the fixture fleet
# stderr lines (counting the prompt line as 1): 13, 14, 15, 19
lab-pi $ mainskeeper doctor
MainsKeeper · lab-pi · doctor                          Wed 30 Sep 2026 15:22 PDT
Checks read state only. Nothing on the UPS or attached equipment is changed.

✓ config
  /etc/mainskeeper/collector.toml valid (schema 1)
✓ enrollment
  enrolled · valid
✓ service
  mainskeeperd.service active (running) since 08:02:11 PDT
✓ cloud
  connected · last contact 9 s ago
✗ UPS comms
  APC Back-UPS 600 present on USB but not answering: USB HID read timeout
  last good reading 15:16:40 PDT (5 min ago) · 11 read attempts failed since
▲ dashboard
  shows “UPS communication lost”; readings show “Stale · last known 15:16”

Result  1 problem · exit 6 (hardware/source error)

Check
  › reseat the USB cable at the UPS; some UPS models need a minute after
    reconnecting
  › then sudo mainskeeper sources test usb-051d-0002
