4012 Commits

Author SHA1 Message Date
Tester23
95b02ee83a tttttttttttttttt 2025-10-10 19:51:30 +02:00
Tester23
f17e28bdbe fx 2025-10-10 19:43:26 +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
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