Skip to content

GL.iNet GL-S10

RecommendedEnclosed, PoE and an external antenna: built for this job. Flashing means opening the case once.
ChipESP32
Form factorEnclosed, 57 × 57 × 25 mm
Flash4 MB + 8 MB PSRAM
AntennaExternal antenna (IPEX)
USBMicro-USB, power only
InstallUSB-TTL adapter on the internal header, esp32 flavor (case must be opened)
Price~$25
Storesgl.inet
GPIOFunctionESPresense setting
32Status LED, white (active low)LEDs
33Side button (active low)Inputs
14Power LED (active low)—
12BLE LED (active low, strapping pin)—
15I2C SDA pad (inside)—
13I2C SCL pad (inside)—
5Ethernet clock enable—
0Ethernet clock in—

Paste this into the Board Template box on the node's Templates page, then Preview and Apply (firmware v5.0.0b1 or later). It sets the board's pins (and Ethernet type, if it has one) in one go. The LED, input and output lists replace what was configured before, so the result doesn't depend on the node's old setup. See Templates.

{"name":"GL-S10","chip":"esp32","settings":{"leds":[{"type":"pwm_inverted","pin":32,"count":1,"control":"status"}],"inputs":[{"name":"Button","role":"button","pin":33,"type":"pullup_inverted"}],"outputs":[],"eth":9}}
Formatted, with what each value means
{
  "name": "GL-S10",
  "chip": "esp32",
  "settings": {
    "leds": [
      {
        "type": "pwm_inverted",
        "pin": 32,
        "count": 1,
        "control": "status"
      }
    ],
    "inputs": [
      {
        "name": "Button",
        "role": "button",
        "pin": 33,
        "type": "pullup_inverted"
      }
    ],
    "outputs": [],
    "eth": 9
  }
}

LED type: pwm, pwm_inverted, grb, grbw, rgb or rgbw (the last four are addressable). LED control: mqtt, status, motion, count, or output (follows the output numbered byoutput). Input type: pullup, pulldown or floating, with_inverted for active-low. Output type: output, output_inverted, or high/low for a pin that's just held at that level. An output's input is the 1-based input that controls it. power takes ESPHome's hlw8012 values (a cse7766 needs only rx); sel_inverted matches ESPHome's inverted on sel_pin. eth is the Ethernet Type's option number.

  • Flashing: pry the back plate off from its notch (there are no screws) and unplug the antenna. Wire a 3.3 V USB-TTL adapter’s TX, RX and GND to the header on the PCB (not VCC), then hold the internal button next to the USB port while plugging in micro-USB power. The outside button is not the boot button. GL.iNet has a flash guide.
  • Never connect USB and PoE at the same time.
  • The Ethernet Type entry is for hardware v2.1 and later (IP101 PHY). v1.0 units used a LAN8720 and aren’t covered by this entry.
  • The template uses the white LED for status and the side button as button 1. The power LED (GPIO 14) and BLE LED (GPIO 12) aren’t configured; GPIO 12 is a strapping pin, so leave it alone.
  • I2C is off by default. If you add a sensor, the pads inside are SDA 15 and SCL 13. A light sensor works; a temperature sensor inside the case reads the board’s own heat.
  • Earlier ESPresense issues with this board are fixed: PoE link drops (#888) and packet loss (#1182).