90 Commits

Author SHA1 Message Date
luc
1ffcb54c6e Fix typo issue - no extra settings menu active 2015-10-25 09:20:52 +08:00
luc
cb8e9d2d1b Add css for upload button and forgotten buttons
in extra settings and printer status pages
2015-10-23 22:23:59 +08:00
luc
b6b0f84fb6 Files cleaning as only for more than 512K flash
for less there is a new branch
2015-10-23 16:41:32 +08:00
luc
3cbb3fc14e Fix typo issue 2015-10-23 16:18:18 +08:00
luc
eae00a3648 Display total space, used space and % occuped
in file manager for SPIFFS
2015-10-23 11:58:19 +08:00
luc
b2f8ab93bc Change EEPROM begin/end to be sure it is open
Update print_config
2015-10-22 21:38:52 +08:00
luc
fa9b87f734 Add command for SSID/PASSWORD/AP or STA/DHCP or STATIC
[ESP100]<SSID> : SSID
[ESP101]<Password> : Password
[ESP103]STA : Station mode
[ESP103]AP : AP mode
[ESP103]STATIC : IP Static
[ESP103]DHCP : use DHCP
2015-10-21 21:21:59 +08:00
luc
65ec16f4d5 Add RESET/CONFIG/SAFEMODE to command line
[ESP444]RESET will set default values to EEPROM and restart module
[ESP444]CONFIG will display EEPROM but password
[ESP444]SAFEMODE will switch to safe mode = default mode but without
modifying EEPROM and no restart
2015-10-21 20:38:07 +08:00
luc
8439a2aa24 Change default for 64K SPIFFS in data
Add UI for SD File selection and print file
2015-10-20 16:54:39 +08:00
luc
65a68a91cd Typo issue for previous fix
move all in one location
2015-10-20 14:07:49 +08:00
luc
c8ebad5231 fix some size on 64K printer.tpl
to avoid UI moving when status change
2015-10-20 13:56:41 +08:00
luc
01d4fc007c Add support to catch SD File list
Due to memory constraint limit to 70 entries of 30 char max =~2K
also add a time out if cannot catch end of list within 30s
/SDFILES is a JSON file with the list - UI not defined yet
2015-10-20 13:28:15 +08:00
luc
86a9b77f26 Fix missing home button for 64K SPIFFS tpl
update printer.tpl to add missing command / update screenshot
2015-10-20 13:14:24 +08:00
luc
a08ba29ef7 Optimize printer.tpl for 64K SPIFFS
Remove all fancy and keep only functionnal
2015-10-19 21:39:26 +08:00
luc
953c24c8da Fix bug with + jog command
+ was not encoded and decoded as a space
sync more then 64K files
2015-10-19 21:38:09 +08:00
luc
5c4e11ea3f Change extuders steps thanks to @c128
change from 0.1/1/10 to 1/10/50 mm - which make more sense, bad copy and
paste from Z UI
2015-10-19 15:36:16 +08:00
luc
ad4ac02d69 Remove debug message to follow heap size 2015-10-19 14:54:47 +08:00
luc
80742c422a Add light file manager to upload/download/delete
files on SPIFFS - need to decrease printer.tpl size to implement have
more space for new settings.tpl for 64K SPIFFS
2015-10-19 14:43:16 +08:00
luc
7379ac580d Complete rewrite using template and SPIFFS
change to V0.4
2015-10-16 17:49:04 +08:00
luc
10e3cf1674 Fix typo issue - bad copy and past SIG 2015-10-09 22:28:46 +08:00
luc
61ee21a423 Use better ESP8266 check to compile on all ESP8266
as now I can test on NodeMCU 1.0 also
2015-10-02 12:25:43 +08:00
luc
beca36448f Add IP query command and Module reset command
"[ESP111]<pre display>" show IP with <pre display> command
"[ESP111]" will show 192.168.x.xxx
"[ESP111]M117 " will show M117 192.168.x.xxx

