Commit Graph

4179 Commits

Author SHA1 Message Date
f15f450a88 Implement advanced Pro Landscape UI with fake chat 2026-05-11 10:11:39 +02:00
90a11f407b Switch display drivers to white/light theme 2026-05-11 08:40:02 +02:00
98bb2bb250 Fix syntax errors and enum bitwise warnings 2026-05-11 08:35:17 +02:00
1bba83ea98 Fix Windows build and add fully featured LVGL DisplayDemo 2026-05-11 07:43:58 +02:00
811ae91afc Add drv_display_shared.cpp and drv_display_hello.cpp to build files 2026-05-11 07:28:04 +02:00
d478d50b6c Add new driver files 2026-05-11 01:15:24 +02:00
f2601e72dc ESP32-S3: Add memory and chip stats to LVGL demo and support flash argument in build script 2026-05-11 01:08:16 +02:00
8da0a965bb ESP32-S3: Refactor display build architecture for dynamic LCD configuration (Waveshare/Elecrow) 2026-05-11 00:36:50 +02:00
7b408b1347 Migrate ESP32 Display libraries to Git Submodules 2026-05-10 22:26:54 +02:00
288ba78d57 Add Display_Shutdown to correctly manage LVGL task lifecycle and update demo label text 2026-05-04 12:29:09 +02:00
c1e5c8dd33 Display: dedicated LVGL task, button+counter demo 2026-05-04 00:04:56 +02:00
6683b8b1d4 Fix display build on other ESP32 platforms and suppress GCC 14 warnings 2026-05-03 23:22:55 +02:00
d65e9827ab initial display experiment 2026-05-03 22:55:36 +02:00
1d7ca93b19 fix: complete esp32 display component modularization and build pipeline 2026-05-03 21:28:52 +02:00
8d7ebae9b2 fix: wrap lvgl_v8_port.cpp in PLATFORM_ESPIDF guard 2026-05-03 20:51:54 +02:00
32fbb854c5 fix CI: move display libraries out of src to prevent recursive auto-discovery by other platforms 2026-05-03 20:26:43 +02:00
50460c4eca initial display experiment 2026-05-03 20:21:10 +02:00
acf272e093 build scripts (#2086)
* test1

* berry

* build

* better
1.18.288
2026-05-03 15:31:14 +02:00
1d174d6dbc Update XRs (#2081)
* Update XRs

* Fixes
1.18.287
2026-04-12 00:20:17 +02:00
fead9f0c4a Harden async HTTP client allocation failure handling and add fault-path self-tests (#2051)
* self-tests

* Update http_client.c

# Conflicts:
#	src/httpclient/http_client.c

* Update selftest_http_client.c

* Update selftest_http_client.c

* Update selftest_http_client.c
2026-04-12 00:16:47 +02:00
4362d8e674 fix plausible regression from d491a71a93, made avty disable global (#1985)
It's easier to reason about the change if we consider when the
availability topic is not added.
Originally that was when isSensor && flagavty, that is, when an entity
was considered to be a sensor and flag 35 was set.
After commit d491a71a93, it became isSensor || flagavty.
That is, (A) if flag 35 is set then all entities are stripped of the
availability topic and (B) even when the flag is not set, then any
entity considered to be a sensor would also be stripped of the topic.
I am confident that (A) was the intent and (B) is a bug.
So, we should simply check only flagavty.
1.18.286
2026-04-09 21:38:28 +02:00
6e47daf27e Fix BK7238 static ip (#2079) 1.18.285 2026-04-07 13:39:00 +02:00
0d15c28b4c Use custom GCC for beken sdk (#2069)
* Use custom GCC for beken sdk

* fix

* gcc 15.2

* 15.2 rtlc
1.18.284
2026-04-06 15:30:38 +02:00
8c5f356add Fix ListRepeatingEvents log (#2067)
* Cleanup string

* Fix listrepeatingevents log
1.18.283
2026-04-06 12:40:49 +02:00
9752eb7cc6 RTL8721DA BT Proxy (#2074) 2026-04-06 12:40:05 +02:00
2dbf906b98 Fix RTL8720D OTA (#2073) 2026-04-06 12:39:44 +02:00
4fa230197b BL616/BL602_ALT (#2066)
* BL616

* BL602_ALT

* Custom RTL8721DA UART pins

* commonize ota & disable builds in workflow

* small cleanup

* commonize wifi

* fixes
2026-04-04 20:18:46 +02:00
c1394cd653 Fix missing index check for Tokenizer_GetArg functions (#2058)
* Fix missing "safeguard" for invalid iargument index for
Tokenizer_GetArgIntegerRange()      need to agree an return value in this cas. I choosed range_Min
Tokenizer_GetArgInteger()
Tokenizer_GetArgFloat()

Added check for negative index to all TokenizerGetXX functions

Added selftest for these cases to selftest_tokenizer.c

Tried to fix selftest_tasmota.c - it relayed on the previous behavior to return a value from a prevoius "TokenizeString()" call

Examlpe of what was changed:

-       SIM_SendFakeMQTTAndRunSimFrame_CMND("CT", "");
+       SIM_SendFakeMQTTAndRunSimFrame_CMND("CT", "153");

(later 153 is used for "assert" in
        SELFTEST_ASSERT_JSON_VALUE_INTEGER(0, "CT", 153);
)

* revert modifications to tasmota selftests.
Safeguarding command in src/cmnds/cmd_newLEDDriver.c (reject calls with insufficient number of arguments)
Make "0" default "addMode" for "add_dimmer()"

* Add some more checks. Hopefully it's complete now
2026-04-04 13:38:31 +02:00
efd383a688 ESP IDF flash vars fix: save i32, longer channel names (#2065) 1.18.282 2026-03-31 19:58:35 +02:00
08080aec0a BL602 enable Bridge Driver (#2038) 1.18.281 2026-03-29 19:09:36 +02:00
bf5eaa56e2 Update drv_tuyaMCU.c (#2011)
zmiana ze 192 na256, void TuyaMCU_RunReceive() byte data[256]; ze względu na pojawiający sie log : Info:TuyaMCU:TuyaMCU packet too large, 204 > 192
2026-03-29 19:08:31 +02:00
3edb2618e6 fixed the bug (#2043) 2026-03-29 19:05:18 +02:00
6a04d820c0 Update logging.c (#2050) 1.18.280 2026-03-28 22:03:51 +01:00
68e3270d93 bl602 fv (#2053) 2026-03-28 22:01:13 +01:00
3f07a3017b Fix brittle self-tests and add missing coverage (#2039) 1.18.279 2026-03-24 00:36:55 +01:00
ccb267c111 Update new_pins.c (#2037) 1.18.278 2026-03-21 19:06:31 +01:00
96cdd10f47 Driver for DCF77 radio controlled clock (#1911)
* push driver for DCF77 to actual OBK code

* Chnged to new HAL IRQ API
Added missing "CHANGE" interrupt (rising and falling) for LN882H, W600/W800 and ESP (not yet tested)

Moved code from ISR to QuickTick funktion (else LN882H would crash)

Tested to work with

W800 ("CHANGE")
BL602 ("RISING" and "FALLING")
LN882H (both "CHANGE" and "RISING"/"FALLING" tested)

* fixed ESP (wrong formated comment

for testing at least compilation, added "#define ENABLE_DRIVER_DCF77	1" for more platforms ...

* disabled DCF77 driver for RDA5981 - no xticks code found

* Changed logic again, IRS will only save timestamp, all decoding is done in QuickTick function
No need for Rising/falling edge definition, driver ony searches for "bit" gaps (100 or 200 ms) and ignore the "in between" gap to the next bit.
Therefore no need to know, if rising or falling edge starts the bit.

* chagnge driver to get Pin from argument 1

* Disable driver in obk_config.h
2026-03-21 00:55:04 +01:00
7f257f1055 mDNS support for other platforms (#2018)
* mDNS support for other platforms

* add mDNS support for BK7238

* add mDNS support for W600

* add mDNS support for W800

* add mDNS support for BL602

* add mDNS support for ESP8266

* enable mDNS driver by default on ESP8266

* add mDNS support for ESP32 (ESP-IDF)

* add mDNS support for ESP32-C3 (ESP-IDF)

* add mDNS support for ESP32-C6 and gate ESP32-C3 to 4M

* document ESP32-C3 2M mDNS gating rationale

* add mDNS support for ESP32-S3 (ESP-IDF)

* rtl87x0c: add mdns support and ota upload heap guard

* add mDNS support for TR6260

* add mDNS support for BK7231U - untested

* add mDNS support for BK7252 - untested

* add mDNS support for BK7252N - untested

* add mDNS support for LN8825 - untested

* expand mDNS support for ESP-IDF C2/C5/C61/S2 - untested

* add mDNS support for ECR6600 - untested

* add mDNS support for XR806/XR809 - untested

* enable mDNS by default for ESP8266

* RTL cleanup 

Removed RTL-specific code for OTA uploads and client management.

* RTL cleanup 

Removed Realtek-specific OTA guard code and related logging.

* RTL cleanup

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2026-03-19 22:26:27 +01:00
f070313f06 Don't build NEO6M in default build for W800 and BL602 (#2034)
Fix some bugs and cleanup code.
1.18.277
2026-03-19 16:56:38 +01:00
c6cb296481 revise tuyamcu truncated payload error (#2033)
* Update drv_tuyaMCU.c

* realloc hardening

* fix more of the same. add selftest

* align allocator calls to os_ convention

* Revert "align allocator calls to os_ convention"

This reverts commit 4dae897536.

* Update selftest_tuyaMCU.c

* fix self test

* correct crc

* fix crc

* Update selftest_tuyaMCU.c

* correct comments

* Update drv_tuyaMCU.c
1.18.276
2026-03-17 09:01:50 +01:00
42729cf3a8 BT Proxy & minimal esphome api (#2003)
* Import DeDaMrAzR BT proxy

* rtl8720d bt

* fix

* clean up, disable esp

* rtlc

* bk723x bt

* fix

* fix2

* bk active scan

* ln882h

* fix

* tweak ln882h ps

* cleanup

* cleanup
1.18.275
2026-03-16 13:39:58 +01:00
663ce5c8c9 LN882H fast connect (#2016) 1.18.274 2026-03-16 11:23:44 +01:00
9caa2aca77 tune shutter times
* Enable ENABLE_DRIVER_SHUTTERS on beken

* Update drv_shutters.c

* scale

* fix save

* step

* Update obk_config.h
1.18.273
2026-03-16 10:11:30 +01:00
1a02f0bedf TuyaMCU: harden STATE parsing against truncated payloads and realloc failur (#1999)
* Update drv_tuyaMCU.c

* realloc hardening

* fix more of the same. add selftest

* align allocator calls to os_ convention

* Revert "align allocator calls to os_ convention"

This reverts commit 4dae897536.

* Update selftest_tuyaMCU.c

* fix self test

* correct crc

* fix crc

* Update selftest_tuyaMCU.c

* correct comments
2026-03-16 10:05:00 +01:00
14d4dcf2e2 Shutter driver enhancements and enable (#2022)
* Add ENABLE_DRIVER_SHUTTERS configuration option

* Enhance shutter control with channel assignments

* Refactor shutter channel handling and save logic

* Update drv_shutters.c

* Adjust time scaling and save state on shutter move

Updated the scaling factors for open and close time seconds in Shutter_Save and Shutter_Read functions to reflect a change from 10 to 100 and from 0.1 to 0.01 respectively. Added a call to Shutter_Save in Shutter_Move to ensure state is saved when moving.
1.18.272
2026-03-16 08:27:57 +01:00
191a297e18 better WS2812 + single PWM (#1980)
* test

* better WS2812 + single PWM
2026-03-16 08:20:17 +01:00
0cd2ba8270 Update json_interface.c (#2028) 2026-03-16 08:18:01 +01:00
33e5f1b26a Update OpenXR806 submodule to latest commit (#2027) 1.18.271 2026-03-14 21:10:47 +01:00
e1655d97a4 Some fixes so Linux Simulator can also be run "standalone" with GUI: (#2025)
Fixed some wrong timing defines (Windows "Sleep" will sleep ms, Linux "sleep" will sleep seconds(!)).
Added start of Simulator

Changed some constants so Linux sim uses an own MAC, device name ...

Also fixed Web-App code not to rely on "ourip" ( HAL_GetMyIPString(); ) which won't work on all platforms and will ignore port
by using JavaScript "location.host" which (since we are using the webif) is known and even containing a non standard port, usefull together with simulators "-port" option
2026-03-14 21:10:13 +01:00
c49a934eba add mDNS driver for BK7231N/BK7231T as base (#2017)
* feat: add mDNS driver for BK7231N/BK7231T

* chore: update sdk submodules to upstream mdns merges

* fix: include mdns driver source in shared build manifests

* fix: avoid mdns link errors when sdk responder is disabled
2026-03-07 16:22:13 +01:00