Specifications

Dual-gun AC charger

Shenzhen Xiaoniu New Energy. Model family XNACS07-GB2015. Firmware DEV_XN2GUN, build 2026-06. The controller drives a left gun and a right gun. Enclosure, input, and connector are the 7 kW AC class. K3 down is 32 A. K3 up is 24 A. The two guns are not added into a 14 kW rating.

1. Charger

Size280 × 400 × 120 mm
IngressIP54, outdoor
InputAC 220 V 50 Hz, cable 3 × 6 mm²
OutputAC 220 V 50 Hz. 32 A and 7 kW with K3 down. 24 A with K3 up
ConnectorGB/T 20234.2 AC connector, 7 contacts, 3.5 m cable, one left and one right
EnclosureEngineering plastic and tempered glass, flame retardant, UV resistant
Network4G Cat-1
PaymentWeChat mini program. Prepaid balance, then deducted. A whitelist can charge for free
Billing(energy price + service fee) × energy. Service fee up to 0.8 CNY per kWh
UseSmall battery-electric cars and plug-in hybrids. Wall or pedestal. The contactor stays open until a vehicle is connected
Life8 years

2. Controller

MCUSTM32F405. SPI energy meter. Voice, watchdog, and ThingsBoard are built in
GunsLeft = 0, right = 1. Attribute sockets is 2. Attribute devtype is 2
Current limitEach gun starts at 32000 mA until shared attribute imax replaces it. CP PWM is 32/60 of full scale with K3 down, and 24/60 with K3 up
Residual currentEach gun has its own detector and self-test. Only the remote command set_EVRCD can skip the test
Stop keyOpens the output and stops the charge
HolsterSeated on the holder, or lifted off. Separate from the vehicle control-pilot plug-in
TemperatureLeft gun, board, and right gun, in °C
FirmwarefmBuild 2026-06, afrVer 202604-LTS

3. DIP switches

Down is open and reads 0. Up is closed and reads 1.

K1Up: plugging in starts the charge when stop is released. Down: wait for switch_ON
K2Down: buzzer. Up: voice
K3Down: 32 A / 7 kW. Up: 24 A. Both guns use the same setting
K4Down: MQTT over TLS, port 8883. Up: plaintext MQTT, port 1883. Broker is mqtt.thingsboard.cloud

Attribute boardKeys: bits 0–3 are K1–K4. Bit 4 is left-gun enable. Bit 5 is right-gun enable.

4. Cloud

The charger provisions itself. The MQTT username is provision. The device name is the 12-hex MAC. After provisioning it stores the negotiated username and password, reboots, and publishes. Shared imax is two current limits in milliamps. powrate is the meter constant and starts at 100.

5. Telemetry

Published when a value changes. Voltage in V, current in mA, energy in Wh, power in W, temperature in °C.

Each gun_voltageL _voltageR voltage
_curL _curR current
_energyL _energyR energy
_powL _powR power
_stateL _stateR charge state
_stpL _stpR stop reason
_swtL _swtR output switch
_cpL _cpR control pilot, positive half
_czL _czR control pilot, negative half
_pwmL _pwmR CP pulse width
_holsterL _holsterR holster
Charger_tmpL _tmpB _tmpR temperature
_volgnd line-to-ground voltage
_stopkey emergency stop
_lteSign LTE signal
_fastloads fast-report count remaining

Gun voltage stays 0 while the contactor is open. Line-to-ground voltage is still reported. The charger also sends evt_gunCHANGE (2 left in, 3 right in, 4 left out, 5 right out), evt_holsterCHANGE (6 left seated, 7 left lifted, 8 right seated, 9 right lifted), and evt_rptavgpow.

6. Remote commands

Two-way RPC. Each call carries one parameter, params.value, and replies with the method and the value applied. Gun numbers are 0 for left and 1 for right.

switch_ON0 or 1. Starts the charge sequence on that gun. With no vehicle connected the sequence runs and the contactor stays open
switchOFF0 or 1. Stops that gun at once, sets stop reason 9 (stopped from the dashboard), sets its current limit to 0 and opens its contactor and control pilot
all_ONOFF1 starts both guns that are idle. 0 stops both guns with stop reason 9. Values above 1 are read as 1
pwm_gl_EN, pwm_gr_ENControl-pilot duty in 0.1 %, 1–990, for the left or right gun. 100 is 10 %, about 6 A; 533 is about 32 A. Any value above 990, for example 999, closes the output
beepTIMESstyle × 10 + count, for example 3 or 26. Plays count beeps with the pattern chosen by style; count 0 plays one beep
to_reload0–160, larger values are capped. Sends up to that many telemetry reports in quick succession, so a dashboard refreshes at once
reboot_meA reason code: 14 server request, 15 share-page request, 16 assistant request. Replies, then reboots at once and records the code as the boot reason; any other value is recorded as a generic server reboot. Charging stops
firmw_OTAAny value, normally 1. Acknowledges with 1 and beeps twice. It does not start a download by itself: firmware is installed through ThingsBoard's own OTA updates. Assigning firmware sets the shared attributes fw_title, fw_version and fw_size, and the charger downloads the image in chunks and reboots into it
firmwOTA2A plain http:// URL, 11 to 126 characters. Stores the URL, sets the update flag and reboots into the boot loader, which downloads and installs that firmware. A value that is not a plain http:// URL of that length clears the update flag and changes nothing; the reply then carries the current application version
off_TMOUT0 or 1. Stops that gun with stop reason 4 (normal stop). A billing server sends it when the paid time ends
off_NOMEY0 or 1. Stops that gun with stop reason 5 (prepaid balance exhausted)
get_SW_ST, get_CURET, get_STOPF, get_AVGP0 or 1. Read back the output switch, the current, the stop reason or the average power
reset_allErases the stored settings, provisioning included, and reboots. Do not put it on a dashboard

7. Shared attributes

Set these on the device from the server. The charger reads them at power-on and applies a pushed change immediately; both survive a power cycle.

imaxA JSON array of two integers in milliamps, left gun first: [16000, 24000]. Current limit of each gun, stored separately; 0 leaves that gun on the default limit. K3 still sets the hardware ceiling, 32 A or 24 A. It is JSON, not a string
powrateOne integer, 100 at the factory. Meter constant of the SPI energy meter