Commit Graph

44 Commits

Author SHA1 Message Date
Luc
32b7e4664a Add sanity check to avoid error if preferences key does not exist (which should never happen if user do a proper reset) 2022-07-18 10:38:35 +08:00
Luc
00aa509035 Allow to define target Fw in configuration.h
Change STA default SSID if not defined to NETWORK_SSID per @atsju  suggestion
Move settings.h defines to defines.hs for consistency
2022-06-06 16:56:34 +08:00
Luc
39e06975f2 Update from refactoring branch
### Maintenance page
* Add add tab color for mobile view
* Add spellcheck off / autocorect off in input
* Add disconnect button when authenticate enabled
* Add Invalid user or password message when authentication failed

### Board support
* Add ESP32 S2 support
* Add ESP32 S3 support
* Add ESP32 C3 support

### ESP commands
* Add command 701 to control GCODE streaming
* Remove command 901 as duplicate
* Update command 420 to add more details
* Use text as default output
* All json on all commands for formated output

### Core
* Add benchmak function to check transfer speed (for test only-not production)
* Merge code for ESP3DLib support
* Add better printer display support (M117 / Serial TFT)
* Use ESP32 analogWrite instead of emulated one

### Modules
* Display
	* Refactor code
	* Remove SPI ILI 9341 / 9488 support as not suitable
      * Add ST7789 support (135x240 / 240x240)
* Filesystem
	* Bug fixes due to esp core updates
	* Better SD sharing mecanism
      * Better global FS management
* FTP
	* Add SD sharing support
	* Better global FS management
* GCODE Host
	* Add basic support for macro files
      * Add ESP command support
      * Use not blocking method to stream commands / handle response
* Notifications
	* Add IFTTT notification service
	* Add WebUI notification
	* Add ESP3D display notification
* WebDav
	* Add SD sharing support
	* Add bug fix from https://github.com/d-a-v/ESPWebDAV
	* Better global FS management
* Websocket
	* Add function to handle zombies connections
* WiFi
	* Fix connection to AP sometime fail
	* Fix low signal not diplayed in ESP420 even connected
	* Add AP Setup mode

### Libraries
* Update SDFat-2.0.6 to 2.1.2
* Update ESP32SSDP 1.1.1 to 1.2.0
* Update TFT_eSPI-1.4.11 to 2.4.61
* Update arduinoWebSockets-2.3.5 to 2.3.6
* Update esp8266-oled-ssd1306-4.0.0 to 4.3.0
* Remove lvgl support

### Tools
* Add I2C scanner script
* Add python script to simulate/stress printer serial communication

### PlatformIO
 * Use latest 4.4.0 Espressif32 release (ESP32-arduino core 2.0.3)
 * Add fix for Flash more than 4MB
 * Add Esp32 S2/S3/C3 env
 * Add ESP32-ST7789 / esp32-TTGO_T_Display env
2022-06-01 14:56:57 +08:00
Luc
a4609aee69 Add new Setup Mode and new AP mode, fixes #715 2022-02-06 17:43:11 +08:00
Luc
1d4f9d4f7c Add STA Fallback option (AP, BT, OFF)
Add Command to set verbose boot
Fix error with ethernet msg in [ESP110]
Fix [ESP0] now displaying context help
Fix ESP32 litlleFS 2.0 need / as default root path
Fix embedded page overflow on mobile with long file names
2021-10-02 18:18:36 +08:00
Luc
2917f8476e Update to support latest esp32 core git and 2.0 release
Add base for ESP32-S2 in platformIO but not working yet - ok for arduino
Remove littleFS as external lib - now part of 2.0
Add esp32 detection in [ESP420] report
2021-10-02 07:43:08 +08:00
Luc
b14efceb15 Merge ESP_RADIO_OFF and NO_NETWORK to ESP_NO_NETWORK
Remove HTML doc which out of date
2021-10-01 10:48:00 +08:00
Luc
b4a6ca3c54 add feature to disable network at boot suggested by @pmjdebruijn
Add ESP114 command to handle it
2021-06-02 20:28:47 +02:00
Luc
eaba22990a Add setting to unsecure the serial when authentication is on 2021-02-25 14:12:55 +01:00
Luc
d56a936543 Fix DNS missing setting in static mode 2021-02-04 14:35:49 +01:00
Luc
59e766b0b8 webdav part 1 2021-01-24 13:22:41 +01:00
Luc
0567f717dc Fix reset is failing orz... 2020-12-31 18:36:31 +01:00
Luc
df3f839cbf Add message communication protocol for MKS board
Note: Uplaod isnot yet implemented
Add limitation for HotSpots to get at least -78 for RSSI to be listed, same as MKS do
Add some API to prepare the MSK upload protocol
Bump version
2020-12-30 21:38:28 +01:00
Luc
21002cf62a Base for MKS Serial protocol on MKS WIFI 2020-12-17 20:29:58 +01:00
Luc
5073327e30 Add Setting to get verbose boot or minimal one
Fix Boot string format not consistent
Change [ESP150] to support verbose parameter in addition to delay
Change [ESP400] to group boot delay and boot verbose in a boot subsection
Add  Boot_verbose in espcnf.ini
2020-12-13 15:48:32 +01:00
Luc
b618710db4 Remove Flag type from ESP401
clean comments
2020-12-10 13:37:29 +01:00
Luc
5963eca3a6 Code cleaning / change flag message EEPROM storage way -Need to reset settings
new command [ESP920] to configure outputs
Remove REPETIER for Davinci definition that should be pure REPETIER from now
Change FW Target ID numbering to support different Flavors more easily
Add Ini file configuration file from SD (espconf.ini) to configure ESP3D at start
Add  Target FW  ID in ESP800 command in addition to Target  FW short name
Bumb version

