diff --git a/simpledemo.html b/simpledemo.html index ca1f302..b297005 100644 --- a/simpledemo.html +++ b/simpledemo.html @@ -420,7 +420,7 @@

After doing this, you have to go down to the restart collapsible. There, restart the NetSpeaker and it should connect to the configured WiFi.

If anything is wrong (either SSID or PSK wrong/typo, or the wifi's not available), the NetSpeaker opens an HotSpot - with the SSID and the PSK !

+ with the SSID ... and the PSK ...!

SSID + 'http://' + document.cookie + '/api/v1/system/restart');http.send();wait(3000);window.location.reload();"> @@ -559,7 +559,9 @@ restorePlayingStateLabel1 = document.getElementById('updatedLabel_RESTOREPLAYING_table') wifiLabel1 = document.getElementById('updatedLabel_WIFISSID_table'); apSsidLabel1 = document.getElementById('updatedLabel_APSSID_table'); + apSsidLabel2 = document.getElementById('updatedLabel_APSSID_code'); apPskLabel1 = document.getElementById('updatedLabel_APPSK_table'); + apPskLabel2 = document.getElementById('updatedLabel_APPSK_code'); const playingLabel1 = document.getElementById("updatedLabel_PLAYING_table_top"); const playingLabel2 = document.getElementById("updatedLabel_PLAYING_table_bottom"); const rs_plpathLabel1 = document.getElementById("updatedLabel_RS_PLPATH_table_top"); @@ -673,7 +675,9 @@ var apSsidString = JSON.parse(this.responseText).ap_ssid; var apPskString = JSON.parse(this.responseText).ap_psk; apSsidLabel1.innerHTML = apSsidString; + apSsidLabel2.innerHTML = apSsidString; apPskLabel1.innerHTML = apPskString; + apPskLabel2.innerHTML = apPskString; } } apRequest.open("GET", apiBase + apApiEndpoint, true);