Skip to content

Variables

ESP3D-X exposes its internal settings through the [ESP400] command (read all) and [ESP401] command (write one). Each setting has a position (P), a type (T), and a value (V).

Settings are returned as a JSON array by [ESP400]json=yes. Each entry contains:

  • P — Position (index)
  • T — Type (B=byte, S=string, A=IP address, I=integer)
  • V — Current value
  • H — Human-readable label
  • O — Options list (for enumerated values)
  • M — Minimum value
  • X — Maximum value
  • MS — Minimum string length
  • MX — Maximum string length
PositionLabelTypeValues / Range
outputOutput clientBserial port (1), usb port (2)
baudBaud rateB9600, 19200, 38400, 57600, 74880, 115200, 230400, 250000, 500000, 921600, 1000000
usb-serial baudUSB serial baudBSame as baud
targetfwTarget firmwareBUnknown(0), Grbl(10), Marlin(20), Smoothieware(40), Repetier(50), grblHAL(80), HP_GL(90), FluidNC(100)
languageUI languageBDepends on built-in language packs
PositionLabelTypeValues / Range
radio modeRadio modeBnone(0), sta(1), ap(2), setup(3), bt_serial(4), bt_ble(5)
radio_bootRadio boot modeBno(0), yes(1)
hostnameHostnameS1–32 chars
SSIDSTA SSIDS1–32 chars
pwdSTA passwordS0–64 chars
ip modeSTA IP modeBdhcp(0), static(1)
sta fallback modeSTA fallbackBnone(0), setup(3)
ipSTA static IPAIP address
mskSTA static maskAIP mask
gwSTA static gatewayAIP gateway
DNSSTA static DNSAIP DNS
SSIDAP SSIDS1–32 chars
pwdAP passwordS8–64 chars
ipAP static IPAIP address
channelAP channelB1–14
PositionLabelTypeValues / Range
session timeoutSession timeoutB0–255 min
admin pwdAdmin passwordS0–16 chars
user pwdUser passwordS0–16 chars
PositionLabelTypeValues / Range
enableHTTP serviceBno(0), yes(1)
portHTTP portI1–65535
portHTTPS portI1–65535
enableWebDAVBno(0), yes(1)
enableTelnet/SocketBno(0), yes(1)
portTelnet/Socket portI1–65535
enableWebSocket serverBno(0), yes(1)
notificationNotification typeBnone(0), pushover(1), email(2), telegram(3), ifttt(4), whatsapp(5), homeassistant(6)
auto notifAuto notificationBno(0), yes(1)
t1Notification token 1S0–63 chars
t2Notification token 2S0–63 chars
tsNotification token settingS0–63 chars
PositionLabelTypeValues / Range
pause_scriptPause scriptS0–255 chars
resume_scriptResume scriptS0–255 chars
stop_scriptStop scriptS0–255 chars
PositionLabelTypeValues / Range
speedxSPI divider (SD)B1, 2, 4, 6, 8, 16, 32
SD updaterCheck SD updateBno(0), yes(1)
themeDisplay themeBBlue(0), Green(1), Red(2), Orange(3), Yellow(4), Purple(5), Pink(6), Gray(7), White(8)
orientationDisplay orientationBportrait(0), landscape(1), portrait_inverted(2), landscape_inverted(3)
lockUILock UIBno(0), yes(1)
HidelockUIHide lock UIBno(0), yes(1)
brightnessBrightnessI0–100
buzzerBuzzerBno(0), yes(1)
intervalSensor intervalI0–3600000 ms
i-timeInternet timeBno(0), yes(1)
tzoneTimezoneSFrom supported list
t-serverTime server 1–3S0–255 chars
[ESP400]json=yes
[ESP401]P=<position> T=<type> V=<value>

Example:

[ESP401]P=baud T=B V=115200