"[ESP888]RESTART" will show RESTART and restart module
2015-09-30 14:50:58 +08:00
luc
d663f62605 Better restart
Add 30s progress to ensure restart is finished
Hide restart boot loader message redirecting serial output
2015-09-16 17:46:36 +08:00
Luc
283270f660 Add support for captive portal
Need to comment DEBUG and DEBUG_OUTPUT in DNSServer.cpp
2015-09-07 21:26:31 +08:00
Luc
9c04635e15 Enable mDNS for SoftAP
as now feature is working
2015-09-07 20:07:02 +08:00
luc
57b6fb2131 Remove yield calls
they are useless and may bring some conflict in loop
2015-09-02 15:10:32 +08:00
luc
e281d1073f Use FPSTR instead of progmem2char 2015-09-02 13:23:56 +08:00
luc
9e950752e9 Fix adjust error/status/info closer to label 2015-08-19 18:32:09 +08:00
luc
9b1bde41db Add missing red button in css
fix display issue for status with new css
2015-08-19 17:39:31 +08:00
luc
ac084da5b6 Add compilation directive to disable CSS
This will make pages lighter if no need fancy UI
Save 5K per page
2015-08-19 16:07:11 +08:00
luc
1cb93ef787 Modify css to be embedded in pages
Decrease restart time as now css is embedded
Change HTML code according new css
Known issue menu bar is not optimized for small screen as bootstrap is,
so need to scroll vertically and horizontally
Fix issue with \b instead of \n
Change Version to 0.3
2015-08-19 15:28:32 +08:00
luc
82cadd9ed8 Rearrange headers and add SPI.h in esp8266.ino
as seems necessary with latest staging module
remove yield in main loop as seems
2015-08-13 11:35:08 +08:00
luc
a18f924153 Add time to flush all clients when restarting
by using a light page without css to load
2015-08-06 12:19:24 +08:00
Luc
8dd8ec207d Fix Case sensitive issue for linux/mac thanks @c128
follow case of file name
2015-08-03 22:10:42 +08:00
luc
52ed3eaf22 Strip unnecessary spaces 2015-08-01 21:34:58 +08:00
luc
ba331cebc5 Decrease css size (13Ko) and fix corrupted CSS
use sent_p instead of sendContent_p which corrupt the css
2015-08-01 21:22:30 +08:00
Luc
0bb6b06aff Add embedded CSS
this is bootstrap css cleaned to reach a size of 15ko instead of 100Ko
2015-08-01 19:54:58 +08:00
Luc
bcf2eb0e69 Add check to avoid buffer overflow on progmem2char
transfer is limited to 300 char string, if over, string is ignored
2015-07-25 20:25:07 +08:00
Luc
b7e6804e24 Change wording for encryption
set No instead of nothing and set Yes instead of *
2015-07-25 15:07:22 +08:00
Luc
4c4a78fc62 remove unwished message
clean code
2015-07-25 05:55:55 +08:00
Luc
2c027d81f7 Add SSDP Support
SSDP protocol work outo the box with window
Module is seen as "ESP Module" serial is Chip ID, and other information
are espressif ones for ESP 01
Not sure if need to set module name in EEPROM to be configurable =>TBD
2015-07-25 05:51:01 +08:00
Luc
9e90ef38b8 Update mDNS with latest version and display IP
Use M117 if any error
2015-07-25 01:53:53 +08:00
Luc
ea900a520b Change form to use POST instead of GET
as new module now is faster using POST
2015-07-24 23:50:48 +08:00
Luc
c9c41cb3ad Add 250000 baud rate support
as arduino IDE support it
2015-07-24 23:49:26 +08:00
Luc
df9856e51c Allows to configure polling time for printer status
1, 2,3,4,5,10,30,60 seconds are the preset values for the page refresh
2015-07-14 22:00:08 +08:00
luc
3aedb9c019 Send M105 only if no temperature is sent
so went printer is heating and automaticaly send temperature no M105 is
necessary
Add some yield() to avoid possible WD triggered
2015-07-13 11:49:20 +08:00
luc
5cd45b2976 Fix display issue linked to string replace function
Use substring to extract positions from string instead of using replace
function
2015-07-10 21:12:19 +08:00
Luc
8a02fd5bd2 Add backbone to send command from web UI
Implement Emmergency Stop Command on web UI
2015-06-11 09:35:40 +08:00
Luc
b1796e9107 Add Support for Error/Info/Status message
allows to store and display : the 10 last error messages , the last info
messages, and the 10 last status changes
2015-06-10 22:03:18 +08:00
Luc
690792bc8d Update UI for printer status
add online/busy/offline blink led
2015-06-10 08:08:00 +08:00