Commit Graph

877 Commits

Author SHA1 Message Date
Tester23
e5c407eb1b print mcu conf pins 2024-11-28 23:17:43 +01:00
XJ
e99ff0c151 UART RingBuffer overflow and reported size fix (#1436) 2024-11-27 01:05:16 +01:00
Tester23
ec7ae26fc1 correct functiopn name frm prev commit 2024-11-25 22:05:11 +01:00
Tester23
8c0bafc062 TuyaMCU: add missing heartbeats event so we can reset cpu or take action when something is wrong, sample script: addChangeHandler MissedHeartbeats > 4 setChannel 0 1 2024-11-25 22:03:59 +01:00
openshwprojects
d450bf7a62 larger tuya buffer 2024-11-24 21:11:46 +01:00
NonPIayerCharacter
c50515603a ESP32 support (#1344)
* esp-idf

* fix, add s2, s3

* fix + ci

* fix naming

* ota

* adc

* reboot reason

* wdt + uart

* dht + ds1820

* fix esp32

* pwm

* uart hack

* fix build

* charts

* increase stack size

* tests

* fix timer

* optimize

* further c2 optimization

* gpio test, wifi reconnect fix

* gpio test

* Revert ledc freq

* cht83xx, increase inttemp stack size

* fix

* S3 fix, enable sht3x, pwm freq selection

* gpio & i2c fix attempt

* s2 fix

* Update defines for DHT

* Update sdk

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2024-11-06 14:47:22 +01:00
MaxineMuster
9336ad3f73 Changed chart redrawing to "update()" (#1389)
* Changed chart redrawing to "update()" to avoid refocussing on chart on destroy and new ...
Changed obk_config.h to build with chart driver (otherwise you couldn't test the builds)

* Try to avoid possibility to set data outside defined boundaries

* Fix CMD_Chart_Add (loops from 1 not from 0)

* Debug

* More debug

* Debug

* Nicer output

* fix typo

* Fix output in case of error

* Fixed missing newline in DEBUG message

* Update obk_config.h

* Update obk_config.h

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2024-10-19 08:11:31 +02:00
Lenart Kos
ad816b77ee Improve DS1820 driver (#1382)
* feat: Improve DS1820 driver

New features:
* Handle all types of DS1820 tempature sensors by detecting the family of the sensor and calculating the temperature accordingly
* Clean up some log prints
* Set the channel value with current temperature
* Set the period of the conversion interval with an optional first parameter
* Start the conversion instantly and not wait for multiple of the conversion period

* rework: Change DS1820 logging to be more consistent

- Output logging to `LOG_FEATURE_SENSOR` and not `CFG` as it would be expected
- Created a macro `DS1820_LOG` to simplify logging statements.
- Use the macro in various places throughout the driver

* refactor: Remove unused crc code and improve DS1820 logging

Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com>

---------

Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com>
2024-10-17 06:06:39 +02:00
Tester23
462325fa9b tuyamcu test and note 2024-10-11 23:16:19 +02:00
Tester23
8b4fd1e758 httpbuttons null risk fix 2024-10-10 13:29:42 +02:00
Tester23
0090d93537 remove httpButton command len limitation 2024-10-10 10:15:50 +02:00
Tester23
d4dbcb10d5 add missing flag OBK_FLAG_LED_AUTOENABLE_ON_ANY_ACTION for PixelAnim 2024-10-09 21:45:39 +02:00
Tester23
ac12cf65d1 add missing tuyaMcu_sendCmd desc 2024-10-08 08:47:33 +02:00
ehorvat1
52efa43e4b Fix issue #1375 and #1376 (#1377)
* Fix issue #1376

Fix issue #1376 .....wrong time in charts when using NTP with an offset

* Update drv_charts.c  Issue #1375

For issue #1375: add a default color to improve readability (applies to: dataset names, axis ticks, color for axes title, (use color: '#099')

* Update drv_charts.c

Add a chart title

* Update obk_config.h

Set ENABLE_DRIVER_CHARTS = 1 also for Beken Devices

* Update http_fns.c

Add charts to About page

* Update obk_config.h

File just cloned from openshwprojects/OpenBK7231T_App

* Revert "Update obk_config.h"

This reverts commit b83c7db2ea.

* Revert "Update obk_config.h"

This reverts commit 7b7d979667.

* Revert "Update http_fns.c"

This reverts commit d81e4b3db8.

* Revert "Update drv_charts.c"

This reverts commit c5d122994a.
2024-10-03 22:07:46 +02:00
Tester23
1dfd42f1b3 parse 0x22 data 2024-10-01 21:48:05 +02:00
MaxineMuster
8cf98cfa1e nges to charts without changes to obk_config (#1364) 2024-09-29 07:49:24 +02:00
Tester23
400e48f242 fix warnings p2 2024-09-27 18:10:44 +02:00
Tester
266954ac30 remove old test code 2024-09-23 08:35:34 +02:00
Tester
239eb39fe7 silence dht 2024-09-22 22:50:49 +02:00
Tester
d8ccf4e9b1 Simulator: DHT object, read temperature/humidity from DH11 object 2024-09-22 19:27:40 +02:00
Tester23
5fb7f753d4 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2024-09-21 20:25:06 +02:00
Tester23
5727f003e2 some doc text 2024-09-21 20:13:16 +02:00
Tester
04e51e286a fix silly mistake 2024-09-17 22:08:33 +02:00
Tester
c97c74bd77 Tuyamcu 0x22 reply stub (without dp parse) 2024-09-17 19:28:58 +02:00
Tester23
831b896650 refresh docs 2024-09-14 02:50:50 +02:00
Tester23
a0c54813a5 Charts - add no axes/vars check 2024-09-13 10:59:34 +02:00
Tester23
f05225066e in case that mallooc fails 2024-09-13 10:40:19 +02:00
Tester23
b955a1996b better fx 2024-09-13 10:25:24 +02:00
Tester23
b8f07fd21b a bit more crash-proof charts 2024-09-13 10:23:31 +02:00
Tester23
39961c067b Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2024-09-13 09:38:51 +02:00
Tester23
25579f5795 add null checks and correct sample 2024-09-13 09:38:44 +02:00
h3ndrik
6ca37efc7d dont write twice to LEDs (#1326) 2024-09-12 17:07:07 +02:00
Tester23
5583cac32f allow setting index refresh interval 2024-09-11 14:36:53 +02:00
Tester23
f3b3b8eca8 BL602 compile fix (missing header) 2024-09-11 12:41:18 +02:00
Tester23
31ee5a2be0 add random numbers sample to charts 2024-09-11 12:39:06 +02:00
Tester23
ad5638fe9a add charts sample 2024-09-11 11:06:14 +02:00
Tester23
7c068cab81 Update drv_charts.c 2024-09-11 11:02:39 +02:00
Tester23
38965fc57d ENABLE_DRIVER_CHARTS 2024-09-11 10:53:09 +02:00
Tester23
53b21eab74 first charts that are really working? 2024-09-11 10:32:30 +02:00
Tester23
5c65e1dc44 chart commands - not tested 2024-09-11 00:21:33 +02:00
Tester23
c4f54f6409 better charts ieda 2024-09-10 22:07:53 +02:00
Tester23
01e520b074 charts checkpoint before rewirte 2024-09-10 21:30:15 +02:00
Tester23
6594d4499b add math.h include 2024-09-09 12:16:00 +02:00
Tester23
3cb90b1d72 pwm|Toggler allow smooth transtiinons 2024-09-08 16:03:43 +02:00
Tester23
4695fe9da6 test separate humidity/temp 2024-09-06 12:24:05 +02:00
Tester23
02d2d9b476 try two data ars 2024-09-06 12:15:33 +02:00
Tester23
d8c90ddd97 label change for charts 2024-09-06 12:06:45 +02:00
Tester23
c6057abf3b charts driver part 1 2024-09-06 10:57:48 +02:00
Tester23
0b6889d976 try creating charts from array 2024-09-06 10:33:24 +02:00
Tester23
b206f94924 charts test code 2024-09-05 22:15:03 +02:00