Max Prokhorov
f7f41980b6
Headers cleanup ( #2134 )
* Config: remove prototypes.h
* fixup order
* word
* add missing
* fix warning while still using .ino
* bad at c/p;
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
4 years ago
Maxim Prokhorov
01b76adff0
crash,lights: ensure that settings contain positive value
5 years ago
Max Prokhorov
7ad8045304
Fix infinite loop when printing crash dump ( #1947 )
* terminal: avoid softlock when comparing signed with unsigned
* move offset increment to condition
* adjust settings and crash handler available space
* key
* offset embedis writer and reader too
* rollback settings change
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
08a748e05d
Update crash handler ( #1796 )
* Update crash handler
- limit recorder stack size by 128 bytes
- offset settings a bit more
- add possibility to disable crash crash recoder completely
* nicer setting names, comment layout change
5 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
Xose Pérez
eb79642f2e
Major refactor of device flags
7 years ago
Xose Pérez
fc0d050b51
Remove debug messages on websocket events
7 years ago
Xose Pérez
25e7a9e6eb
Allow a little delay in UDP communication after a message sent
7 years ago
Xose Pérez
cc660a5737
Add ellipsis when debug message too long
7 years ago
Xose Pérez
8cc1aae248
Added optional debug via UDP
7 years ago