Commit Graph

4115 Commits

Author SHA1 Message Date
Tester23
6c4c8d346a Update selftest_chargingScript.c 2026-02-14 22:36:50 +01:00
Tester23
939c051a34 charg 2026-02-14 22:10:51 +01:00
Tester23
e4404dfdcd better WS2812 + single PWM 2026-02-07 13:42:36 +01:00
Tester23
ba3ffd1d68 test 2026-02-07 13:20:52 +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
protectivedad
7c79454413 TuyaMCU: Add version 3 data units support (#1914)
* TuyaMCU: Update for version 3 battery powered sensors

- Added support for report status record types
- Added TuyaMCU_PowerSave command

* TuyaMCU: Rename command

- Renamed command from tuyaMcu_powerSave to tuyaMcu_batteryPoweredMode

---------

Co-authored-by: Anthony Sepa <protectivedad@gmail.com>
1.18.232
2025-12-28 18:28:08 +01:00
Tester23
5eb375c3a4 http get - add cmd to run on done 2025-12-28 12:49:52 +01:00
divadiow
d233b5515f proposed repo Readme changes (#1917)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
1.18.231
2025-12-26 13:43:40 +01:00
MaxineMuster
54d5ae7e16 Driver for NEO6M GPS module (#1890)
* Driver vor NEO6m GPS receiver
Tested on W800

* Some tweaks:
empty RX buffer betewwn readings
on several unsuccessful reads, try enabling the NMEA RMC messages again

* empty buffer every second
remove commented out old code

* fix broken log if no lat/long NS or EW is present

* Add "savecfg" argument to save config to NEO after configuring - so next time we might use it without sending commands to NEO module
this way, only NEOs Tx is needed (and OpenBekens Rx)

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2025-12-21 12:30:01 +01:00