168 Commits

Author SHA1 Message Date
Luc
219cde891b Update serial_service.cpp 2024-01-16 13:43:14 +08:00
Luc
1466fa770d Fix typo 2024-01-09 22:43:15 +08:00
Luc
e5f38a997f Merge branch '3.0' of https://github.com/luc-github/ESP3D into 3.0 2024-01-04 17:03:02 +08:00
Luc
0fc374bb16 Fix missing defined 2024-01-04 17:02:52 +08:00
E2D
4a23898289
Update ESP170.cpp (#989)
Fix minor issues

Signed-off-by: E2D <engineer2designer@gmail.com>
2024-01-04 17:01:42 +08:00
Luc
0057961497 Fix compilation issue due to refactoring typo error thanks @Engineer2Designer for raising it
Close #988
2024-01-04 15:09:50 +08:00
Luc
a10a7f74bf
Refactoring internal clients (#987)
* Remove all output flags
* Masse replace name function / class to sync with ESP3D-TFT
* Create ESP3DMessageManager  class to handle messages creation / deletion (import functions of ESp3DClient from ESp3D-TFT)
*  Move to new messaging API of ESP3D-TFT
* Remove empty line from remote screen dispatching
* Replace \n to space and \r to nothing in remote screen dispatching
* Add missing default entry for sensor device
* Fix buzzer for ESP32 missing ledc initialization with latest core
* Move formatBytes to esp3d_string
* Add welcome message to telnet connection\
* Add display to the new messaging API
* Add sticky authentication on Serial / SerialBridge /Telnet/Data web socket and BT
* Log simplification
* Use enum class instead of typdef enum for ESP3DAuthenticationLevel  to be sure correct enum is used
* (v3) Home Assistant notification support (#971)
* Add notification via post request
* Extend t1 size to 255 bytes
* Hide Home Assistant notifications from web UI (#974)
* Sync with ESP3DLib on serial_socket
* Add some sanity check to avoid unnecessary message copies
* Update ESP0.cpp

---------

Co-authored-by: David Buezas <dbuezas@users.noreply.github.com>
2024-01-03 10:46:13 +08:00
Luc
dabc95bc8c Fix glitch in {ESP200] 2023-11-22 10:53:34 +08:00
Luc
5fc3d4ae6e
Fix #965 thanks @DivingDuck for raising it
Signed-off-by: Luc <8822552+luc-github@users.noreply.github.com>
2023-11-15 17:51:59 +08:00
Luc
f562e55a6d Fix bug introduced by latest PR if doing reset on clean EEPROM => going to dead loop because of upside down test
Fix wrong parsing of settings during  reset
Fix typo that generate wrong IP for AP
2023-11-13 19:44:23 +08:00
Luc
cda276e2e6
Settings validation refactoring (#964)
* Rewrite the setting API to use same API as ESP3D-TFT or at least close enough to be improved - WIP

* Add isValidXXX setting API

* Factorize dispatch_setting for ESP400

* ESP400 refactoring
2023-11-09 10:29:13 +08:00
Luc
265e0e60a2 Fix #963 thank you @DivingDuck for raising it
Add missing header file for adding ESP3D User Agent in request
2023-11-09 09:46:50 +08:00
Luc
963147a541
Web dav rewrite/Time refactoring (#960)
* Time refactoring 
* Webdav rewrite 
Base on work done on ESP3D-TFT
2023-11-05 21:27:28 +08:00
Luc
3ffb7c3b4c
Fix FTP not listing on some shared SD (#958)
* Fix Rename not working on GlobalFS

* esp3d_log refactoring
 - Rename Debug to Log
 - Allow now 4 level of log: None, Error, Debug, Verbose
 - Change original verbose log to error log when it is an error

* Update configuration.h to add debug level expected

* Add log for critical steps in FTP module
2023-10-27 12:40:22 +08:00
Luc
dc84b0bbdb Add code base for better support for FYSETC WIFI SD PRO - WIP 2023-10-18 21:18:32 +08:00
Luc
73ccc7932d Add some sanity checks 2023-10-16 19:01:51 +08:00
Luc
a8dec39b31 Apply CLang style 2023-10-16 17:04:16 +08:00
Luc
3bc8c874ae Apply CLANG style 2023-10-16 16:36:30 +08:00
Luc
606cc3f0ff Update libraries for nodejs
Adjust webpack.prod.js with new versions's parameters
2023-10-04 15:17:14 +08:00
Luc
ff5e04627c 3.0 code base 2023-10-02 19:55:18 +08:00
Luc
b62247ac56
reorder the AP mode according latest doc (#905)
update platformio.ini to be compatible with latest update
2023-03-19 14:39:19 +08:00
Julien Staub
629f94981b
add spaces in commands because they are needed (#770) 2022-06-02 10:28:40 +08:00
Luc
6a963d77e1 Bumb devt version 2022-05-16 13:18:49 +08:00
Luc
c222cda747 Set version for release
Add changelog
2022-05-16 13:17:14 +08:00
Luc
3d450f0ccd Add missing index.html.gz (use english mono language) 2022-05-11 08:09:50 +08:00
John Bain
f80b247f38
Added support for IFTTT Webhook integration (#708)
* first push

* modified post to work with IFTTT

* working but returning wrong error code

* command successfully being sent to, IFTTT

* resolved issue with ESP600 returing "Wrong Command
2022-01-15 14:05:56 +08:00
Luc
ecf48fe89d Fix compilation issues with latest esp32 core git (1.0.5rc) 2021-02-21 09:11:02 +01:00
Luc
ccd699fea6 Update syncwebserver.cpp
Fix typo
2021-02-08 08:50:17 +01:00
Luc
442d95b151 Update wificonf.cpp
Set Gateway as DNS in STA Static IP mode
2021-02-04 17:16:55 +01:00
Luc
f1b31c6864 Fix wrong detection of [ESPXXX]Command if used in macro or web command and sent to printer using M118 2020-12-31 10:32:07 +01:00
Luc
a4044c4b91 Hide warnings in updater only mode 2020-12-22 19:27:01 +01:00
Luc
0b193fb1b6 Fix warnings in PIO 2020-12-22 17:05:41 +01:00
Luc
2d32b4f7e6 bump version 2020-12-22 15:56:21 +01:00
Luc
99b6261aa4 Add check for command parameter, to be sure is the expected parameter and not a part of bigger one
Add check pin number and value number are actually number to use them in [ESP201]
Add check on [ESPXXX command to recognize it when command start by [ESPXXX or something not bigger than`echo: [ESP`
Thanks @treeplesk for raising these case
2020-12-22 15:40:20 +01:00
Luc
fa863105fe Fix several warnings in code and libs 2020-11-30 13:46:50 +01:00
Luc
1a5c0e8a20 move 3.0 branch link to wiki
add docs in wiki (need to change txt format to md format in futur)
remove outdated webUI
2020-10-04 10:42:53 +02:00
Luc
06c3796bb4 Fix type for [ESP110] parameters thanks @Patronics for pointing it
Fixs stings with ' not handled properly  and corrupt JSON files in [ESP400]
2020-07-10 18:02:37 +02:00
Luc
c63cc535c5 Fix random webupdate failed on ESP01 due to wrong sketch size
Add  #define USE_AS_UPDATER_ONLY option in config.h to build small updater
2020-05-10 14:41:31 +02:00
Luc
af0d8a0a9d Fix max data limit from 128 to 127 due to miscaculation and possible overlap
Thanks @TheMaskedDeveloper for pointing this out
2020-04-20 07:22:40 +02:00
Luc
cc2eac15a0 Try M29 without check sum first 2020-04-19 16:55:19 +02:00
Luc
205fa154b5 Remove debug flags 2020-04-19 16:31:25 +02:00
Luc
ae1c8bafae Add option to disable Serial check sum 2020-04-19 16:03:25 +02:00
Luc
3291a90bf2 Add ESP3.0 log like support for socket debug in web files 2020-04-19 13:23:57 +02:00
Luc
c8007cca38 Fix garbage sent to websocket when using as debug 2020-04-19 10:57:12 +02:00
Luc
6df87a9602 echo to websocket : serial in and out 2020-04-18 18:44:34 +02:00
Luc
44747339dd Fix timeout in web command
Add
2020-04-18 18:43:43 +02:00
Luc
d7aa86ce68
Update config.h 2020-04-01 22:02:18 +02:00
Luc
983d229ee8
Update esp3d.cpp
add missing mdns.update(); for ESP8266 in loop thanks @dmonty2 for pointing this
2020-02-29 20:35:44 +01:00
Luc
6a5696b3e7 use latest esp32 core for platformIO
fix unused variable
2019-09-12 11:50:04 +02:00
Luc
8c7b237c09 Fix typo with notification 2019-09-08 15:43:54 +02:00