Skip to main content

Network Configuration

network/config

General network settings

Example
# $HOST e.g. warp-AbCd

Read

curl http://$HOST/network/config
{ "hostname": "warp-AbCd", "enable_mdns": true, "web_server_port": 80 }

Write

curl http://$HOST/network/config -d '{ "hostname": "warp-AbCd", "enable_mdns": true, "web_server_port": 80 }'
NameDescription
hostname
string

Hostname the device should use in all configured networks.

enable_mdns
bool

Indicates whether the device should advertise the web interface via mDNS on the network. Via mDNS, the web interface will be accessible at http://[hostname].local (e.g., http://warp2-AbC.local).

web_server_port
int

Listen port of the web interface. Typically 80




network/state

General network state

NameDescription
connected
bool

Indicates whether the device is connected to a network.