Commit Graph

2199 Commits

Author SHA1 Message Date
openshwprojects
6ea76ea7e8 remove not needed func decl from PR 2023-02-15 09:24:47 +01:00
Dheenhasty
d11a24b809 Deepsleep (#669)
* math expression parser now supports correct operation order (with self test - partial?)

* Correct issue with Read battery (to rely on Relay)
 And detect if device on batery based on ADC default value.

Correct Issue with DeepSleep. (return misplaced. )

* correct branch

* Adding HAL reference

* Error on Hal reference

* Bad Typo

* Adding gpio for bk7231N (need SDK merge before)

---------

Co-authored-by: openshwprojects <openshwprojects@gmail.com>
2023-02-15 09:22:23 +01:00
openshwprojects
fc119cc440 update submodules 1.15.448 2023-02-15 09:11:53 +01:00
openshwprojects
c1a186aa0b Update drv_cse7766.c 1.15.447 2023-02-14 18:56:56 +01:00
openshwprojects
9095b2f0b9 IMPORTANT all led remaps are now saved automatically in flash.. 1.15.446 2023-02-14 02:22:01 +01:00
openshwprojects
8c391dbb7a include new driver on windows, define tick for windows 1.15.445 2023-02-13 18:27:22 +01:00
openshwprojects
858dc075d3 remove v1 config migration (it was about a year ago?) 1.15.444 2023-02-13 18:20:20 +01:00
openshwprojects
150d2c3c45 rename: BridgeDRV -> Bridge (every driver is a driver, so adding such suffix just confuses people) 1.15.443 2023-02-13 13:57:10 +01:00
valeklubomir
263a3df18a Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT (#662)
* Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT

* W600/W800 logging bug fix

* EnergyMetering
- negative values correction.
- Enenrgy metering must continue with high precission values can not be skipped.
  In case of negative values zero value must be used for calculation
  Energy is calculated as power/time. Timing calculation is measured between sampels.
  If skipping samples, timing calculation it then incorrect as well as energy calculation

* Logical filterring and correction for peaks in measuremed values.

---------

Co-authored-by: valeklubomir <valeklubomir@gmail.com>
2023-02-13 13:07:34 +01:00
openshwprojects
0cb1a05641 support slashes in topics - fix 1.15.442 2023-02-13 12:29:39 +01:00
Indu Prakash
2dbe640ff8 Remove oneshotconfig (#661) 1.15.441 2023-02-13 09:50:29 +01:00
openshwprojects
30492c7742 modules 2023-02-13 09:50:01 +01:00
openshwprojects
d2b85c4166 use channel labels when possible 1.15.440 2023-02-12 20:31:00 +01:00
openshwprojects
61ccdebf31 mqtt demo for change handlers 1.15.439 2023-02-12 09:06:51 +01:00
openshwprojects
f685a5f7e6 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.15.438 2023-02-12 08:56:06 +01:00
openshwprojects
0d714e90a9 unfinished self test 2023-02-12 08:55:58 +01:00
openshwprojects
b4ff7568b3 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.15.437 2023-02-12 08:47:50 +01:00
openshwprojects
f3ff7d171d update sdks 2023-02-12 08:47:39 +01:00
openshwprojects
72a10ce2c6 DEFAULT_BOOT_SUCCESS_TIME reduced to 5 because it was way too long 1.15.436 2023-02-11 16:12:43 +01:00
openshwprojects
70a8f5a4db refactor: second arg for cmds were never used 1.15.435 2023-02-10 20:39:06 +01:00
Indu Prakash
a587d47bd9 Consolidated some code, removed white spaces (#659) 1.15.434 2023-02-10 16:18:49 +01:00
openshwprojects
f119554969 misc fixes, snprintf, cmd gen 2023-02-10 15:03:27 +01:00
openshwprojects
3d0e3cd908 clearing up - remove unused "description" field from console commands - we are not storing descriptions in device memory now 1.15.433 2023-02-10 14:36:34 +01:00
openshwprojects
44598d0df5 update commansd 1.15.432 2023-02-10 13:37:18 +01:00
openshwprojects
025aa207c8 led driver i2c write is now a common function, misc clearup changes, also removed newline chars from function that doesnt need them (they are ignored anyway), p1 1.15.431 2023-02-10 13:06:54 +01:00
openshwprojects
a1d1f1397e refactor part next - made RGBCW remap function common, not a final version, more coming soon 1.15.430 2023-02-10 12:25:59 +01:00
openshwprojects
3c447fe2c2 rename LFS define to keep consistent naming convension, move LFS test commands to test commands file, clear up obk config h 1.15.429 2023-02-10 11:40:36 +01:00
openshwprojects
c56effc8b4 move alias from test commands to main (test commands are dev only) 1.15.428 2023-02-10 10:18:45 +01:00
openshwprojects
d7d1a012dc console commans should have correct return value 1.15.427 2023-02-10 09:56:08 +01:00
openshwprojects
2d857065ab usre correct header for dheen PR 2023-02-10 09:52:24 +01:00
openshwprojects
75fe36349c i2c merge part 2 - unfinished 1.15.426 2023-02-09 23:35:28 +01:00
openshwprojects
75c1717930 I2C merge - part 1, this is not a final version, the clearer solution is o nthe way 1.15.425 2023-02-09 23:13:32 +01:00
Dheenhasty
184a64d252 Correct issue with Read battery (to rely on Relay) (#637)
* Correct issue with Read battery (to rely on Relay)
 And detect if device on batery based on ADC default value.

Correct Issue with DeepSleep. (return misplaced. )

* correct delay_ms declaration

* correct delay_ms

* Change Battery calcul method

* BL commit issue

* Correct Relay call and add correct handle of ADC

* Correct ADC Vref

* Update README.md

* add 'toggle all' self test for a user

* math expression parser now supports correct operation order (with self test - partial?)

* add self test for LED dimmer/tempetarure changes

* change internal dimmer handling to match Tasmota in order to avoid floating point issues

* math parser: fix order of operations...

* Update README.md

* fix potential space problem in math parser

* uart commandline - p1

* http page add cmds link

* cm fix

* fix compilation on not yet cmdline-supported platforms

* Update README.md

* Update README.md

* dgr mistake fix - test

* LED colour picker RGB now uses onblur instead of onchange so users can just come back to previous color easily

* Add OffDimBright channel type (#645)

* lfs commands for numbers, format fix, error print on lfs write fail, add debouncer stub, int lfs write self test

* 0xA0 ascii character for space clean fix

* fix old day index bug?

* Update README.md

* option for 3 arg events, access to pending timers count, the most basic shutter script unfinished draft test

* as per user request - option to ignore gamma ramper OBK_FLAG_LED_USE_OLD_LINEAR_MODE

* OBK_FLAG_LED_USE_OLD_LINEAR_MODE fix

* Correct issue with Read battery (to rely on Relay)
 And detect if device on batery based on ADC default value.

Correct Issue with DeepSleep. (return misplaced. )

* correct branch

* Remove delay as no more needed

* Adding HAL reference

* Error on Hal reference

* Bad Typo

* dgr clear restart

* display event/hanlers counts on gui (if any present), bl note mac

* fix compilation for new platforms

* Update README.md

* Add a flagged option to apply channel type multiplier (if any) when publishing MQTT value (#653)

* Add a flagged option to apply channel type multiplier (if any) when publishing MQTT value

* Update new_mqtt.c

changed float to double for more accuracy

---------

Co-authored-by: Rémi Serriere <Remi.Serriere@getyooz.com>

* cmd test, remove old stub, prepare for

* powersave can now take argument 0 to disable

* allow 32 bit arguments in events

* refactor command arguments checking to remove extra strings from flash memory

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
Co-authored-by: openshwprojects <openshwprojects@gmail.com>
Co-authored-by: ianjanik <80229631+ianjanik@users.noreply.github.com>
Co-authored-by: Remi Serriere <31062140+remiserriere@users.noreply.github.com>
Co-authored-by: Rémi Serriere <Remi.Serriere@getyooz.com>
1.15.424
2023-02-09 22:54:34 +01:00
openshwprojects
efd50cbbe2 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2023-02-09 22:10:29 +01:00
openshwprojects
bc2c8bcb85 pin deep sleep rename 2023-02-09 22:10:21 +01:00
openshwprojects
bad46a1275 only rename variables, before merge i2c chagnes.. 1.15.423 2023-02-09 22:09:55 +01:00
openshwprojects
760f37c196 remove unused led calls from drivers 1.15.422 2023-02-09 22:02:56 +01:00
openshwprojects
e0589fcb4d remove debug log, merge common code 1.15.421 2023-02-09 21:52:15 +01:00
openshwprojects
7469882b43 refactor command arguments checking to remove extra strings from flash memory 1.15.420 2023-02-09 17:55:22 +01:00
openshwprojects
c4e179229c allow 32 bit arguments in events 1.15.419 2023-02-09 13:15:55 +01:00
openshwprojects
8b72840619 powersave can now take argument 0 to disable 2023-02-09 13:11:11 +01:00
openshwprojects
eab52f1d12 cmd test, remove old stub, prepare for 1.15.418 2023-02-08 14:53:31 +01:00
Remi Serriere
3ff76c1c09 Add a flagged option to apply channel type multiplier (if any) when publishing MQTT value (#653)
* Add a flagged option to apply channel type multiplier (if any) when publishing MQTT value

* Update new_mqtt.c

changed float to double for more accuracy

---------

Co-authored-by: Rémi Serriere <Remi.Serriere@getyooz.com>
1.15.417
2023-02-07 11:38:44 +01:00
openshwprojects
012b2cfbca Update README.md 1.15.416 2023-02-07 09:32:53 +01:00
openshwprojects
82d56fc649 fix compilation for new platforms 1.15.415 2023-02-06 19:01:09 +01:00
openshwprojects
00cefb7ee6 display event/hanlers counts on gui (if any present), bl note mac 2023-02-06 12:35:10 +01:00
openshwprojects
49c5e58732 dgr clear restart 1.15.414 2023-02-06 07:08:29 +01:00
openshwprojects
1ae9867128 OBK_FLAG_LED_USE_OLD_LINEAR_MODE fix 1.15.413 2023-02-05 18:44:29 +01:00
openshwprojects
a700b9a434 as per user request - option to ignore gamma ramper OBK_FLAG_LED_USE_OLD_LINEAR_MODE 1.15.412 2023-02-05 18:08:19 +01:00
openshwprojects
a7dfbb0c00 option for 3 arg events, access to pending timers count, the most basic shutter script unfinished draft test 1.15.411 2023-02-05 17:59:12 +01:00