NonPIayerCharacter
d4d6c69be3
BK7238 ( #1527 )
...
* beken new sdk + bk7238
* fix bk7238
2025-02-14 22:22:59 +01:00
giedriuslt
9e32046068
Fix unknown method handling, lock on logging ( #1224 )
2024-05-11 09:09:23 +02:00
masj-mobica
d02008b7ca
MAIN page item added to HTML footer. ( #1115 )
2024-03-08 00:12:26 +01:00
Lubomir Kaplan
95c30dd800
Add HTTP basic authentication ( #996 )
...
* add http basic auth
* add feature check for basic auth process
* fix http basic auth build for unsupported platforms (W800, W600)
* fix includes in http_basic_auth
* fix basic auth invocations when unavailable
* add http basic auth allow checks to http_fns
* remove unnecessary checks
* add my_strnicmp export
* silence warning
* update web password config ui
* update submodules
* add base64 lib to boufallo.mk for BL602
* add safe mode http basic auth bypass flag
* fix bl602 build with http auth bypass flag
* disable shared led driver
---------
Co-authored-by: Tester23 <openshwprojects@gmail.com >
2023-12-13 15:19:11 +01:00
Tester23
08fc163286
rename loglevel to g_loglevel because it's global variable...
2023-11-26 12:17:11 +01:00
openshwprojects
c8111cfcf2
docs, msvc update, autoexec example for logging uart1
2023-04-25 13:44:46 +02:00
openshwprojects
b3d02df106
log port swtich - p1
2023-04-25 13:11:10 +02:00
openshwprojects
8effb172c0
log port switch - prepare
2023-04-25 13:03:30 +02:00
valekCN
16a4de1bd8
Bridge driver command. W600/W800 pin definitions update. ( #671 )
...
* Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT
* EnergyMetering
- negative values correction.
- Enenrgy metering must continue with high precission values can not be skipped.
In case of negative values zero value must be used for calculation
Energy is calculated as power/time. Timing calculation is measured between sampels.
If skipping samples, timing calculation it then incorrect as well as energy calculation
* W600 - W600 Pico PA0 added.
* Pin updates fro w600/w800
- upgraded according to PDF.
- configuration upgraded to 64 pins (w800 allows 44 pins)
* W800 specific config mods.
* Cfg bug fix.
* README update
* Bridge - log moved to relevant place.
Logging - big fix in name definition.
* W800 - pin config memory reduction
* Bridge driver command for setting relay pulse length
* Warnings fixed.
---------
Co-authored-by: valeklubomir <valeklubomir@gmail.com >
Co-authored-by: valeklubomir <71550793+valeklubomir@users.noreply.github.com >
2023-02-16 08:25:55 +01:00
valeklubomir
263a3df18a
Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT ( #662 )
...
* Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT
* W600/W800 logging bug fix
* EnergyMetering
- negative values correction.
- Enenrgy metering must continue with high precission values can not be skipped.
In case of negative values zero value must be used for calculation
Energy is calculated as power/time. Timing calculation is measured between sampels.
If skipping samples, timing calculation it then incorrect as well as energy calculation
* Logical filterring and correction for peaks in measuremed values.
---------
Co-authored-by: valeklubomir <valeklubomir@gmail.com >
2023-02-13 13:07:34 +01:00
openshwprojects
70a8f5a4db
refactor: second arg for cmds were never used
2023-02-10 20:39:06 +01:00
openshwprojects
3d0e3cd908
clearing up - remove unused "description" field from console commands - we are not storing descriptions in device memory now
2023-02-10 14:36:34 +01:00
Indu Prakash
174ab8dd1d
DHT discovery ( #590 )
...
* Renamed enums,hass_init_sensor_device_info
* Added discovery for DHT sensors
* Fixed/simplified publish in discovery
* Handle 2nd channel for DHT
* Renamed feature DHT to SENSOR to be reusable
* Added missing :
* Minor optimization
* Fixed missing }
2023-01-09 10:06:58 +01:00
openshwprojects
110a1d72ee
fix array out of bound crash - who forgot to add log role name?
2023-01-02 14:06:08 +01:00
Indu Prakash
9926bd7a9c
Added DHT support for W600, LOG_FEATURE_DHT
2022-12-31 14:12:23 -06:00
openshwprojects
01ca27d7f2
UART logtype_none fx
2022-12-29 19:56:44 +01:00
openshwprojects
5489be7248
allow "logtype none" to disable logging - when a logging UART Port is used for BL0942 etc etc etc
2022-12-29 19:14:05 +01:00
openshwprojects
f93ff51990
remove old logger
2022-12-29 18:17:02 +01:00
openshwprojects
397f216da8
commands docs
2022-12-21 11:28:33 +01:00
openshwprojects
8519e26afe
commands update p1
2022-12-21 09:19:45 +01:00
btsimonh
ca3ec04422
bugfix logging -
...
now it can only pend a single log sevrice call at a time, rather than overflowing the timer queue.
A second call can be pended during the first call if the logs did not complete outputting.
2022-12-17 10:24:11 +00:00
btsimonh
5d3662ce12
on beken, remove spinning log threads, replace with triggered and run in timer thread.
2022-12-14 09:07:40 +00:00
openshwprojects
7d1fb616e4
sim early log fix
2022-12-13 15:05:30 +01:00
openshwprojects
c43748c88e
HTTP page console command interace will now temporary redirect log to HTTP page, we can finally close #501
2022-11-27 10:52:47 +01:00
openshwprojects
4e1cc8aa20
cmd res fx1
2022-11-26 21:08:11 +01:00
openshwprojects
80b7a706be
cmd res fix1
2022-11-26 21:07:59 +01:00
openshwprojects
e8253b13ac
add commandResult_t and change all (maybe not yet?) commands to use commandResult_t enumeration
2022-11-26 20:59:12 +01:00
btsimonh
e520174c5d
bugfix
...
(cherry picked from commit 81dab574f2dfaec1f915304f545405a94d0720e2)
2022-11-21 20:11:26 +00:00
btsimonh
dd3ac05469
Merge remote-tracking branch 'origin/main' into undelayedstart
...
# Conflicts:
# src/cmnds/cmd_main.c
2022-11-21 19:55:18 +00:00
btsimonh
489e0babaf
split main_init into three, early, delay and late start.
2022-11-21 19:47:55 +00:00
btsimonh
1fef9895f6
modify source files by getcommands.js
2022-11-21 19:21:39 +00:00
btsimonh
32eec6e601
bugfix logging commands to return 1
...
(cherry picked from commit 70852bb1fd )
2022-11-21 18:45:00 +00:00
openshwprojects
fc4543ec99
disable log threads on windows (they are not needed), app works well without them
2022-11-21 10:42:21 +01:00
openshwprojects
8ec8d6ffc8
final win32 port adjustments
2022-11-08 16:29:46 +01:00
btsimonh
ccffedaca1
implement sprintf wrapping in APP if WRAP_PRINTF is defined.
...
you must have:
CFLAGS += -DWRAP_PRINTF=1
LFLAGS += -Wl,-wrap,vsnprintf
LFLAGS += -Wl,-wrap,snprintf
LFLAGS += -Wl,-wrap,sprintf
LFLAGS += -Wl,-wrap,vsprintf
in application.mk
2022-11-03 18:34:09 +00:00
btsimonh
2a71041e2d
use nanoprintf in logging
2022-11-03 13:47:54 +00:00
openshwprojects
66096497f1
logging fix for windows
2022-10-30 19:40:18 +01:00
Indu Prakash
9991ad7aca
Fixed hang
2022-10-29 06:25:01 -05:00
Indu Prakash
4847ce617b
Formatted
2022-10-29 06:11:38 -05:00
openshwprojects
b6696938c4
logging - check for NULL fmt pointer
2022-10-28 18:38:25 +02:00
btsimonh
a060150d3e
fix platform again
2022-10-27 20:57:11 +01:00
btsimonh
a6259a1922
Platform fix?
2022-10-27 20:44:03 +01:00
btsimonh
f80b4eca70
compile fix
2022-10-27 20:27:16 +01:00
btsimonh
85eddb7df0
Remove unused buffer, make platform specific
2022-10-27 20:12:31 +01:00
btsimonh
054d6a02d7
After analysing serial output on T, it would seem that we can send to serial without spinning in a thread.
...
The changes will fill the H/W tx fifo from our logging fifo, but not wait for the hardware to be available, so we spend less tiime stuck if logs get full.
2022-10-27 19:15:48 +01:00
btsimonh
07077ed41c
move mutex to BEFORE we empty the logging temp buffer.
...
Add option for log_delay < 0 -> delay according to number of characters logged at 115200 baud.
2022-10-26 07:16:55 +01:00
openshwprojects
40f509401b
ir log
2022-10-20 09:43:02 +02:00
openshwprojects
c94194e6d3
IR driver wrapper, also warning fixes
2022-10-19 13:54:25 +02:00
openshwprojects
18e7b1e3b9
better logging for dgr
2022-10-12 07:37:26 +02:00
Indu Prakash
d945db81f4
Using static buffer
2022-10-09 21:02:04 -05:00