Maxim Prokhorov
2e891e3129
Debug: use lowercase enum for mode (following isocpp guidelines)
4 years ago
Max Prokhorov
495fa18a27
Debug: log mode, allow to skip boot messages ( #2116 )
* debug: log mode, allow to skip boot messages
* typo, fix warning about unhandled switch
* mention telnet wifiserver & reverse changes
4 years ago
Max Prokhorov
298ce8cac2
Refactor get/set/del/hasSetting ( #2048 )
* experimental: refactor get/set/del/hasSetting
* sensors
* lights
* cleaup
* r
* tuya
* fixup! sensors
* fixup! tuya
* header defaults types
* fix lights
* setup already checks for max
* helper for flashstring
* fix overload
* oops
* refactor includes
* warnings
* test with migrate
* add ids in a separate file
* cleanup
rev: crash
rev: domoticz
rev: encoder
rev: loopdelay
rev: hass
rev: i2c
rev2: hass
rev: mqtt
rev: rfm69
rev: relay
rev: rpn
rev: settings setup
rev: hb settings
rev: telnet preprocessor fix
rev: settings wrap
rev: tspk bool style
rev: wifi types
rev: util hb
rev: settings
fixup! rev: settings
* rev: cleanup wifi injections based on new getters
* hasSetting now can return true for empty key
* show hardcoded network in web
* oops
* fix ws referencing wrong index
* ensure empty strings are written
* c/p
* use experimental schema style for payload, mark network as not deletable
* allow to customize converter
* shorter syntax, try using with wifi
* use proper #if syntax to handle definitions that are missing
* fixup ota sc checks getter, cast schEnabled to bool
* add utils header to sensors
5 years ago
Max Prokhorov
cb28cac301
Debug: store boot log ( #2109 )
* debug: store boot log
* order
* roll single header
* hide when not implemented
* fix capacity check
* dependencies
* refactor names, can just use malloc
* settings formatting
* dbgBuf prefix
* show size
* release memory after buffer is displayed
* fix uptime unused warning, combine printer
* comments
* use arg flag instead of static to handle boot
* ci test fix
* Hide whole info() without debug
* typo
* cleanup setDebugOutput condition
5 years ago
Max Prokhorov
21423431ce
Fixed size json payload & other WS bugfixes ( #1843 )
- update every dynamicjsonbuffer with fixed size constructor argument
- change to ws callback registration to use a class builder (just cosmetic)
- test multiple ws data callbacks for each module
- remove some of the static strings in favour of ws data callback
- improve sensor ws callback data size, remove duplicated strings
- use static buffer in wsDebugSend
- postpone wsSend until loop, implement wsPost to allow other modules to queue message callbacks. remove Ticker based ws callbacks for data
- update WebUI files
5 years ago
Max Prokhorov
aac36d9b0c
Update debugSend / debugSend_P ( #1788 )
- chain debugSend_P into basic _debugSend instead of duplicating code, pass va_list between them
- check if new[] call was successful
- when possible, use stack buffer and fallback to heap buffer only when it is more that 64 chars
5 years ago
Xose Pérez
1e831a0dd8
Fix hardcoded serial objects in _debugSendSerial, terminalLoop and PZEM sensor ( #1573 )
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Max Prokhorov
b2ad29a660
Revert timestamp prepending, separate debug destinations
* Simply print timestamp for supported destinations
* Update ws destination to support 'prefix' sub-key
* Avoid void casting in telnet module
5 years ago
Max Prokhorov
4c6116a8f8
hide timestamp consts under ifdef
5 years ago
Max Prokhorov
868d153fa4
Compact WS data
* send all ws config at once on start
* reduce ws json overhead by creating message buffer manually
* use k:[values] instead of k1:value1, k2:value2 etc. for lists
5 years ago
Xose Pérez
27e7b9ae89
Move terminal methods to own module
6 years ago
Xose Pérez
6a30360f01
Move crash code to it's own module
6 years ago
Max Prokhorov
89ed0caceb
Avoid overwriting settings in custom_crash_callback
6 years ago
Max Prokhorov
004a485e6f
Defer restart until next loop
6 years ago
Sebastiaan Jansen
ba6eb0165b
revert custom_crash_callback
6 years ago
Sebastiaan Jansen
7c40145424
added PHYX support
6 years ago
Maxim Prokhorov
415649fabb
Check if codacy likes this
6 years ago
Maxim Prokhorov
2357b290a5
Use arduinojson to print to weblog
6 years ago
Xose Pérez
9f817ae2d0
Fix telnet & web debug responsiveness ( #896 )
6 years ago
Xose Pérez
4548cc724c
Using EEPROM_Rotate library
6 years ago
Xose Pérez
91e25ea8ae
Decouple Serial object from SerialInjector ( #787 )
6 years ago
Xose Pérez
b5fd764f81
Renaming
6 years ago
Xose Pérez
68c0320298
Revert "Adding a 1ms delay after UDP send to avoid loosing packets ( #438 )"
This reverts commit 49973d14ca
.
6 years ago
Xose Pérez
2060dd9661
Initial support for syslog messaging
6 years ago
Xose Pérez
448ce2ccb9
Revert "Escape html for weblog in the client"
This reverts commit 8da3f54e91
.
6 years ago
Maxim Prokhorov
8da3f54e91
Escape html for weblog in the client
6 years ago
Xose Pérez
04cdb224ab
Check free heap when DEBUG_WEB_SUPPORT is enabled to prevent resets
6 years ago
Xose Pérez
5f2b22d063
Fix web debug layout. Added command execution from web UI
6 years ago
Lazar Obradovic
e1802de827
Add debug console to Status page.
6 years ago
Xose Pérez
70f82aa2c4
Clear srash info after displaying it. Change copy
6 years ago
Xose Pérez
49973d14ca
Adding a 1ms delay after UDP send to avoid loosing packets ( #438 )
6 years ago
Xose Pérez
a845d96f6c
Check also carriage returns to show timestamp in debug messages
7 years ago
Xose Pérez
8488e7d552
Add timestamp to debug output
7 years ago
Xose Pérez
b605cd43cd
Move hardware code in main file to its own module
7 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
7 years ago
Xose Pérez
e9b8417f9d
Fix crash caused by a delay in UDP debugging code ( #397 )
7 years ago
Xose Pérez
fce278489e
Remove limit to debug message length
7 years ago
Xose Pérez
af805ab045
Update copyright notices
7 years ago
Xose Pérez
d047856be9
Missing dependency
7 years ago
Xose Pérez
dea78d17ce
Free memory in debug
7 years ago
Xose Pérez
502be7732d
Dinamically assign debug messages size
7 years ago
Xose Pérez
84fc259a6f
Build setting to disable system check
7 years ago
Xose Pérez
95459567d9
Small changes, caching some values
7 years ago
Xose Pérez
fe0d85f0a6
Added crash info dump from terminal, based on EspSaveCrash by krzychb
7 years ago
Xose Pérez
b946cf32dd
Telnet support
7 years ago
Xose Pérez
daa5a09058
Check system stability and run only AP and OTA if unstable
7 years ago
Xose Pérez
bcb387da78
Small changes in compile directives
7 years ago
Xose Pérez
8421154791
Fix DEBUG_XXXX_SUPPORT compile checks
7 years ago
Xose Pérez
1c5ebd3e08
Refactoring build flag names
7 years ago