3740 Commits

Author SHA1 Message Date
Tester23
9cf91af8aa fix flags error? 2025-01-05 15:01:41 +01:00
Tester23
3a1c3e9bbf BatteryLevelPercent for HA 1.18.3 2025-01-05 14:39:19 +01:00
Tester23
489e8a1a33 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.18.2 2025-01-05 00:15:08 +01:00
Tester23
d0b4168f29 color formats self test 2025-01-05 00:15:01 +01:00
divadiow
57deab7d7a tr6260_ssdp (#1480)
* tr6260_ssdp

* Repoint submodule to commit d8263486a42f88d7a52ee5218c21a598b9470194
1.18.1
2025-01-04 22:48:43 +01:00
Kostiantyn Levytskyi
0efec12de6 feat(httpserver): improved mimetype handling for frontend files (#1481) 1.18.0 2025-01-04 10:41:36 +01:00
openshwprojects
48755f3008 Update .releaserc.yaml 1.17.822 2025-01-02 16:29:55 +01:00
openshwprojects
1f533c00ed Update README.md 1.17.821 2025-01-01 15:33:29 +01:00
NonPIayerCharacter
2a9a7270f2 RTL8710C/RTL8720C support (#1468)
* Move delay us and wdt to hals, update workflow

* rtl8720c initial

* move uart to hal

* rtl uart

* obk adjustments

* sdk adjustments, fix ota

* add some features

* fix some warnings

* esp uart + tr6260/esp tcp_msl

* add bl0937, adjust ota

* enable artifacts merge

* add forgotten ln882h delay

* fix mqtt, pwm on boot

* irq fix

* fix wifi disconnect

* update sdk, change lfs location and size

* Update Makefile
2025-01-01 12:11:49 +01:00
openshwprojects
8fba7dd31e fix ENABLE_I2C on BL602
* disable i2c

* test

* fx

* fxes

* Update obk_config.h
1.17.820
2024-12-31 16:37:46 +01:00
Tester23
f80457a631 submit test code - pin visualize and bl0942 dump 1.17.819 2024-12-31 15:29:27 +01:00
Tester23
30cada0857 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.17.818 2024-12-31 14:26:21 +01:00
Tester23
c30027db5a invalid return fix 2024-12-31 14:25:02 +01:00
MaxineMuster
1f51f65816 OTA for W800 + "Simple OTA" w/o httpd (#1471)
* OTA for W800
Removed unnecessary (and wasting resources) fetching of "index?status=1" on pages not using "state" div
Added simple "internal OTA" (just POST-ing a file)
Basic tests done - try avoiding other TCP connections to save memory
Somtimes there are memory related messages in log like "Thread create HTTP Client - errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY".

OTA working in most cases, somtimes device crashes during update.
Device will immediatly reboot after OTA completion, even printfs after writing last bytes was not visible in console.

* Add some more warnings
Make file selector accepting images on extension for platform
For Beken: Check magic "RBL" and future Platform name in header

* Changed way to verify firmware files: must match OBK file structure for the platform
As suggested by @NonPIayerCharacter added "NO_PLATFORM_OTA" in obk_config.h
For platforms w/o OTA the page will be only showing a hint.

* Fix page for non OTA devices

* streamlined tests
moved platform dependent #define for OTA extension to obk_config.h

* Optimized JS code

Only show hint for ".rbl" file on Beken platforms

Added a #define OBK_OTA_NAME_EXTENSION, actually only for LN882H
(here UART and OTA file are identicaly except an "_OTA" in the file name).
Otherwise the UART file would also match the template
(this file would not be flashed because of additional checks, but if we can prevent this ...)
2024-12-30 23:20:21 +01:00
MaxineMuster
3331f721b0 Try no state request on pages with no "state" div (#1464)
* Try no state request on pages with no "state" div

* move test for psence of "state" div
1.17.817
2024-12-29 11:00:46 +01:00
Tester23
a11c671b25 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.17.816 2024-12-28 22:53:26 +01:00
Tester23
1f044b2d0f add channels label clear 2024-12-28 22:37:47 +01:00
MaxineMuster
cafa3619a5 Add commands to check if actual time is in DST or not (#1429)
* Add commands to check if actual time is in DST or not

New command "clock_calcDST nthWeekEnd monthEnd dayEnd hourEnd nthWeekStart monthStart dayStart hourStart"
to set the DST start and end rule.

$isDST will return 1 if DST is active, 0 else

It's enabled with

* switched from strftime to ctime to get smaller memory footprint

* disabled feature by default in obk_config.h (enabled for Windows for possible testing)

* try selftest for DST

* enable Test_NTP_DST() in win_main.c

* fix missing NTP offset settings, fix LOG

* Add possibility to set g_ntpTime according to DST settings
tried to reduce image sizes by avoiding mktime
still image size for this feature varies very much:

LN882H: 2.2k in bin / 1.5k in OTA
Beken:  4.3k in rbl
BL602:  21.4k in bin / 9.7k in ota

This commit has feature enabled, to get images for testing, will change it to disabled by default in next release

* disable feature for all plattforms but windows (to allow tests)

* Fix selftest - all DST changes are now done by the system!

* Fix selftest - setsimulated time must also call setDST as "real" ntp setting

* Next try to fix selftests

* For testing switch back to mktime

* New try to reduce image by avoiding time functions
Fix own leap year calculation

* Disable feature for all platforms but Windows (to keep selftest)
1.17.815
2024-12-28 22:23:21 +01:00
Tester23
f099183753 self test for conditional relay 2024-12-28 22:21:07 +01:00
Tester23
baf49865ac fix vcp error to pass elf test 1.17.814 2024-12-27 19:40:12 +01:00
Tester23
9faa30191e fx 2024-12-27 19:39:30 +01:00
Tester23
748ec4b1be VCP self test 2024-12-27 19:39:02 +01:00
Tester23
c14b06d137 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.17.813 2024-12-27 02:02:35 +01:00
Tester23
f229e2c204 negative channel fix 2024-12-27 02:02:24 +01:00
Tester
22f68ffdff unfinished flags self test 1.17.812 2024-12-24 19:01:17 +01:00
Tester
2f0b9ed280 docs 2024-12-24 18:56:12 +01:00
Tester
bd7c599cec docs 1.17.811 2024-12-24 18:46:30 +01:00
Tester
cbc7995f62 docs 1.17.810 2024-12-24 18:37:01 +01:00
Tester
d34cd4256c docs 2024-12-24 18:31:46 +01:00
Tester
e0bd9769df docs 2024-12-24 18:15:35 +01:00
Tester
576b456552 doc 1.17.809 2024-12-24 18:08:55 +01:00
Tester
55b671e847 docs 2024-12-24 18:03:44 +01:00
Tester
c390303fb8 docs 1.17.808 2024-12-24 17:47:35 +01:00
Tester
c9d0dac46e doc 1.17.807 2024-12-24 17:22:39 +01:00
Tester
9e702f9e2f docs 1.17.806 2024-12-24 15:51:54 +01:00
Tester
955677f913 docs 1.17.805 2024-12-24 15:43:20 +01:00
Tester
bba5382d7c docs 1.17.804 2024-12-24 15:22:25 +01:00
Tester
f971f823ea docs 2024-12-24 15:17:47 +01:00
openshwprojects
6152fec831 ADS1115 (#1474)
* test1

* tryyy

* uint

* end

* fx

* channeld

* fx

* split to file

* test

* split

* split

* w

* fx

* an

* DRV_I2C_Shutdown

* Update drv_i2c_ads1115.c

* rewrite

* fx

* defines
1.17.803
2024-12-23 20:41:13 +01:00
openshwprojects
ba3e171a50 Update README.md 1.17.802 2024-12-17 13:22:12 +01:00
openshwprojects
cfd2fe7246 Update README.md 1.17.801 2024-12-16 22:34:23 +01:00
Michal Škuta
8325a85d09 Testing experimental NEC-48 support (#1463) 1.17.800 2024-12-15 09:03:36 +01:00
openshwprojects
31cdec52d5 Update .releaserc.yaml 1.17.799 2024-12-13 22:10:11 +01:00
openshwprojects
7c6af9cffd Update .releaserc.yaml 2024-12-13 22:09:41 +01:00
NonPIayerCharacter
532a90313c TR6260 support (#1446)
* TR6260 initial

* fix gh-actions

* various fixes/features

* wifi fast connect fix

* fix gpio, add i2c

* move config to obk
2024-12-12 18:55:26 +01:00
openshwprojects
2c0b3cdb39 Update README.md 1.17.798 2024-12-10 16:54:22 +01:00
Tester23
a0ab7c17e4 waiting for channel 1 to become non-zero self test 1.17.797 2024-12-09 14:10:42 +01:00
Tester23
6940b06cfa publish command JSON syntax test 2024-12-09 14:08:17 +01:00
Tester23
6acd938e71 comments 2024-12-09 14:08:06 +01:00
Tester23
6e176a3911 support multiple RAW_TAC2121C_VCP channels for devices with 3 phases, etc 1.17.796 2024-12-08 01:38:25 +01:00