Commit Graph

591 Commits

Author SHA1 Message Date
061a4203c2 remove conditiinal from flag names so future parsing mechanism can work 2023-03-05 22:29:34 +01:00
9346b55f4d TM1637 display driver p2 2023-03-03 16:16:11 +01:00
68f6e7b08b fast wifi connect option - not very tested, enable in flags 2023-02-28 23:24:45 +01:00
ec2f85810b better color picker for browsers? 2023-02-27 08:56:59 +01:00
1b1f1a14cc anroid browser color picker fix 2023-02-26 23:32:01 +01:00
55022a1a54 Changing behaviour of battery driver (#697)
To provide Zero configuration for End User :
  - 2 new pins BAT_ADC and BAT_Relay
  - Autostart of driver if pins associated
  - change vdivider default value to 2.29 Seems like default for 2AA battery sensor
2023-02-26 16:42:40 +01:00
ebd7c309c9 Correct Float for SHT. (#696)
* Correct Float for SHT.

* adding flag to deactivate autostart for driver

* Correct Float issue on bl602

* Typo error on SHT3X Driver
2023-02-26 12:08:30 +01:00
caa8357b9d allow special indices for flash memory channel access; fix obk disable drivers 2023-02-25 11:38:19 +01:00
e2251b0ed3 door sensor should not post availbility topic because it goes to sleep most of the time (for HA discovery) 2023-02-25 10:21:29 +01:00
df7d1878f6 shorter role name - it was breaking app CSS! 2023-02-24 18:45:33 +01:00
4265f67303 deep sleep door sensor driver? 2023-02-24 15:09:15 +01:00
a27df7b6c6 json replies and self test for cfg commansd 2023-02-23 20:51:54 +01:00
7089a3e88e Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2023-02-22 15:19:25 +01:00
d6db57c577 smart ledd button 2023-02-22 15:18:01 +01:00
993cd60c90 [HASS] Adding Battery driver discovery ang sensor avty flag (#685)
* Adding Battery driver discovery
Adding Flag for sensor avaibility publish

* correct hass.h

* correct call for other platform than beken

* Change Typo availability and Battery for driver

* Forget the pin description
2023-02-22 09:14:17 +01:00
c4d7b7131f rest interface for channe ltypes 2023-02-20 17:03:52 +01:00
33156e0eac basecolor_rgb interface 2023-02-19 20:50:50 +01:00
69279fb31d missing color call 2023-02-19 19:24:55 +01:00
f346c6169e flag for adding relays as lights in hA discovery 2023-02-19 17:10:07 +01:00
72e6fec1e3 plug obk-specific commands to the interface 2023-02-19 12:05:32 +01:00
30f818a2e3 Web App will always now print automatically command result, because few commands missed confirmation and were confusing users 2023-02-18 15:08:39 +01:00
b7f7beb049 Accept empty startup command (#672)
* Accept empty startup command

* Fix to clear only on submit
2023-02-15 20:22:09 +01:00
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
d2b85c4166 use channel labels when possible 2023-02-12 20:31:00 +01:00
a587d47bd9 Consolidated some code, removed white spaces (#659) 2023-02-10 16:18:49 +01:00
f119554969 misc fixes, snprintf, cmd gen 2023-02-10 15:03:27 +01:00
3c447fe2c2 rename LFS define to keep consistent naming convension, move LFS test commands to test commands file, clear up obk config h 2023-02-10 11:40:36 +01:00
e0589fcb4d remove debug log, merge common code 2023-02-09 21:52:15 +01:00
eab52f1d12 cmd test, remove old stub, prepare for 2023-02-08 14:53:31 +01:00
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
82d56fc649 fix compilation for new platforms 2023-02-06 19:01:09 +01:00
00cefb7ee6 display event/hanlers counts on gui (if any present), bl note mac 2023-02-06 12:35:10 +01:00
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
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
7a01b755d4 Add OffDimBright channel type (#645) 2023-02-01 16:15:55 +01:00
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
6ac2d75868 http page add cmds link 2023-01-30 22:54:42 +01:00
cd1853aa13 uart commandline - p1 2023-01-30 22:45:30 +01:00
e813d4379f HTML BUGFIX: what was double quotation mark doing in "Launch Web Application" button? 2023-01-26 11:44:29 +01:00
f8791a7c9a add ability to hide certain channels from HTTP panel by script 2023-01-26 11:43:51 +01:00
8b3278466d http page - set command will display channel alias and not an index 2023-01-26 09:49:24 +01:00
9b31e5008b automatic SENSOR broadcast 2023-01-25 10:53:38 +01:00
840339f675 sonoff iobroker support (FIRST MUST BE ENABLED IN FLAGS), tele sending 2023-01-24 19:26:16 +01:00
a9d86edf0d Tasmota aliases and JSON for CT and Dimmer with automatic self test 2023-01-24 04:14:24 +01:00
c1cbcb6cab better tasmota status support 2023-01-24 03:26:49 +01:00
bfd9a4dbbd some wemo progress based on the input from user - thx 2023-01-24 00:52:16 +01:00
c28f3fd4bf unfinished wemo 2023-01-23 16:35:24 +01:00
b553b83c8b move get_Relay_PWM_Count to better file 2023-01-23 14:31:58 +01:00
e2efe3710d update sub modules, fix build, fix some warnings 2023-01-23 14:15:52 +01:00
294c99cd81 better json interface also for MQTT - intiial version with self-test 2023-01-23 13:31:05 +01:00