DSGC Gate Controller

Secure dashboard (Admin/User roles)

First run: admin / admin123 (change via .env)
DSGC
Gate Controller
Connecting…
IP —
RSSI —
UI —
Dual Swing Gate Controller
Safety interlocks • sequencing • soft ramps • per-device ACL • OTA

System

Device—
Online—
WiFi RSSI—
IP—
Firmware—
Error—
Safety—
Limits—

Control

Motors stop when timer finishes or stall current threshold is exceeded. Sequencing delay, soft-start/stop ramps, and safety interlocks are configurable (Admin).

Motors

Leaf 1
Pos—
Status—
Dir—
Duty—
Current—
Remaining—
Leaf 2
Pos—
Status—
Dir—
Duty—
Current—
Remaining—

Audit log

Admin

Common parameters

Saved config persists in ESP32 NVS and overrides config.h defaults.

Advanced JSON

Remote WiFi settings

Sends a config update to the selected device. The ESP32 will reboot if networking settings changed. Leave WiFi Password blank to keep the current password.
—
—

Initial setup (device offline)

If the ESP32 has no WiFi credentials (or cannot connect for ~30s), it will start a temporary Setup AP so you can provision WiFi + VPS settings.
Setup AP SSID—
Setup AP Passworddsgcsetup (default from config.h)
Portal URLhttp://192.168.4.1
What to doConnect to the AP, open the portal, select WiFi from the scan dropdown, set Server Base to your VPS URL, then save & reboot.
  1. Flash the ESP32 firmware from Arduino IDE.
  2. Power-cycle the ESP32. Look for WiFi SSID DSGC_SETUP_<deviceId>.
  3. Join that WiFi from your phone/laptop.
  4. Open http://192.168.4.1 and complete setup.
  5. After reboot, return to https://gate.stablapps.com dashboard and the device should appear online.

Calibration

Leaf 1

Leaf 2

Calibration runs a motor until stall is detected. Ensure the leaf can safely reach end-of-travel.
—

Firmware OTA

—
Build a firmware .bin for ESP32 and upload here. Device will pull it using a short-lived signed token.

User management

Create user

Users