4119 Commits

Author SHA1 Message Date
divadiow
8d83b41d6c HTTP TCP server: fix realloc failure handling to prevent request buffer leak (#1990)
* Update http_tcp_server.c

* Update new_tcp_server.c
1.18.261
2026-02-13 22:48:29 +01:00
divadiow
3eb8ef85e7 add reset to default webapp url button (#1986)
* Update http_fns.c

* Update http_fns.c

* capitalise App to match main button in menu

+ reinstate . removed to initiate previous build
1.18.260
2026-02-13 11:23:04 +01:00
openshwprojects
561b5ebfe6 RfReceived (#1933) 2026-02-13 11:21:37 +01:00
MaxineMuster
10fba241ed Trying some more changes to getcommands.js (#1982)
Added altered docs to see changes
2026-02-13 11:21:00 +01:00
MaxineMuster
f3e07b547d Try fix flash restrictions for W600 and W800 (#1936)
* Try fix flash restrictions for W600 and W800 by moving start of FLASH_VARS (changing FLASH_VARS_STRUCTURE_ADDR)
So restrictions in new_pins.h should be obsolete (allowing e.g. second SSID for W600 and W800)
For W800 restriction should be no longer present since some time, because it was moved to easyflash some time ago...

* Fix code in new_cfg.c, too

Removed special handling for W600 and updated config version.

* Tried an "update" mechanism: move flash_vars to new location if config is version 3

* Fix overwriting configSize in CFG_CalcChecksum() in case of V3 config

* I try fixing error for XR platforms for conflicting SSD1306_Init by excluding local "components" dir

* Try fixig build by removing "-lcomponent"

* Try fix for XR806, too

* try zeroing new space in config

* Try fixing zero memory
Add some more debug output

* Removed test code for fixing XRadio devices - nothing to do with this PR
Removed debug output

* Change to reflect moving flashvars from local structure to easyflash in latest commit
1.18.259
2026-02-10 09:00:33 +01:00
protectivedad
17f20e2878 new_pins: fix for inconsistent pin value on wake after sleep (#1922)
On startup PINS that conditionally processed based on g_lastValidState
would be ignore if they were currently 0 regardless of the state before
the module woke up.

This change intializes them with the proper restored channel values.

Co-authored-by: Anthony Sepa <protectivedad@gmail.com>
1.18.258
2026-02-09 23:51:44 +01:00
NonPIayerCharacter
ec56008600 build old ir on non-beken (#1979)
* build old ir on non-beken

* fix potential issue

* final fixes
2026-02-09 23:50:51 +01:00
MaxineMuster
ee1a744edd Fix two remaining tests for NTP-time only (instead of any time source) (#1984)
* Fix two remaining tests for NTP-time only (instead of any time source)

* removed dependency from ntp, no need to include ntp.h
1.18.257
2026-02-09 23:14:58 +01:00
NonPIayerCharacter
ca2b1d7172 Fix LN8825 release (#1978) 1.18.256 2026-02-06 23:30:37 +01:00
NonPIayerCharacter
3b485ee997 HW Timer HAL (#1975)
* HW Timer HAL

* fixes

* more fixes

* extra platforms

* extra

* ameba1/z cpp

* w800 ir

* esp timers

* use hal for ir and rc
2026-02-06 22:03:41 +01:00
divadiow
1d0eb0ab24 Fix docs generation: preserve multi-variant commands/drivers, add Events blurb, non-UTF8 character (#1973)
* fix non-UTF8 degree symbol

* spelling

* add missing events

* distinguish ir and ir_new

* preserve multi-variant commands/drivers

* update docs

* correct ln882h setuartpins info

* fix drv_lts_als.c cmddetail json

* test escaped pipes in generated md

* Revert "test escaped pipes in generated md"

This reverts commit 3f046c443c.

* frequency update
2026-02-06 16:23:52 +01:00
divadiow
f935761bc4 role == IOR_Button_pd (#1977) 2026-02-06 16:22:18 +01:00
NonPIayerCharacter
ac925a6a12 BK use easyflash for flash vars (#1969)
* bk use easyflash for flash vars

* fix?

* Disable EF asserts and log

* test

* w600 fv

* no longer needed
1.18.255
2026-02-06 01:25:13 +01:00
Andrey Jr. Melnikov
c5ed14513a Add Frequency channel type. Need for Power Meter KWS-302WF (#1974)
https://www.elektroda.com/rtvforum/topic4075755.html
2026-02-04 10:47:56 +01:00
NonPIayerCharacter
72933dda39 Pass animations to HA (#1972) 1.18.254 2026-02-03 21:26:52 +01:00
NonPIayerCharacter
e500ac88b4 LTR-303 driver (#1970)
* LTR-303 driver

* Forgot discovery

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
1.18.253
2026-02-03 20:40:59 +01:00
NonPIayerCharacter
aeafcb0863 LN882H ADC (#1963)
* LN882H ADC

* Unify 882H and 8825 main. 8825 adc

* fix

* disable adc reinit on 8825

* allow log port change, basic uart, disable berry

* Use UART2 instead of UART0, and allow changing UART pins

* fix

* tr6260 pwm duty 0

* import from tuya

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2026-02-03 20:39:26 +01:00
NonPIayerCharacter
abcf19a498 W600/W800 SPI DMA (#1964) 2026-02-03 20:37:14 +01:00
Tester23
c962d12c74 add drv_dmx512 to makefile 1.18.252 2026-02-01 12:04:45 +01:00
Tester23
0c286136c7 fix rename 1.18.251 2026-01-29 17:36:32 +01:00
Tester23
f6efba1965 Rename to fix build? 2026-01-29 17:27:34 +01:00
Tester23
e9148081ce fix SSD1306_Cmd_Rect 2026-01-29 01:34:36 +01:00
openshwprojects
43e3540518 SSD1306 tiny I2C display driver
* TEST

* t1

* faster

* Update drv_ssd1306.c

* mk

* Update drv_ssd1306.c

* test

* Update drv_ssd1306.c

* Update drv_ssd1306.c

* Update drv_ssd1306.c

* fx

* test

* Update drv_ssd1306.c

* cmds

* fx

* q

* goto

* Update drv_ssd1306.c

* finish

* rev
2026-01-29 01:12:04 +01:00
Tester23
f0c275a03c Test_TuyaMCU_TH08 sample 1.18.250 2026-01-28 00:00:31 +01:00
Tester23
908b873dd6 tab in sendhex fix 2026-01-28 00:00:21 +01:00
NonPIayerCharacter
17dbe1e44b ESP8266 changes + LN882H sdk update (#1955) 1.18.249 2026-01-26 10:03:21 +01:00
openshwprojects
a06a91d438 add Pulldown Roles (#1954)
* pds

* test

* fix

* one more

* Update selftest_buttonEvents.c
1.18.248
2026-01-23 23:00:17 +01:00
MaxineMuster
ff0941016b Pinalias as arg (#1948)
* Add int HAL_PIN_Find(const char *name) for all platforms
add simple selftest (and added some alias strings to windows pins)

* fix ESP

* fix second occurence of isdigit for ESP by casting to unsigned char

* Moved code for HAL_PIN_Find to "src/hal/generic/hal_pins_generic.c" and removed it from the (few) platforms aleady implemented it.
Added some "complex" pin alias descriptions for windows to test

made function case insensitive - introducing "char *wal_stristr(const char *haystack, const char *needle);" as a case insensitiver version of "strstr" in new_common.c

* Try fix windows (by including src\hal\generic\hal_pins_generic.c)
Enable ENABLE_TEST_COMMANDS for all platforms to do some testing

* comment out weak functions for Windows

* including "../hal/hal_pins.h" in cmd_test.c to clear warning about HAL_PIN_Find()

* comment out StackOverflow test for ESP - it won't compile

* fix

* Moved code from hal_pins_generic.c to new_pins.c
reverted usage of hal_pins_generic.c in Windows build
changed Tokenizer_GetPin()

* Changed driver commands to use Tokenizer_GetPin() instead of Tokenizer_GetArgIntegerDefault() to get drivers pins

* Fix typo in drv_pinMutex.c

* Fix cmd_test.c and ds1820_full.c
Added debug output to Tokenizer_GetPin()

* Removed tesing and debugging code

* Also allow pin alias in SetPinRole command

* Fix typo
2026-01-20 14:38:40 +01:00
NonPIayerCharacter
eee7ac2f8e LN8825B (#1946)
* LN8825B

* update

* powersave

* pwm fix

* pwm/ir

* release
2026-01-20 01:13:10 +01:00
openshwprojects
1530d9f4a7 string security 1 (#1935)
* string security 1

* fx

* next
1.18.247
2026-01-15 13:08:52 +01:00
NonPIayerCharacter
7fcfe795e4 Extra power save feature (#1943)
* extra power save feature

* update

* fix w800 powersave
1.18.246
2026-01-15 09:55:26 +01:00
NonPIayerCharacter
acf0807423 7231n/7238 battery variants (#1940)
* 7231n/7238 battery variants

* update
2026-01-15 09:50:33 +01:00
Bart Staal
9ca9a5022f Make soft I2C clock frequency configurable (#1928)
* Remove duplicate definition of SM2135_DELAY

This macro is also defined in drv_local.h. Only user of
drv_sm2235.h is drv_sm2235.c, which also included drv_local.h.

* Add command to configure clock period for soft I2C

Default setting of 4 seems to fast for a SM2185N controller.

* Rework to reduce flash usage
1.18.245
2026-01-09 11:06:15 +01:00
Tester23
64f5e8b31d docs 1.18.244 2026-01-08 01:18:36 +01:00
Tester23
5f840a6181 docs for Counter 1.18.243 2026-01-08 01:04:22 +01:00
Tester23
1139fdca9f update docs 1.18.242 2026-01-08 00:39:52 +01:00
Tester23
ca56d91fb7 getcommands will remove old getcommand file clones 2026-01-08 00:38:59 +01:00
Tester23
2af77d9a91 tuyamcu fix whitespace that was breaking docs gen 2026-01-08 00:36:11 +01:00
Tester23
ef39855f20 fix getcommands.js creating a "ghost changed files with no changes" due to line endings 1.18.241 2026-01-08 00:19:32 +01:00
Tester23
a6018e8406 self test - variable as led count (testing for Elektroda user) 1.18.240 2026-01-07 23:12:59 +01:00
openshwprojects
0a1e7fff25 Energy cnt reset self test (#1938)
* test

* fx
1.18.239
2026-01-07 20:50:18 +01:00
openshwprojects
4f4af7347c resend LED driver currents on currents change (do not wait for colors change) (#1932)
* test

* add missing
1.18.238
2026-01-07 15:43:11 +01:00
openshwprojects
972d68dcef make gpio row first in platforms 1.18.237 2026-01-07 09:54:51 +01:00
Tester23
79fc408af8 Revert "update platforms md - add support column, because WPA column on mobile makes it look like some platforms are not supported"
This reverts commit 063d4271b7.
2026-01-07 09:52:25 +01:00
openshwprojects
063d4271b7 update platforms md - add support column, because WPA column on mobile makes it look like some platforms are not supported 2026-01-07 09:49:06 +01:00
openshwprojects
61c546f321 fx special char in full name (#1934)
* Update selftest_hass_discovery.c

* test special name

* fxes

* fixes

* substr

* fx
1.18.236
2026-01-06 23:18:46 +01:00
NonPIayerCharacter
fc311e8251 Fix BK7238 power metering (#1930) 1.18.235 2026-01-06 11:47:24 +01:00
giedriuslt
f55e7881f3 Fix bl602 crashing trying to publish NaN (#1925)
* Fix bl602 crashing trying to publish NaN

* Fix bl602 crashing trying to publish NaN
1.18.234
2026-01-05 21:15:09 +01:00
Tester23
7a547c9c48 self test for user case with conditional in change handler 2026-01-04 18:23:09 +01:00
Tester23
9933547c98 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.18.233 2025-12-29 21:03:33 +01:00