diff --git a/docs/Commands.txt b/docs/Commands.txt index b726176b..c1e47d13 100644 --- a/docs/Commands.txt +++ b/docs/Commands.txt @@ -1,39 +1,39 @@ -* Change STA SSID +* Change STA SSID [ESP100] if authentication is on, need admin password [ESP100]pwd= -* Change STA Password +* Change STA Password [ESP101] if authentication is on, need admin password [ESP101]pwd= -* Change Hostname +* Change Hostname [ESP102] if authentication is on, need admin password [ESP102]pwd= -* Change Wifi mode (STA/AP) +* Change Wifi mode (STA/AP) [ESP103] if authentication is on, need admin password [ESP103]pwd= -* Change STA IP mode (DHCP/STATIC) +* Change STA IP mode (DHCP/STATIC) [ESP104] if authentication is on, need admin password [ESP104]pwd= -* Change AP SSID +* Change AP SSID [ESP105] if authentication is on, need admin password [ESP105]pwd= -* Change AP Password +* Change AP Password [ESP106] if authentication is on, need admin password [ESP106]pwd= -* Change AP IP mode (DHCP/STATIC) +* Change AP IP mode (DHCP/STATIC) [ESP107] if authentication is on, need admin password [ESP107]pwd= @@ -69,6 +69,6 @@ if no password set it use default one [ESP800]
* Clear status/error/info list -cmd can be ALL, ERROR, INFO, STATUS +cmd can be ALL, ERROR, INFO, STATUS [ESP999] diff --git a/docs/keywords.txt b/docs/keywords.txt index 277f171d..1d1487a4 100644 --- a/docs/keywords.txt +++ b/docs/keywords.txt @@ -1,6 +1,6 @@ [COMMON] $INCLUDE[] : only one per line and alone, others will be ignored -$IP$ : current active ip +$IP$ : current active ip $WEB_ADDRESS$: current active ip , if port is not 80 it will add port like xxx.xxx.xxxx.xxx:XX $MENU_HOME$/$MENU_SYSTEM$/$MENU_AP$/$MENU_STA$/$MENU_PRINTER$/$MENU_SETTINGS$: to highlight menu of active page (css use class active for active menu) $SERVICE_PAGE$ : to add extra code like redirection or anything not managed by page @@ -22,7 +22,7 @@ $MDNS_NAME$ : mDNS name if enabled or "Not enabled" if not enabled $SSDP_VISIBLE$ : set to hidden if no MDNS and visible if present $SSDP_STATUS$ : set to Enabled / Not enabled according compilation settings $CAPTIVE_PORTAL_VISIBLE$: set to hidden if no Captive portal and visible if present -$CAPTIVE_PORTAL_STATUS$: set to Enabled / Not enabled according compilation settings +$CAPTIVE_PORTAL_STATUS$: set to Enabled / Not enabled according compilation settings $NET_PHY$ : Network type (b/g/n) $SLEEP_MODE$ : Sleep Mode $BOOT_VER$ : Boot version @@ -32,7 +32,7 @@ $DATA_PORT$ : Port for tcp ip connection $DATA_PORT_VISIBILITY$ : set to hidden if no enabled and visible if enabled $AP_STATUS_ENABLED$ : is Access Point enabled or disabled -$AP_VISIBILITY$ : if Access Point is enabled set visible, else set to hidden +$AP_VISIBILITY$ : if Access Point is enabled set visible, else set to hidden $AP_MAC$ : Mac address of AP $AP_SSID$ : SSID of AP $AP_IS_VISIBLE$ : Is AP visible @@ -56,8 +56,8 @@ $CONNECTED_STATIONS_NB_ITEMS$ : number of item for connected stations list $IP_CONNECTED[$CONNECTED_STATIONS_NB_ITEMS$ -1]$ $STA_STATUS_ENABLED$ : is Station enabled or disabled -$STA_VISIBILITY$ : if Station is enabled set visible, else set to hidden -$STA_MAC$ : Mac address of Station +$STA_VISIBILITY$ : if Station is enabled set visible, else set to hidden +$STA_MAC$ : Mac address of Station $STA_SSID$ : SSID used by STA $STA_CHANNEL$ : Channel $STA_STATUS$ : Connection Status @@ -145,6 +145,6 @@ $XY_FEEDRATE$ : XY axis feedrate $Z_FEEDRATE$ : Z axis feedrate $E_FEEDRATE$ : Extruder feedrate $REFRESH_PAGE_STATUS$ : change to has-error if issue, or has-success if ok -$XY_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok +$XY_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok $Z_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok -$E_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok +$E_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok diff --git a/tools/server.py b/tools/server.py index 4a66b51a..20b13bcf 100644 --- a/tools/server.py +++ b/tools/server.py @@ -39,9 +39,9 @@ class MyHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): s = s.lower()+".tpl" #these do not exactly match, so let's make them! - s = s.replace("configsta","config_sta") - s = s.replace("configap","config_ap") - s = s.replace("configsys","system") + s = s.replace("configsta","config_sta") + s = s.replace("configap","config_ap") + s = s.replace("configsys","system") if os.path.exists(os.path.join(base_path,s)): ret = True,s @@ -96,7 +96,7 @@ if __name__ == '__main__': print "\ntags.json is located at:" print tools_path print "\nOpen your browser at http://localhost:" + str(server_port) - + os.chdir(base_path) print "="*60 handler = MyHandler