DEVICE_NAME=ESP32-S2-DA EVSE

#LEDs
LED_CHARGING=y
LED_CHARGING_GPIO=36
LED_ERROR=y
LED_ERROR_GPIO=37
LED_STOP=y
LED_STOP_GPIO=35

#Button
BUTTON_WIFI_GPIO=32

#Pilot  
PILOT_PWM_GPIO=33
PILOT_ADC_CHANNEL=3
PILOT_DOWN_THRESHOLD_12=2405
PILOT_DOWN_THRESHOLD_9=2099
PILOT_DOWN_THRESHOLD_6=1792
PILOT_DOWN_THRESHOLD_3=1484
PILOT_DOWN_THRESHOLD_N12=728

#Proximity
PROXIMITY=n
PROXIMITY_ADC_CHANNEL=2
PROXIMITY_DOWN_THRESHOLD_13=1650
PROXIMITY_DOWN_THRESHOLD_20=820
PROXIMITY_DOWN_THRESHOLD_32=430

#AC relay
AC_RELAY_GPIO=25

#Socket lock
SOCKET_LOCK=n
SOCKET_LOCK_A_GPIO=20
SOCKET_LOCK_B_GPIO=19
SOCKET_LOCK_DETECTION_GPIO=34
SOCKET_LOCK_DETECTION_DELAY=1000
SOCKET_LOCK_MIN_BREAK_TIME=1000

#Residual current monitor
RCM=n
RCM_GPIO=41
RCM_TEST_GPIO=26

#Energy meter (none | cur | cur_vlt)
ENERGY_METER=cur_vlt
ENERGY_METER_THREE_PHASES=y

#Energy meter internal (ENERGY_METER=cur | cur_vlt)
ENERGY_METER_L1_CUR_ADC_CHANNEL=4
ENERGY_METER_L2_CUR_ADC_CHANNEL=5
ENERGY_METER_L3_CUR_ADC_CHANNEL=6
ENERGY_METER_CUR_SCALE=0.090909091

#Energy meter internal (ENERGY_METER=cur_vlt)
ENERGY_METER_L1_VLT_ADC_CHANNEL=7
ENERGY_METER_L2_VLT_ADC_CHANNEL=8
ENERGY_METER_L3_VLT_ADC_CHANNEL=9
ENERGY_METER_VLT_SCALE=0.47

#AUX
AUX_IN_1=n
AUX_IN_1_NAME=
AUX_IN_1_GPIO=

AUX_IN_2=n
AUX_IN_2_NAME=
AUX_IN_2_GPIO=

AUX_IN_3=n
AUX_IN_3_NAME=
AUX_IN_3_GPIO=

AUX_IN_4=n
AUX_IN_4_NAME=
AUX_IN_4_GPIO=

AUX_OUT_1=n
AUX_OUT_1_NAME=
AUX_OUT_1_GPIO=

AUX_OUT_2=n
AUX_OUT_2_NAME=
AUX_OUT_2_GPIO=

AUX_OUT_3=n
AUX_OUT_3_NAME=
AUX_OUT_3_GPIO=

AUX_OUT_4=n
AUX_OUT_4_NAME=
AUX_OUT_4_GPIO=

AUX_AIN_1=n
AUX_AIN_1_NAME=
AUX_AIN_1_ADC_CHANNEL=

AUX_AIN_2=n
AUX_AIN_2_NAME=
AUX_AIN_2_ADC_CHANNEL=

#Serial (SERIAL_X=none|uart|rs485)
SERIAL_1=none
SERIAL_1_NAME=UART
SERIAL_1_RXD_GPIO=
SERIAL_1_TXD_GPIO=
SERIAL_1_RTS_GPIO=

SERIAL_2=none
SERIAL_2_NAME=RS-485
SERIAL_2_RXD_GPIO=
SERIAL_2_TXD_GPIO=
SERIAL_2_RTS_GPIO=

#Onewire devices
ONEWIRE=n
ONEWIRE_GPIO=
ONEWIRE_TEMP_SENSOR=n