Skip to Content

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

OperationSyntax
ConfigureSWSa,b,cc..cc,dddd,e,button1/cmd1,...
QueryQWS
DisableSWSD

Parameters

ParameterDescriptionValues
aServer statusE = Enable, D = Disable
bLanguage0 = Spanish, 1 = English
cc..ccHeader textPage title
ddddAccess code4 digits (0 = no authentication)
eCommand console0 = Hidden, 1 = Visible
buttonN/cmdNCustom buttonsUp 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

ModeURL
📡 Access Pointhttp://web.local (captive portal)
📶 Stationhttp://[IP-address]

Examples

Basic server in Spanish

>SWSE,0,Sistema de Control,1234,1< // ││ │ │ └─ Console visible // ││ │ └─ Access PIN // ││ └─ Page title // │└─ Spanish language // └─ Enable server

With control buttons

>SWSE,1,Control System,1234,1,Open Lock/SSSU1211,Reset/SRESET< // └─ Button 1 └─ Button 2

With driver login

>SWSE,1,Control System,1234,1,Open Lock/SSSU1211,LOGIN/CODE0< // └─ Numeric form

Complete 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

Last updated