4029 Commits

Author SHA1 Message Date
Tester23
36e2c0bc18 ws2812 + CW test 1.18.206 2025-10-26 05:06:53 +01:00
NonPIayerCharacter
f2335b803f
Fix RDA release (#1840)
* fix rda release

* ali bootloader
1.18.205
2025-10-22 01:09:49 +02:00
NonPIayerCharacter
365a0dbcf9
rda5981 ota (#1839)
* rda5981 ota

* easyflash and lfs

* adjust offsets

* mac change
1.18.204
2025-10-21 09:08:48 +02:00
NonPIayerCharacter
5a83d0268b
tr6260 quick pwm fix (#1838)
* tr6260 fix pwm

* forgot gpio14

* tr6260 interrupts
1.18.203
2025-10-20 22:52:22 +02:00
Tester23
3a6d7bcecc delay_ms 50 test 1.18.202 2025-10-18 17:13:37 +02:00
Tester23
689a97c3c9 UART tcp usage comment 2025-10-18 17:13:21 +02:00
Tester23
7d8cbe824b Update selftest_enums.c 1.18.201 2025-10-18 01:29:35 +02:00
Tester23
e69ba795b1 next enum self test 1.18.200 2025-10-18 01:17:13 +02:00
Tester23
b35a6731e4 reduce stack size iusage n ha discovery, next enum self test 2025-10-18 01:17:03 +02:00
Tester23
0ec4b6a404 fix leak 2 1.18.199 2025-10-18 00:28:43 +02:00
Tester23
39c4590296 fix one leak in simulator 2025-10-18 00:16:25 +02:00
Tester23
d264e92500 better self test for enums 1.18.198 2025-10-17 23:48:06 +02:00
Tester23
42976ee561 few more fixes 2025-10-17 23:04:33 +02:00
Tester23
60a7d1371c HA ENUMS PR FIX (remove 1kB from stack) 2025-10-17 22:47:16 +02:00
MaxineMuster
1a291a82ad
fix handling of "sunset" events (#1834)
* fix handling of "sunset" events:

Old code was

if (e->sunflags & (SUNRISE_FLAG || SUNSET_FLAG)) {

This will ignore sunset events ( SUNSET_FLAG = 1 << 1)
for the or of two values ( 1 || 2) is always true
and will result in testing (sunflags & 1)
so never true for sunset (2 & 1) is false.
probaly meant

if ((e->sunflags & SUNRISE_FLAG) || (e->sunflags & SUNSET_FLAG))

but it's sufficient to check is "sunsetflags" is not 0, so simple fix:

if (e->sunflags){

Additionally added code to change liste vents ("listClockEvents") so it also shows if a time is derived from sunset or sunrise:

before the output would be like:

Info:CMD:Ev 32 - 7:31:0, days 0xff, cmd setChannel 0 0
Info:CMD:Ev 31 - 19:7:0, days 0xff, cmd setChannel 0 1

and you won't see this is an "dynamic" time. Now it's (I also used %02i to fix time format)

Info:CMD:Ev 32 - 07:31:00 (sunrise), days 0xff, cmd setChannel 0 0
Info:CMD:Ev 31 - 19:07:00 (sunset), days 0xff, cmd setChannel 0 1

* forgot to commit fix for time display using "%02i" for hours, minutes and seconds
1.18.197
2025-10-17 10:08:41 +02:00
NonPIayerCharacter
f5a3b2642b
RTL new fix OTA (#1836)
* RTL new fix OTA
clean-up workflow

* fix esp cache?
1.18.196
2025-10-17 08:44:13 +02:00
KC Stonacek
fba323f3aa
Enum examples (#1832)
* create a ChType_Enum to go with SetChannelEnum

* resolve build errors for ChType_Enum PR

* fixing build errors for simulator and others for cmd_enums.c

* added ChType_ReadOnlyEnum and assocaited enum selftests

* ChType_Enum simulation and memory error corrections

* ChType_Enum documentation updates

* ChType_Enum autoexec example corrections

---------

Co-authored-by: root <root@stonacek.nz>
Co-authored-by: kcstonacek <kcstonacek@stonacek.nz>
2025-10-16 21:01:16 +02:00
divadiow
28bc5e16e6
Update OpenTXW81X (#1831) 1.18.195 2025-10-15 15:56:56 +02:00
KC Stonacek
4ad9a85a08
Add ChType_Enum and enable SetChannelEnum. (#1830)
* create a ChType_Enum to go with SetChannelEnum

* resolve build errors for ChType_Enum PR

* fixing build errors for simulator and others for cmd_enums.c

* added ChType_ReadOnlyEnum and assocaited enum selftests

* ChType_Enum simulation and memory error corrections

* ChType_Enum documentation updates

---------

Co-authored-by: root <root@stonacek.nz>
1.18.194
2025-10-14 09:21:18 +02:00
Tester23
993a46a19d better uart debug 1.18.193 2025-10-10 19:26:49 +02:00
Tester23
5ea4a6c5b9 test 2025-10-10 19:24:35 +02:00
Tester23
1ca376e9c0 futher tests 2025-10-10 17:56:59 +02:00
Tester23
22f3571be2 self test for #1828 - it seems to pass for me 1.18.192 2025-10-10 17:44:44 +02:00
NonPIayerCharacter
6708337768
easyflash linux (#1827) 1.18.191 2025-10-10 11:23:53 +02:00
openshwprojects
c208c19f3e
ttuyamcu noread flag (#1820)
* noread

* fx

* ping pong mode for addChannel

* Update new_pins.c

* test
1.18.190
2025-10-09 15:59:44 +02:00
Jesse Campbell
883e85e4cc
Fix gamma correction (#1825)
* corrected gamma function

* uncorrect color temperature to work with new gamma

* Adjust gamma corrected expectation for self test
1.18.189
2025-10-06 09:30:16 +02:00
MaxineMuster
6279bcd07a
Add Chip internal temperature as sensor in JSON (#1821)
* Add MCU temperature to json_interface.c

* Write chip temp even if there is no other sensor present

* Send chip temperature always as sensor "ESP32"
1.18.188
2025-10-05 00:01:57 +02:00
divadiow
f60d242fbb
Flag13 - extend pin state display to PLATFORM_GPIO_MAX (#1823)
* Update http_fns.c

* Update http_fns.c

* Update http_fns.c

* Revert "Update http_fns.c"

This reverts commit c899cb45b0f982cbe65febf64c6f0b14acbc4f4f.

* Revert "Update http_fns.c"

This reverts commit 012c49c32dd752e16ed0c69d3fe0e04c44db885e.

* Update http_fns.c
1.18.187
2025-10-03 14:50:09 +02:00
NonPIayerCharacter
e930bd2d75
hlw8112 variant (#1819) 1.18.186 2025-10-02 17:09:47 +02:00
NonPIayerCharacter
1b70310eb9
TXW81X add SP0828 camera sensor (#1818)
* TXW81X add SP0828 camera sensor

* reduce freq
1.18.185
2025-10-02 00:27:38 +02:00
Nizam Moidu
4a2ae013ed
HLW8112 Driver for energy measurments (#1810)
* initial test driver for hlw8112

Signed-off-by: Nizam <code@maxters.net>

* restrict build to BK7231N
will stub other platforms later

Signed-off-by: Nizam <code@maxters.net>

* fix newer gcc build

Signed-off-by: Nizam <code@maxters.net>

* fix channel b stat restore
after all i still doesnt get pointer arithmetic

Signed-off-by: Nizam <code@maxters.net>

* clean up flashvar bk7231 still use emetering struct to store data

Signed-off-by: Nizam <code@maxters.net>

* fix OpenBK7231N_ALT build fail

Signed-off-by: Nizam <code@maxters.net>

* disable incomplete spi device raw access commands and ui

Signed-off-by: Nizam <code@maxters.net>

* remove mqtt hack for commands. leverage existing tasmota command framework

Signed-off-by: Nizam <code@maxters.net>

* missed flashvar restore

Signed-off-by: Nizam <code@maxters.net>

* disable hlw812 driver for upstream pr

Signed-off-by: Nizam <code@maxters.net>

---------

Signed-off-by: Nizam <code@maxters.net>
1.18.184
2025-09-30 15:04:15 +02:00
NonPIayerCharacter
8136ebe8d6
rda fix flash vars (#1817) 2025-09-29 11:43:47 +02:00
NonPIayerCharacter
843de0c0dd
Increase stack size for ESP8266 (#1814) 2025-09-29 11:43:40 +02:00
NonPIayerCharacter
bbbf490011
Fix workflow (#1816) 1.18.183 2025-09-29 09:24:06 +02:00
NonPIayerCharacter
cd17fbf7f5
Fix workflow (#1815) 2025-09-29 08:59:52 +02:00
NonPIayerCharacter
6083ddfca5
RDA5981 (#1813) 2025-09-29 08:41:36 +02:00
MaxineMuster
17cc6353b6
change JSON for multiple DS18B20 (#1811)
* first try to set sensor output like tasmota, but add "name"

* Use extended tasmota style: Name + Tasmota-Id

* switch to "plain" tasmota style (only tasmota-Id aditionally to temperature)

* fix numbering - Tasmota starts with "DS18B20-1" not with "DS18B20-0"
1.18.182
2025-09-29 08:22:51 +02:00
Tester23
98a115cb54 match Tasmtoas DS18B20 standard 1.18.181 2025-09-28 10:20:34 +02:00
Tester23
d0dfea0822 battery sensor publish with no bl0937 build fix by dedamraz 1.18.180 2025-09-27 18:22:02 +02:00
Tester23
cf18fb529a Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2025-09-27 18:21:06 +02:00
Tester23
b8fc1f1c93 publishDriver self test 2025-09-27 18:19:54 +02:00
MaxineMuster
c1d258fb60
Add DS1820 to JSON sensor output (#1809)
* first try for DS1820 sensors

* fix windows build

* Fix wrong comment format

* Fix code

* fix missing includes

* fix missing defines (only check if driver is included)

* Add DS1820 to sensors in "DRV_IsSensor
Fix string might be not empty

* fix output for long string in case of many DS1820 sensors
1.18.179
2025-09-27 09:15:20 +02:00
NonPIayerCharacter
744d5bc40c
Fix RTL_B binary (#1802) 1.18.178 2025-09-24 00:38:51 +02:00
NonPIayerCharacter
ce9e6c1443
txw81x configurable i2c pins and hi704 sensor (#1801) 1.18.177 2025-09-20 08:25:56 +02:00
Tester23
9748043ce8 publishDriver command 1.18.176 2025-09-17 20:28:53 +02:00
openshwprojects
81d5ffa396
StripState pin (led_enableAll state output for transistor control for… (#1799)
* StripState pin (led_enableAll state output for transistor control for DMX LED strip)

* header
1.18.175
2025-09-16 11:10:53 +02:00
NonPIayerCharacter
ea3ea1ffcf
Use cache in workflows (#1793)
* Cache gcc

* cache esp32 toolchains

* skip
1.18.174
2025-09-15 13:17:52 +02:00
openshwprojects
38f4d51557
finalizing dmx , aliases
* ENABLE DMX on ESP

* test

* s

* Update hal_uart_espidf.c

* Update obk_main.cmake

* w

* test

* Update hal_uart_espidf.c

* Update drv_dmx512.c

* test

* test

* test

* w

* t

* c

* t

* test

* T

* Update drv_dmx512.c

* test

* test

* try flush

* try wait

* ticks w

* t

* fx

* 100 ms

* SIM fx

* Update cmd_newLEDDriver.c

* test 2x

* tests

* fixes

* free

* fix

* misc

* b

* hal

* s

* Update workflow.yaml

* pin

* fin

* test

* Update hal_uart_espidf.c

* t
2025-09-15 13:17:21 +02:00
openshwprojects
481cc0ede2
DMX works on ESP32 LilyGO, other platforms requires porting code to change baudrate
* ENABLE DMX on ESP

* test

* s

* Update hal_uart_espidf.c

* Update obk_main.cmake

* w

* test

* Update hal_uart_espidf.c

* Update drv_dmx512.c

* test

* test

* test

* w

* t

* c

* t

* test

* T

* Update drv_dmx512.c

* test

* test

* try flush

* try wait

* ticks w

* t

* fx

* 100 ms

* SIM fx

* Update cmd_newLEDDriver.c

* test 2x

* tests

* fixes

* free

* fix

* misc

* b

* hal

* s

* Update workflow.yaml

* pin

* fin

* test

* Update hal_uart_espidf.c
1.18.173
2025-09-14 21:07:24 +02:00
MaxineMuster
c5116a4f2b
fix getcommands.js (#1788)
* fix getcommands.js

Fix parsing
don't overwrite source files but generate alternate file

* Fix comments so "getcommands.js" won't complain.
Hpoe I got descriptions right ...

* Some more comments to fill "qqq" fields ...

* Fix getcommands.js generatind fn-entries for registered commands

Fix all source files with wrong "NULL);" as fn

* add some more tests to getcommands.js to verify commands:
	check filename of command
	check fn called
some more fixes to documentation commands as result from above tests
1.18.172
2025-09-09 21:53:07 +02:00