Commit Graph

4188 Commits

Author SHA1 Message Date
e1a8097558 Fix webui slider behavior (#2143)
* fixed slider behavior and value showing

* Fix LED color picker submit timing

* Update RGB picker selftest event
1.18.299
2026-07-24 10:41:55 +02:00
46acfb450d Add XR809 ping-pong OTA support (#2164)
* Add XR809 ping-pong OTA support

* FW0/1 instead of FW1/2

* Update .releaserc.yaml

* Update platforms.md
2026-07-24 10:41:54 +02:00
574fff819d ci: migrate GitHub Actions to Node.js 24 (#2169) 2026-07-24 10:41:54 +02:00
4b43623c0c add BL0939 support to PowerMetering BK7231N variant (#2142)
* initial

* restore gui

* tidy

* update docs

exclude duplicate voltageset, currentset, powerset entries though - needs work/thought

* DRY?
2026-07-12 20:55:19 +02:00
1ba3ddbc1b support static IP on ESP-IDF platforms (#2156)
* add static IP support

* Update cmd_tokenizer.c

* Update cmd_tokenizer.c

* Update new_common.h

* Update cmd_tokenizer.c
1.18.298
2026-07-07 16:22:08 +02:00
faf548ab50 Update http_fns.c (#2148) 1.18.297 2026-07-03 03:00:36 +02:00
3c5f4a2d99 add Tuya coeff-key OpenBK7252 build to release (#2152)
* add Tuya BK7252U back

* Update .releaserc.yaml

* rbl

* Probe BK7252 Tuya OTA readback CRC

* Fix BK7252 Tuya OTA partition table

* Restore BK7252 Tuya OTA artefact

* Probe BK7252 OTA flash readback CRC

* patch RT bootloader

* remove releaser

* use standard partitions

* Update Makefile

* Create bk7252_partition_2M.json
2026-07-03 02:58:22 +02:00
8395dcacc4 rename xr806 output file (#2146) 1.18.296 2026-06-28 15:31:56 +02:00
da08a1765c Add support for Gaitek Airconditioner Protocol (#2099)
* Add GaitekAC driver header with function declarations

* Add GAITEK AC driver implementation

Implement GAITEK AC driver with UART protocol handling and commands.

* Add GaitekAC driver integration

* Enable GAITEKAC driver in obk_config.h

* Add GAITEK AC custom UART driver support

* Remove ENABLE_DRIVER_GAITEKAC definition

* Re-add GAITEK AC custom UART driver source
1.18.295
2026-06-23 08:58:54 +02:00
93b85e42ea Allow calling time_setDST for hours or minutes - call now matches documentation (#2127)
* Update obk_config.h - enable DST for all platforms

* fix time_setDST to allow for hours or minutes

* eleminate one more int variable

* disable DST again as default - only used for testing
2026-06-23 08:58:07 +02:00
0ffb790284 Hide unavailable BL frequency from HA (#2133)
* Hide unavailable BL frequency from HA

Treat unsupported BL frequency as unavailable instead of publishing 0 Hz. Skip NaN metering publishes, suppress HA discovery for unavailable frequency, and clear retained special frequency discovery when absent.

* Remove retained frequency cleanup

* Update BL0937 discovery test
2026-06-23 08:57:34 +02:00
c77fd8945a RTL DA/E flasher stub (#2140) 2026-06-20 08:55:14 +02:00
aa1140fff3 update docs (#2136) 1.18.294 2026-06-18 17:01:31 +02:00
9a9ca3414d Include battery driver for XR806 (#2138) 2026-06-18 17:00:59 +02:00
fdd0de93fa BL0937: use explicit falling-edge interrupts (#2135)
* Update drv_bl0937.c

* Update drv_bl0937.c
1.18.293
2026-06-17 08:22:32 +02:00
1b86b44b96 Ha httpbuttons moved to controls section in HA discovery (#2132)
* Expose HTTPButtons to Home Assistant

* Move HTTPButtons HA entities to controls

moved from config to control
1.18.292
2026-06-16 18:31:56 +02:00
d95af7ad63 Expose HTTPButtons to Home Assistant (#2131) 2026-06-16 16:21:25 +02:00
bf3682a7ef Update obk_config.h - fix "#undef ENABLE_LOG2LFS" containing a value (#2120) 2026-06-08 08:10:19 +02:00
36072c2c5f invert (#2121) 2026-06-08 08:09:48 +02:00
e0d6d5b24b Include DoorSensorWithDeepSleep_pd in fast-connect detection (#2122)
* Include DoorSensorWithDeepSleep_pd in fast-connect detection

* Revert "Include DoorSensorWithDeepSleep_pd in fast-connect detection"

This reverts commit 6f0ef63b9c.

* Update user_main.c
2026-06-08 08:08:41 +02:00
e229b9202d Include IOR_Button_pd / IOR_Button_pd_n in Device Groups power sharing (#2123) 2026-06-08 00:28:29 +02:00
5c6af07193 add GD32 to releaser, update readme for ESP32 (#2124)
* Update .releaserc.yaml

* Update .releaserc.yaml

* update readme - esp

* change examples

* gd32 ota ext
1.18.291
2026-06-07 16:46:04 +02:00
c7125ae914 GD32VW553 support (#2116)
* GD32VW553

* update

* update

* update

* update

* update

* import some changes from inline pr

* extra bl changes

* ota calc md5 from flash
1.18.290
2026-06-05 14:51:37 +02:00
b8c0c5a877 add missing IOR_Button_pd / IOR_Button_pd_n roles to PIN_ticks (#2118)
* add missing IOR_Button_pd / IOR_Button_pd_n

* more IOR_Button_pd + ir
2026-06-03 08:54:37 +02:00
5db84da906 add XR806 INT DCDC variant (#2093)
* build

* Update OpenXR806 submodule to 7d51256

* Point OpenXR806 submodule to divadiow/OpenXR806 and update to latest

* Update OpenXR806 submodule for full XR806 defconfigs

* Update OpenXR806 submodule for XR806 cpp/mdns fixes

* Clean XR806 build outputs between config phases

* sort variant naming

* .

* Update OpenXR806 submodule for XR806 flash clock fix

* Update OpenXR806 submodule for XR806 DIO flash mode

* Update OpenXR806 submodule for GD25Q16C support

* Update OpenXR806 submodule for quad output flash mode

* Update OpenXR806 submodule for 96 MHz flash clock
2026-06-02 19:07:56 +02:00
91a0fd2ef0 Log start2 lfs (#2105)
* Add logging of start to LFS
Add some more comments to reflect actual offstes inside mainConfig_t
Add two conditional "short"s to make (implicit) padding visible inside mainConfig_t

For testing enable LOG2LFS for all platforms with LFS

* Two more #if to disable vars if LOG2LFS is not enabled
Disable feature ENABLE_LOG2LFS by default
1.18.289
2026-06-02 14:11:56 +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