Get the static IP information
Makes a call to https://10.10.10.254/httpapi.asp?command=getStaticIpInfo
If the WiiM device is configured to use DHCP, the above string values will be empty (see the ethernet related keys).
Responses
Successful response
Query networking status
Get the connection status
Makes a call to
https://10.10.10.254/httpapi.asp?command=wlanGetConnectState
Note the return result is not in json.
Return string:
Return string Description
PROCESS In progress
PAIRFAIL Wrong password
FAIL Connect fail
OK connected
Responses
Successful response
Set static WLAN network config
Example: https://10.10.10.254/httpapi.asp?command=setWlanStaticIp:ipAddr=192.168.1.100/24:gateWay=192.168.1.1:dnsServer=8.8.8.8
Keyword args:
- ipAddr: Static IP address to set + netmask
- gateWay: Gateway
- dnsServer: The DNS Server (default: 8.8.8.8)
Parameters
Path Parameters
Static IP address to set + netmask
"192.168.0.123/24"Gateway IP address
"192.168.0.1"The DNS Server (default: 8.8.8.8)
"8.8.8.8"Responses
Successful response
Set static Ethernet network config
Example: https://10.10.10.254/httpapi.asp?command=setEthStaticIp:ipAddr=192.168.1.100/24:gateWay=192.168.1.1:dnsServer=8.8.8.8
Keyword args:
- ipAddr: Static IP address to set + netmask
- gateWay: Gateway
- dnsServer: The DNS Server (default: 8.8.8.8)
Parameters
Path Parameters
Static IP address to set + netmask
"192.168.0.123/24"Gateway IP address
"192.168.0.1"The DNS Server (default: 8.8.8.8)
"8.8.8.8"Responses
Successful response
Change the SSID name of the device
Setting the password WIFI
Example: http://10.10.10.254/httpapi.asp?command=setNetwork:1:password
Setting a new password using letters and / or numbers and crossing of setnetwork setting: 1 (Securing WIFI network (WPAPSK) in contrast, setnetwork: 0 (OPEN) makes the network open WIFI.
No response The system restarts after the validation of the new password.
Parameters
Path Parameters
Network security type, where 1 secures the WIFI network with WPAPSK and 0 makes the network open.
01The new password to set for the WIFI network, using letters and/or numbers.
Responses
Successful response
Get the preferred DNS server
Get the WLAN band configuration
Get the WLAN roaming configuration
Get IPV6 enable status
Stop WIFI signal
WLAN connect to hidden AP
WLAN connect to hidden AP with extra parameters
Get the network configuration
Get WLAN AP list
Set hide SSID
Set network with AES encryption
Set WLAN band configuration
Set WLAN connect disable
Set WLAN roam configuration
Set network preferred DNS
Get WLAN AP list
Wlan switch connected AP
Set IPv6 enable
Get WLAN connect disable status
Get network health status
...
Returns: {"wlanDhcpTime":0, "ethDhcpTime":1, "wlanIpChanged":0, "wlanRoamingOn":0, "wlanBand":0, "wlanHistoryNum":0, "disconnectedCount":1, "lastDisconnectedTime":1, "ethDisconnectedCount":0, "lastDisconnectedMsg":"", "ethNotReady":0, "pingCheckFailedCount":0, "wlanConnectTime":0, "wlanAbnormalRebootTimes":0, "wlanIsStaticIp":0, "ethIsStaticIp":0}
Responses
Successful response