WS Command — Integrated Web Server
Configure the embedded web server in Rinho IoT devices.
What is it for?
🌐 Main use cases:
- 🖥️ Create custom web control interface
- 🔘 Configure quick action buttons
- 🔐 Implement PIN code authentication
- 💻 Enable remote command console
- 👤 Login system for drivers/operators
In Access Point mode, the web server is accessible at http://web.local with automatic captive portal.
Commands
| Operation | Syntax |
|---|---|
| Configure | SWSa,b,cc..cc,dddd,e,button1/cmd1,... |
| Query | QWS |
| Disable | SWSD |
Parameters
| Parameter | Description | Values |
|---|---|---|
a | Server status | E = Enable, D = Disable |
b | Language | 0 = Spanish, 1 = English |
cc..cc | Header text | Page title |
dddd | Access code | 4 digits (0 = no authentication) |
e | Command console | 0 = Hidden, 1 = Visible |
buttonN/cmdN | Custom buttons | Up to 5 buttons |
If a button command starts with CODE0 or CODE1, a form will be displayed for code entry (numeric or alphanumeric respectively).
Server Access
| Mode | URL |
|---|---|
| 📡 Access Point | http://web.local (captive portal) |
| 📶 Station | http://[IP-address] |
Examples
Basic server in Spanish
>SWSE,0,Sistema de Control,1234,1<
// ││ │ │ └─ Console visible
// ││ │ └─ Access PIN
// ││ └─ Page title
// │└─ Spanish language
// └─ Enable serverWith control buttons
>SWSE,1,Control System,1234,1,Open Lock/SSSU1211,Reset/SRESET<
// └─ Button 1 └─ Button 2With driver login
>SWSE,1,Control System,1234,1,Open Lock/SSSU1211,LOGIN/CODE0<
// └─ Numeric formComplete configuration for door control
>SWSE,0,RINHO CONTROL,1234,1,LOGIN/CODE0,APERTURA/SSSXP0111,CIERRE/SSSXP0100<Important notes:
- Configuration is stored in persistent memory
- Web port: 80
- In AP mode, captive portal is automatically activated
Compatibility
💾Firmware:v1.00.00
SP-IOT
SM-IOT
ZE-IOT
See Also
- APX Command - Access Point Configuration
- CXWIF Command - General WiFi Configuration
- SS Command - Signal Control
Last updated