Makers Blog

Solar charging. Super simple. As an example of running the user application on CHARX Control SEC3xxx, we use

Michael Janssen 09 June 2023 min. read
1,505 views 0 comments

CHARX Control is built on the PLCNext Linux platform, similar to a PLCNext Controller. It features hardware specifications including an ARM Cortex-A7 processor, 512MB RAM, and 8GB flash storage (with 5GB of free space). The example provided is specifically based on a CHARX Control SEC-3050, but the principles can be adapted for a PLCNext Controller with an ARM Cortex-A9.


What sets evcc apart is its unique capabilities. It allows you to charge your electric vehicle using your own surplus PV power, making it a sustainable and cost-effective solution. By leveraging existing systems such as PV and battery inverters, wallboxes, and energy meters, evcc seamlessly integrates with your infrastructure. Its intuitive and user-friendly interface provides a straightforward experience, ensuring effortless control over your electric vehicle charging. Furthermore, evcc is 100% open source, fostering collaboration and customization possibilities.


Getting Started with on CHARX SEC3xxx

This guide will walk you through the installation process of the application on the CHARX SEC3xxx charging controller.


Before you begin, please ensure you have the following:

  • CHARX SEC3xxx charging controller
  • Access to the terminal program
  • SSH credentials (provided by default)
  • Latest firmware installed

Installation Steps

Network Configuration

  1. Assign a static IP address to the CHARX SEC3xxx controller.
  2. Configure the gateway settings accordingly.
  3. Check the manufacturer's manual for details on directory structure, filesystem access, and software installation.
  4. Verify and update the firmware to the latest version if needed.

Port Forwarding

  1. Open the CHARX controller configuration website.

  2. Log in with the following credentials: | Username | Password | | -------- | -------- | | manufacturer | manufacturer |

  3. Navigate to "System Control" and add an incoming port (e.g., 7070).


SSH connection to CHARX Control

  1. Open your terminal program and establish an SSH connection to the CHARX SEC3xxx controller using the following command:
ssh user-app@ev3000 
  1. Authenticate using the provided SSH credentials. The default credentials are:

| Username | Password | | -------- | -------- | | user-app | user |

Make sure to change the password upon the first login.

Data Transfer

  1. Establish a connection to the CHARX SEC3xxx using an FTP program like WinScp or FileZilla.
  2. Use the IP address of the charging controller as the server address (e.g.,
  3. Enter the username "user-app" and the changed password.
  4. Use port 22 for the connection.
  5. Download the latest release binary file "" from the official GitHub repository:
  6. Extract the downloaded file "" and then extract "data.tar".
  7. Transfer the "usr" and "lib" directories to the "/data/user-app/evcc/" directory on the CHARX controller to ensure the files are not deleted during software updates.

Linux Application Permissions

  1. Open a terminal window.
  2. Change to the "/data/user-app/evcc/usr/bin" directory using the command:
cd /data/user-app/evcc/usr/bin 
  1. Grant execution permissions to the "evcc" application by running the command:
chmod +x evcc
  1. Add the directory to the environment variables using the command:
export PATH=$PATH:/data/user-app/evcc/usr/bin 

Initial Application Test

  1. Run the command:

This will start the application.

  1. Test the interface by opening a web browser and entering the CHARX SEC3xxx IP address with the port 7070 (e.g., or evcc.local:7070).


  1. Start the configuration process by running the command:
./evcc configure

Follow the instructions provided in the terminal window. Note: Advanced More Information to Configuration :

Set Autostart

  1. Open a terminal window.
  2. Use NANO to edit “user-application-start" in directory "/data/user-app" using the command:
nano /data/user-app/user-application-start
  1. Add the following lines:
sleep 30; # wait 30s for Modbusservice
/data/user-app/evcc/usr/bin/evcc -c /data/user-app/evcc/usr/bin/evcc.yaml  &
  1. Exit with Ctrl + x and save.

After a restart, the applicationshould start again automatically.

sudo reboot


The Makers Blog shows applications and user stories of community members that are not tested or reviewed by Phoenix Contact. Use them at your own risk.


Please login/register to comment


Leave a Reply

Never miss a new article
Sign up for the newsletter
Never miss news about PLCnext Technology
Get interesting content via newsletter four times a year
Receive exclusive information before all other users