4029 Commits

Author SHA1 Message Date
openshwprojects
7f5f83b25b
publish whole state on ha online (#1791)
* publish whole state on ha online

* fx
1.18.171
2025-09-07 10:03:40 +02:00
Tester23
9cc5519b7c skip ping watchdog commands if pwatchdog is not enabled 1.18.170 2025-09-06 11:01:51 +02:00
openshwprojects
f68c6ac9f2
al;low empty entries in led remap (#1789)
* test

* some verification

* ha disc?
1.18.169
2025-09-06 10:30:11 +02:00
Tester23
78ce33f01f prepare for I2C LED channels skip 1.18.168 2025-09-05 18:58:18 +02:00
NonPIayerCharacter
e85b9a67be
small update (#1786) 1.18.167 2025-09-05 08:58:42 +02:00
MaxineMuster
6ee5729064
Changing HAL_Delay_us for Beken (#1727)
* Apply changes for Bekens HAL_Delay_us() as proposed in #1579 by @rpv-tomsk
Add TEST command to simply test usleep on a given pin

tested on BK7231N to work with both drivers (I am aware of) using HAL_Delay_us
DS1820 and DHT (tested on DHT11 only)

Timing on BK7231N looks really good with this driver, at least for usleep > 6 its allways 2 us more:

tested	read by analyzer

500	502
200	202
100	102
 50	 52
 20	 22
 10	 12
  6	  8
  4	  7

Now it's time to test on other Beken platforms, too

* Not working on BK7238 - trying to remove special case for lower usleep, since times are way to small here

* still not working on BK7238 - usleep ok fur > 50 , will not be below 30us according to my tests
so try to use the other approach for 7238, too

* No success on BK7238 - trying once again to use "usleep()" to find a factor with analyzer.

* try factor 6 for BK7238 (HAL_Dely_us(x) -> usleep(6*x))

* Testing factor 6.4 for BK7238

* Fixing BK7252  build not working, simply use original for code

* Restore original code for BK7252

* Change timing for BK7525

* Next try to adjust factors for BK7525

* fix typo

* Add adjustment for powersave on BK7238

* Update obk_config.h - disable ENABLE_DS1820_TEST_US
1.18.166
2025-09-04 18:05:57 +02:00
NonPIayerCharacter
ea8f7e2617
Beken 3.0.78 (#1775)
* 3.0.78

* mbedtls play

* bk7252 tuya
1.18.165
2025-09-03 13:50:26 +02:00
NonPIayerCharacter
0d007112b1
TXW817 support (#1779)
* txw81x base no makefile

* txw81x

* gpio fix?

* non-working ota

* mic
2025-09-03 11:46:06 +02:00
NonPIayerCharacter
948237869f
LN882H IR (#1783) 2025-09-03 11:45:24 +02:00
NonPIayerCharacter
719f7dd701
Update ESP-IDF (#1784) 2025-09-03 11:45:04 +02:00
NonPIayerCharacter
2a7b071445
BL602 interrupts fix (#1782) 1.18.164 2025-08-31 20:05:41 +02:00
NonPIayerCharacter
f3d3ff412a
BL602 irRemoteESP (#1777) 1.18.163 2025-08-30 21:24:04 +02:00
openshwprojects
6ea915a574
prelimary support for DDP sending - not tested outside simulator
* ddp send stub etc

* queue

* Update drv_ddp_send.c

* sender

* Update drv_ddp_send.c

* q

* enable

* fx

* test

* fx

* Update selftest_ws2812b.c

* Update drv_ddpSend.c

* Update drv_ddpSend.c

* hder

* test - will udp send adn receive work on github workflw?

* better wait method for self test
1.18.162
2025-08-29 20:18:31 +02:00
NonPIayerCharacter
4d677604dc
ESP32-C5 bootloader offset (#1780) 1.18.161 2025-08-29 18:57:34 +02:00
openshwprojects
670798a83a
merge LED strip backend separation before DMX support
* stub

* clear

* clear upo

* one more test

* split

* fx

* Update drv_led_shared.c

* step

* split

* Update drv_leds_shared.c

* Update selftest_ws2812b.c

* port

* dmx

* DMX

* s

* with test

* fix

* fx

* ChType_Ph test and RGBW test

* ddp formats unfinished

* Update selftest_ws2812b.c

* Update selftest_hass_discovery_ext.c

* fxes
1.18.160
2025-08-28 21:52:59 +02:00
NonPIayerCharacter
f9134dd3ac
BK IR fix? (#1771)
* BK IR fix?

* ir fix
1.18.159
2025-08-27 08:49:45 +02:00
openshwprojects
f8b98ca0ff
cosmetic only - finally move hal interrupts to _pins files
* moive out

* fixes

* fs

* f1

* fx

* fx?
2025-08-26 12:26:49 +02:00
openshwprojects
707bd127ac
Split interrupts code into HAL - part 1
* bl602 test

* w600 test

* simplify

* rtl clear

* t

* draft for beken etc

* draft w600

* fxes

* fxes bl602

* realtek

* fx bl_gpio_intmask

* xradio

* esp

* gpio_isr_handler_add cast

* not needed

* reorg

* fx

* ecr

* fxes

* almost?

* HAL_DetachInterrupt fx

* newline

* use hal_pins.h

* counter

* silly fx

* Update hal_pins.h

* XR FIX? HOW I DIDN'T SEE THAT EARLIER

* guard for double call of HAL_DetachInterrupt

* do not do much in interrupt handler routine, apply deltas in quick tick

* try w800 blindly

* try

* tls_clr_gpio_irq_status

* try intptr_t to see if it compiles

* call tls_clr_gpio_irq_status  first?

* fx 2 omg

* frgot

* change to pullup input by default, add partially counter_r

* more

* ADD POS/NEG EDGE FOR MORE PLATFORMS

* esp
2025-08-24 17:29:17 +02:00
openshwprojects
e6dbea6007
simple TCA9554 driver, enabled by default on 4MB ESP32, for Waveshare barrd
* TCA9554

* fx

* proj

* makeff

* io

* better

* fx

* TCA9554 almoisy

* test

* fx
1.18.158
2025-08-22 09:07:28 +02:00
Tester
4d42d8bf43 SM16703P_setPixel out of range crash fix 1.18.157 2025-08-21 14:45:31 +02:00
divadiow
e5b1b864fa
spellings (#1767) 1.18.156 2025-08-19 08:50:37 +02:00
NonPIayerCharacter
9adcd9950f
Realtek/BL602 spi led (#1763)
* realtek spi led

* fix RTL_A and RTL_B

* fix esp version

* Update docs
add missing esp8266 pins

* bl602 spi led

* fix

* deinit

* bl602 miso swap
2025-08-18 20:37:18 +02:00
openshwprojects
36218fd38e
ota cosmetic (#1762)
* step 1

* Update obk_main.mk

* Update OpenBeken.mk

* Update obk_main.cmake

* Update hal_ota_bk7231.c

* Update hal_ota_bk7231.c

* m

* split

* guards

* Update hal_ota_bl602.c

* Update hal_ota_bl602.c

* bk

* better

* header

* w

* TMP

* tttttttt

* Update rest_interface.c

* hal_ota is xradio header....

* undoi

* header

* move

* xradio

* read

* fx

* t

* makefile

* move out xradi o read

* fx

* move out esp

* move out bl602

* move out beken, ln

* move out w8

* ecr tr

* realtek

* Update rest_interface.c

* win

* forgot

* tr6260 split

* Update hal_ota_tr6260.c

* rename ota_progress

* use OTA_GetProgress on all paltforms

* fx

* not needed header

* call OTA_IncrementProgress on OTA so we at laest know that something is happening
1.18.155
2025-08-16 16:04:57 +02:00
Tester23
b6662ec8b8 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.18.154 2025-08-12 20:20:07 +02:00
NonPIayerCharacter
a1501c00c4
RTL8721DA (AmebaDplus) and RTL8720E (AmebaLite) (#1718)
* amebadplus

* fix + amebalite

* ota, lfs, fast connect fix

* Fix TCP_MSL and hostname

* Readme and releaserc
fix esp irq

* small fixes

* setting mac on amebad/1

* ameba ir

* win ef

* update sdk & disable rtl8720e rest ota

* fix
2025-08-12 17:28:36 +02:00
Tester23
d65e0db83e remove unused stubs 2025-08-12 11:02:17 +02:00
Tester23
9e89d4f375 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.18.153 2025-08-12 10:31:21 +02:00
Tester23
893a7edde0 few more led tests before new led feature 2025-08-12 10:30:11 +02:00
NonPIayerCharacter
b8965817f6
bl602 deep sleep & ecr sdk update (#1743)
* bl602 deep sleep & ecr sdk update

* esp8266 disable wpa3

* platforms.md
1.18.152
2025-08-10 17:08:33 +02:00
Tester23
45fc4d5023 ENABLE_DRIVER_PINMUTEX 1.18.151 2025-08-10 15:19:56 +02:00
NonPIayerCharacter
94812a2587
BK7231T/U/ESP32/LN882H SPI LED (#1749)
* BK7231U/T_ALT SPI LED

* esp32 spi led dma

* ln882h led spi dma

* simplify

---------

Co-authored-by: Tester23 <85486843+openshwprojects@users.noreply.github.com>
2025-08-10 14:46:01 +02:00
openshwprojects
0fb70227df
add pinmutex driver (potentially for shutters); disabled by default
* draft

* Update drv_pinMutex.c

* working with self test?

* Update selftest_cmd_generic.c

* ENABLE_DRIVER_PINMUTEX on beken

* ChType_StopUpDown

* addRepeatingEventUID

* rest

* Update obk_config.h
1.18.150
2025-08-10 14:27:26 +02:00
divadiow
aaaa95a8d1
correct spelling and grammar (#1747)
* Update http_fns.c

* Update flags.json

* Update flags.md

* Update selftest_mqtt_get.c

* Update flags.md

* Update flags.json

* Update http_fns.c

* Update user_main.c

* Update drv_ir_new.cpp

* Update subpages.json

* Update flags.json

* Update http_fns.c

* Update flags.md

* Update tcpServer.md

* Update hal_flashConfig.h

* Update flash_pub.h

* Update win_flash_stub.c

* Update hal_flashConfig_bk7231.c
1.18.149
2025-08-10 08:46:49 +02:00
divadiow
3ccd7c293c
Platforms.md WPA3 updates (#1754)
* Update drv_ir_new.cpp

* Update hass.h - add missing  "hass_init_textField_info()" to avoid breaking ESP builds 

ESP builds with "-Werror=implicit-function-declaration", so we get

 error: implicit declaration of function 'hass_init_textField_info';

* Update platforms.md - wpa3

* Update platforms.md

* revert ameba1 wpa3 to unknown

---------

Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com>
2025-08-10 08:45:57 +02:00
Tester23
a22207f12a Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.18.148 2025-08-09 23:42:37 +02:00
Tester23
4b5a80312c restore original tuyamcu led behaviour by setting g_tuyaMCU_allowAutomaticSending from PR to true by default 2025-08-09 23:42:08 +02:00
openshwprojects
d34ef02b54
enable irRemoteESP8266 variant on BK7238 - it seems to receive something, but original IR works better for RC6, I didn't test anything more
* try irRemoteESP bk7238

* add IRremoteESP8266
1.18.147
2025-08-09 23:40:20 +02:00
Tester23
a358187f32 fixes p1 1.18.146 2025-08-09 22:39:48 +02:00
Tester23
718afdaaad IR2 - fix DEBUG_WAVE_WITH_GPIO but leave disabled for testing in future 2025-08-09 22:35:39 +02:00
Tester23
b5d9d5f5f1 IR: change IR events to Event3 and include 'repeats' argument - this should not break anything, cause Event2 handlers will still be called as before, if not, let me know 2025-08-09 22:34:13 +02:00
openshwprojects
a72fe4a4c5
add software SPI flash support (disabled by default) along with ultra-fast BK7231 software SPI and ability to store littlefs on that SPI , rel: https://www.elektroda.pl/rtvforum/topic4133583.html
* tt

* tt

* kk

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* nodelay

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* test

* test

* test

* tt

* Update our_lfs.c

* Update our_lfs.c

* Update our_lfs.c

* Update our_lfs.c

* Update our_lfs.c

* t

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* ttt

* Update drv_spi_flash.c

* unrolll

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* better wait for logic

* Update drv_spi_flash.c

* revert

* Update drv_spi_flash.c

* PLATFORM_BEKEN_NEW fix???

* faster?>

* faster?

* test memory

* test2

* restore

* coarse time test

* test

* restore

* DISABLE
2025-08-09 19:13:17 +02:00
MaxineMuster
eb77165be9
Update hass.h - add missing "hass_init_textField_info()" to avoid breaking ESP builds (#1753)
ESP builds with "-Werror=implicit-function-declaration", so we get

 error: implicit declaration of function 'hass_init_textField_info';
2025-08-09 19:10:58 +02:00
NonPIayerCharacter
5e363ab42f
ln882h update sdk (#1724)
* ln882h update sdk

* Disable test commands
2025-08-09 11:49:03 +02:00
Tester23
54ffddc75f textfield 2025-08-07 23:47:12 +02:00
Tester23
8ee93ace88 Update http_fns.c 2025-08-07 23:44:19 +02:00
Tester23
6ae05de560 textfield hass discovery? 2025-08-07 23:44:04 +02:00
NonPIayerCharacter
61d035f616
bk new spi & spidma (#1745)
* bk new spi & spidma

* long app version fix

* esp fix
1.18.145
2025-08-03 11:01:31 +02:00
divadiow
6c3e1478e8
Add TG7100C (BL602) info + latest toml links (#1740)
* Update README.md

* Update README.md

* Update README.md

* Update .releaserc.yaml
1.18.144
2025-07-31 08:21:42 +02:00
atomphil
bc64926da3
Tuya mcu automatic sending (#1739)
* Update drv_tuyaMCU.h

* Update drv_tuyaMCU.c
1.18.143
2025-07-29 08:13:17 +02:00
Steffen
c7d48e427c
SM16703P: learn to handle RGBCW, e.g. more than 3 channels per pixel. (#1736) 1.18.142 2025-07-28 13:29:58 +02:00