Commit Graph

1634 Commits

Author SHA1 Message Date
openshwprojects
75fe36349c i2c merge part 2 - unfinished 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 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>
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.. 2023-02-09 22:09:55 +01:00
openshwprojects
760f37c196 remove unused led calls from drivers 2023-02-09 22:02:56 +01:00
openshwprojects
e0589fcb4d remove debug log, merge common code 2023-02-09 21:52:15 +01:00
openshwprojects
7469882b43 refactor command arguments checking to remove extra strings from flash memory 2023-02-09 17:55:22 +01:00
openshwprojects
c4e179229c allow 32 bit arguments in events 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 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>
2023-02-07 11:38:44 +01:00
openshwprojects
82d56fc649 fix compilation for new platforms 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 2023-02-06 07:08:29 +01:00
openshwprojects
1ae9867128 OBK_FLAG_LED_USE_OLD_LINEAR_MODE fix 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 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 2023-02-05 17:59:12 +01:00
openshwprojects
7d9fa05eb7 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2023-02-04 17:45:40 +01:00
openshwprojects
04ed3e7355 enable deepsleep 2023-02-04 17:45:30 +01:00
openshwprojects
88900ba59f fix old day index bug? 2023-02-03 18:07:39 +01:00
openshwprojects
1b26c9a4b1 0xA0 ascii character for space clean fix 2023-02-03 10:58:02 +01:00
openshwprojects
0b62712e26 lfs commands for numbers, format fix, error print on lfs write fail, add debouncer stub, int lfs write self test 2023-02-02 09:56:53 +01:00
ianjanik
7a01b755d4 Add OffDimBright channel type (#645) 2023-02-01 16:15:55 +01:00
openshwprojects
d3b4d9c249 LED colour picker RGB now uses onblur instead of onchange so users can just come back to previous color easily 2023-01-31 22:30:26 +01:00
openshwprojects
7619f70234 dgr mistake fix - test 2023-01-31 21:39:47 +01:00
openshwprojects
2b1f24bb6c fix compilation on not yet cmdline-supported platforms 2023-01-30 23:13:03 +01:00
openshwprojects
0bba491005 cm fix 2023-01-30 23:00:50 +01:00
openshwprojects
6ac2d75868 http page add cmds link 2023-01-30 22:54:42 +01:00
openshwprojects
cd1853aa13 uart commandline - p1 2023-01-30 22:45:30 +01:00
openshwprojects
a38462cc9d fix potential space problem in math parser 2023-01-29 13:19:45 +01:00
openshwprojects
febf7966e8 math parser: fix order of operations... 2023-01-29 11:36:49 +01:00
openshwprojects
01c5f82c80 change internal dimmer handling to match Tasmota in order to avoid floating point issues 2023-01-29 04:58:51 +01:00
openshwprojects
8797c059e5 add self test for LED dimmer/tempetarure changes 2023-01-29 04:58:23 +01:00
openshwprojects
b6818e9556 math expression parser now supports correct operation order (with self test - partial?) 2023-01-28 20:16:24 +01:00
openshwprojects
016b484363 add 'toggle all' self test for a user 2023-01-28 18:13:11 +01:00
Dheenhasty
d36be37150 adding 3 command SetupSHT3X to calibrate sensor and Battery_measure (#625)
* adding 3 command SetupSHT3X to calibrate sensor and Battery_measure to publish Voltage and percentage to mqtt
2023-01-26 18:08:40 +01:00
openshwprojects
3cec4358ac add another scripting demo in a form of self test for a user (fan demo with 3 relays and toggle and speed buttons) 2023-01-26 13:00:02 +01:00
openshwprojects
ec28bd519b let autoexec skip comments correctly 2023-01-26 12:59:05 +01:00
openshwprojects
e813d4379f HTML BUGFIX: what was double quotation mark doing in "Launch Web Application" button? 2023-01-26 11:44:29 +01:00
openshwprojects
f8791a7c9a add ability to hide certain channels from HTTP panel by script 2023-01-26 11:43:51 +01:00
openshwprojects
5cda947a20 addChannel command can now have specified wrap or clamp mode after min and max 2023-01-26 10:48:58 +01:00
openshwprojects
61636cc74c http buttons - print action label instead of idnex, add failed malloc check 2023-01-26 10:34:44 +01:00
openshwprojects
8b3278466d http page - set command will display channel alias and not an index 2023-01-26 09:49:24 +01:00
openshwprojects
1d4940e603 frequent sensor -test 2023-01-25 13:45:17 +01:00
openshwprojects
67a1e65b6e more frequent tele? will be customizable. also win32 mqtt save packet 2023-01-25 12:48:51 +01:00
openshwprojects
9b31e5008b automatic SENSOR broadcast 2023-01-25 10:53:38 +01:00
openshwprojects
2105868c85 finish wemo 2023-01-25 09:05:54 +01:00
openshwprojects
0003de3970 wemo fix 2023-01-24 21:02:27 +01:00