Skip to content

Accessing the controller

The controller can be accessed in two physical ways: a UART port, and the ethernet RJ45 connector.

SSH

An SSH server is running on the controller on the standard SSH port, 22. To access it is a matter of knowing the address of the controller.

In the present version, controllers are configured by default for a static IPv4 address:

Variant Static IP Submask Gateway
ADM-CS-SECC 192.168.1.51 255.255.255.0 192.168.1.1
ADM-CS-EVCC 192.168.1.49 255.255.255.0 192.168.1.1

Note

This will change in the future with DHCP addressing by default

The following steps will help access the controller successfully:

  1. Change the IP address of your system to a different IP address than the controllers. You can do that on Windows by opening "Ethernet Properties" then double-clicking "Internet Protocol Version 4 (TCP/IPv4)". Here you should choose an IP address, not in use by any device on the network.

    You can check that the IP address is not used by pinging it. It should be unreachable:

    $ ping <your IP address>
    

    A ping to an unused IP address times out, confirming it is free
    Figure 15: A ping to an unused IP address times out, confirming it is free

    The following example is for windows users:

    Windows Ethernet status, the way in to the adapter properties
    Figure 16: Windows Ethernet status, the way in to the adapter properties

    Windows Ethernet properties, selecting Internet Protocol Version 4 (TCP/IPv4)
    Figure 17: Windows Ethernet properties, selecting Internet Protocol Version 4 (TCP/IPv4)

    Setting a static IP address on the Windows adapter
    Figure 18: Setting a static IP address on the Windows adapter



  1. Access the controller using ssh:

    • Open a terminal (on windows type cmd in the search bar) then use the following command with the IP address of the controller (in the following example it's the default address):
    $ ssh root@192.168.1.51
    
    • If you're connecting for the first time, you should accept adding the fingerprint of the controller to the known hosts list, by typing "yes" and pressing enter after this message is shown:

    Accepting the controller's SSH fingerprint on the first connection
    Figure 19: Accepting the controller's SSH fingerprint on the first connection

    Tip

    The controller is also using the Avahi/ZeroConf/Bonjour/mDNS protocol to advertise itself on the network. In particular, the _ssh._tcp_ service is broadcasted.

    So, in the simplest case you would just have to do:

    $ ssh root@advantics.local
    

  2. Access the controller using Putty:

    Download from here: https://www.putty.org/

    To access the controller you simply need to introduce the IP address then click Open:

    PuTTY configured with the controller's IP address
    Figure 20: PuTTY configured with the controller's IP address

Login

On controllers sold for development and prototyping, the login credentials are:

* *
Login root
Password dev-only

For controllers meant for series production, the following hardening methods are available.

  • Strong, randomized password initialized at first boot of the system after installation.
  • Deactivated root account (ie. Ubuntu-like).
  • SSH key provisioned on the system, and SSH password login restricted.

Attention

For series production, you will have to choose at least one of these methods. Advantics will refuse to provide series production orders with system having simple, always the same, default

password. Even if you don't plan to have the module connected to Internet.

Web UI

Over the same ethernet connection, the controller also serves a web interface: the ADVANTICS Controller System Manager, or CSM. It covers most of the day-to-day work without a terminal — controller status, live monitoring of a charge session, editing the configuration, managing the applications, and reading and exporting the logs.

Reach it with the controller's IP address, on port 80:

Variant Web UI address
ADM-CS-SECC http://192.168.1.51
ADM-CS-EVCC http://192.168.1.49

What the interface offers, page by page, is documented in Web UI Access.

Those are the default static addresses from the SSH section above; if you have changed the controller's address, use the new one. Your computer has to be on the same subnet, so step 1 of that section applies here too — give your own adapter a free address on 192.168.1.x before opening the page.

Attention

Because there is no authentication, anyone who can reach the controller on the network can read its configuration and change it. The web interface is meant for development and commissioning: keep the controller on a private network, and disable the interface for production by setting enable_web_interface = false in the [system] section of the configuration file.

UART Console

The default console of the system is mapped to the UART port accessible through connector J4.

The UART console is available on All ADVANTICS charge controllers.

On the SECC:

Location of the UART console on the ADM-CS-SECC
Figure 21: Location of the UART console on the ADM-CS-SECC

On the EVCC:

Location of the UART console on the ADM-CS-EVCC
Figure 22: Location of the UART console on the ADM-CS-EVCC

On the Generic Controller:

Location of the UART console on the generic controller
Figure 23: Location of the UART console on the generic controller

UART configuration

* *
Voltage 3.3V
Baudrate 115200 bauds/s
Parity None
Size 8 bits
Flow control None

Warning

This UART port works in 3.3 V only. If you use another voltage you might damage the computer module!

You should use a so-called "console cable" which will translate this 3.3 V UART to USB for instance.

Once connected with suitable software (eg. PuTTY on Windows, screen on Linux) you will see all system messages, in particular when the controller is booting up.

Jump to Login for the next step.

Tip

A compatible console cable would be a TTL-232R-3V3 from FTDI. Wire it as such:

Cable pin Cable color Cable signal J4 pin J4 name on picture
1 Black GND 3 GND
4 Orange TXD 1 IN
5 Yellow RXD 2 OUT