Skip to main content
Skip table of contents

Requesting and Downloading Diagnostics from a Charger

Diagnosing charger issues often requires reviewing the device's internal logs. eMabler provides a convenient way to retrieve diagnostics packages directly from chargers via the platform UI. These logs are sent to an FTP server for further analysis.


Prerequisites

Ensure the following before proceeding:

  • Charger is Online
    The charger must be connected and communicating with the eMabler platform.

  • FTP Server URL
    A destination URL where the charger will upload the diagnostics package.

    • Example format: ftp://username:password@host

  • eMabler Support FTP Server (Optional)
    You can request access credentials from eMabler Support.

  • FTP Client Installed
    Required to download the diagnostics package from the FTP server.

    • For macOS: Install via Homebrew if not already available.


Sending a Diagnostics Request via eMabler UI

  1. Navigate to the Charger
    Open the charger’s page and click "Details".

  2. Open the Actions Menu
    Click "Actions" in the top-right corner.

  3. Request Diagnostics
    Select "Send Diagnostics" from the dropdown.

  4. Provide FTP URL
    Enter the full FTP URL in the format:

    CODE
    ftp://username:password@host 

  5. Wait for Confirmation
    Once the charger completes the upload, a confirmation message appears in "Last Message".

    Example confirmation message:

    CODE
    [   2,   "35123123-asd23-243x-ba12-0141fc",   "DiagnosticsStatusNotification",   { "status": "Uploaded" } ] 

Downloading Diagnostics Using Terminal FTP Client

  1. Open Terminal
    Launch your terminal application.

  2. Connect to FTP Server

    CODE
    ftp username@host 
  3. Enter Password
    When prompted, enter the corresponding password.

  4. Enable Binary Mode

    CODE
    ftp> binary 
  5. List Files

    CODE
    ftp> ls 

    Look for a file named with a pattern containing the charger ID and date.

  6. Download the File

    CODE
    ftp> get <filename> 
  7. Exit FTP Session

    CODE
    ftp> quit 

    You should now have a .zip diagnostics package on your machine.


Fixing Broken ZIP Packages

Some chargers may generate ZIP archives missing essential directory metadata, leading to extraction errors.
Common error:

CODE
pgsql

CopyEdit

End-of-central-directory signature not found.

How to Fix It (macOS Terminal)

Use the zip utility to repair the archive:

CODE
zip -FF broken.zip --out fixed.zip 
  • Replace broken.zip with the path to the downloaded file.

  • fixed.zip will be the rebuilt and usable archive.

You can now extract it using standard ZIP tools.


Additional Tips

  • For recurring diagnostics, automate FTP uploads with scheduled tasks or support scripts.

  • Always verify charger status before requesting logs to avoid incomplete uploads.

  • Contact eMabler support for help with credentials or troubleshooting FTP issues.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.