Warning this commit is breaking EEPROM org so - check then in webUI after
2020-12-09 16:44:12 +01:00
Luc
71a4f25edf Add SHARED SD support
Note: need webUI 3.0.0.75+
Fix several warnings in code and libs
2020-11-30 13:44:22 +01:00
Luc
b3f3af997f Add flag for general setup done or not 2020-11-02 10:05:44 +01:00
Luc
2aa146a926 Remove camera streaming feature as not working as expected
Clean code due to camera stream removed and left camera snap feature only
2020-10-26 16:44:18 +01:00
Luc
50cb4f6294 Add PSRAM detection in ESP420
Stop hardware when starting board to allow http working at boot thanks Seppel
2020-10-15 10:11:23 +02:00
Luc
694f502fb0 Add Authentication session setting in EEPROM/Preferences
Update ESP420 to show if authentication is enabled
2020-10-10 17:11:08 +02:00
Luc
2a4dffcea5 Set DHT as sensor and set output more generic
Add Analog entry as sensor
Fix DHT initialisation issue
2020-08-24 21:01:35 +02:00
Luc
03c9e3868c removes heretic functions...
apply astyle
2020-08-23 09:52:17 +02:00
Luc
523c2956af Add configuration support for Shared SD also even not yet supported 2020-06-17 17:03:18 +02:00
Luc
41cb7d1f2f Fix Default SD value if direct SD enabled
Fix typo in SD type in ESP400
2020-06-17 16:55:35 +02:00
Luc
26fef41f73 Fix ESP400 out whith time zone
Add external config file option for SSID/Password
2020-05-27 11:23:56 +02:00
Luc
31d7e5659a Allow to setup STA mode by default in configuration.h and use it in reset 2020-04-22 09:27:19 +02:00
Luc
ff8251aabd Fix wrong calculation of EEPROM positions and max all size homogenous
Thanks @TheMaskedDeveloper for pointing this out
2020-04-20 07:40:31 +02:00
Luc
248162d960 Fix some typo 2020-04-14 11:26:11 +02:00
Luc
b0d35c245b Fix ??? string to unknown for consistency 2020-04-12 16:02:41 +02:00
Luc
eabab7d57b update header
fix default value for empty notification setting
2020-03-24 11:49:17 +01:00
Luc
c684e69575 Add backbone for FTP 2019-10-23 19:44:01 +02:00
Luc
9fe3c1a615 Some refactoring for SD support
put SPI SD divider in EEPROM
2019-10-13 13:23:24 +08:00
Luc
cb726b51d5 Add Camera streaming server
add  ESP command 170/171/172
apply astyle
add flag to distinguish websocket terminal vs data
2019-09-29 19:47:32 +08:00
Luc
e869bab859 Add auto notification
Fix wrong network mode with failing WIFI-STA
Add flexible Title for message
2019-09-08 15:41:57 +02:00
Luc
e93495c6c8 Add Manual time setting from [ESP800],
Add time source selection setting (Internet/manual)
Add websocket IP to make it work with Apple Captive portal thanks @Nathan-ma
Add instant message error and abort command for files upload
Add Available FS space check before upload
Add [ESP290]<delay> command per @josedpedroso
Apply Astyle
Update version
2019-08-27 11:35:36 +02:00
Luc
4961ff9902 Final integration for buzzer
add [ESP900] to enable/disable buzzer
add [ESP250] to play beed if no parameter, or specific sound using frequency and duration parameters
add missing Serial communication state in [ESP420]
fix typo in [ESP900]
2019-08-04 15:31:24 +02:00
Luc
cc6e4ad3a4 Add M118 support
Add 4G capacity support
Fix empty string saving
2019-06-23 21:30:21 +02:00
Luc
688b8a079a Add Touch base code for calibration
Add [ESP214] and [ESP215]
Fix Telnet not getting commands
Fix HTTP and Telnet not taking start condition
Add code base for input
Increase EEPROM size from 1024 to 2048 as now we are at 1003 for future next setting
Fix display for ILI9341 for main page
Change version for tracking
2019-04-07 16:57:33 +02:00
Luc
6f5d87a927 Add Websocket support
Add command 160 + 161 for websocket configuration
Add Websocket monitor page for debug in tools
Add Telnet and Websocket debug default port is 8000
Fix boot delay  value to default instead of max  when invalid
Minor fixes
2019-03-28 11:18:42 +01:00
Luc
3b9d5302a1 Code sync with upstream
Code clening
Add Boot delay as parameter in EEPROM for easier tuning
Add Notifications
2019-03-15 09:48:26 +01:00
Luc
b0375a3541 Upstream sync
Add Time Support (server  + manual setup), only used for ESP32 FS currently as ESP8266 SPIFFS does not support Time, need to wait for LittleFS may be ?
Add DHT support
Add Pin reset support
Add Base for Display
Add libraries for new supported features
Add /config handle as shortcut for [ESP420]plain to be used in embedded page
Code refactoring for defines, use less Define as switches but more define as values for switches
Clean warnings
Lot of small bug fixes
Add docs for [ESPXXX] commands
2019-03-09 09:16:08 +01:00
Luc
d79d8da64b Initial commit for code base 2019-02-25 10:31:21 +08:00