Commit Graph

824 Commits

Author SHA1 Message Date
openshwprojects
f5e245a75f adc button (multiple buttons on adc) driver 2023-04-14 21:57:32 +02:00
openshwprojects
7c02873007 OBK_FLAG_POWER_FORCE_ZERO_IF_RELAYS_OPEN 2023-04-14 09:28:55 +02:00
Dheenhasty
28556c06c7 Adding SGP Air Sensor I2C Driver (#769)
* Adding new driver for SGP30

* correct tasmota detection for SGP

* Correct mqtt publish

* Adding dependency in drv_tuyaMCU for bl0602
2023-04-14 08:37:12 +02:00
openshwprojects
9adb991274 uart fake hex can now take hex with spaces, also fix warning 2023-04-13 10:23:48 +02:00
openshwprojects
0541402e6d Ch command for easier channel JSON access 2023-04-13 09:08:41 +02:00
openshwprojects
99438ea05f for a test - door sensor pin with pull down? 2023-04-11 21:03:03 +02:00
openshwprojects
c67144a3ea add missing power factor 2023-04-11 08:54:18 +02:00
openshwprojects
424e247773 typo fix 2023-04-10 22:40:10 +02:00
openshwprojects
2d8600687b add missing json variables for power metering 2023-04-10 20:51:59 +02:00
openshwprojects
fc863eb38a better html main page for case where we have both multiple relays and sensors 2023-04-10 10:13:54 +02:00
openshwprojects
28fb27b97f missing two pwms on single channel fx 2023-04-07 18:07:17 +02:00
openshwprojects
568c7fdbf1 fix pwm count to count multiple pwms on single channel as one, so we can allow users to turn, for example, rgb led controller strip into high power triple output single color controller 2023-04-06 12:44:30 +02:00
openshwprojects
e5416d83a9 add requested BL0937_SEL_n - inverted SEL 2023-04-02 11:18:44 +02:00
openshwprojects
677526967a add my MAX72XX clock driver 2023-04-02 10:05:19 +02:00
openshwprojects
122946539b FIX missing uptime feormat 2023-04-01 19:00:30 +02:00
openshwprojects
947d4ab6e0 make ntp time variable public 2023-04-01 08:37:13 +02:00
openshwprojects
141af2f514 remove old quickconfig 2023-03-26 15:40:55 +02:00
openshwprojects
c7de3c7b28 optimizing strings - p1 2023-03-26 15:24:38 +02:00
openshwprojects
6ab48bc40c no real code changes, remove commented out legacy templates 2023-03-23 09:08:32 +01:00
openshwprojects
a858cd3b62 misc fixes for dht field, dht warning, compilation, formatting 2023-03-20 17:34:58 +01:00
openshwprojects
653e3cd102 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2023-03-18 17:20:01 +01:00
openshwprojects
52566ee6fb expose flags and short comman 2023-03-18 17:19:52 +01:00
Dheenhasty
b3d6d90e61 Tasmota Json correction for TasmotaAdmin (#737)
* Correct bug on TasmotaAdmin
When no relay and no led.

* test

* Correct preffix typo
2023-03-18 09:48:49 +01:00
openshwprojects
d71188c5e7 warning fix 2023-03-17 16:38:35 +01:00
openshwprojects
1e508c064d led_map interface, allow getting command results in old post command api 2023-03-17 15:24:07 +01:00
ekobres
137c815dfb HASS Discovery for color temperature range. (#736)
* Add Color Temperature Range to HASS Discovery.

Add min_mireds and max_mireds to lights with color temperature capability.

* Update hass.h

* Debug logging.

* mireds as int rather than float.

* Removed debug logging.
2023-03-17 12:58:34 +01:00
openshwprojects
5995ed160c ability to hide the 'toggle' prefix from button names, also selft test fix 2023-03-15 11:03:32 +01:00
tjkolev
7e68cc0747 Clarification text for the pin mapping configuration. (#694)
As a first time user I found the help text somewhat confusing. This is
a suggestion to clarify things a bit.
* Dropped the reference to "textfield" as this is implementation specific.
One day it could be one of those numeric up/down spinner controls.
And I am not sure one can enter text value when index is expected to be
numeric. Unless there's support to enter variables...
* Added a reference to the dropdown field, as this is what I see as
"the first" field one needs to set. And it is a text value. The previous
reference "first textfield" was actually referring to the second numeric
field.

It would also be nice to link "role" to a documentation about what all
these values mean. I could not find one. I don't know most of them and
how are they used. I just took a guess.

tjk :)
2023-03-13 10:37:52 +01:00
Dheenhasty
78965377a2 Correct issue with discovery (#721)
* Correct issue with discovery

* Forget declaration for bl0602
2023-03-11 18:03:54 +01:00
openshwprojects
d47aae3f99 add ability to change mired range 2023-03-09 03:27:30 +01:00
Dheenhasty
81f981cba0 Adding Tasmota mecanism for Sensor (#701)
* Adding Tasmota mecanism for Sensor

* Correct for BL0602

* Correct issue on value.
Adding SensorRetain.

* Adding dummy statestext and prefix for tasmoadmin

* Adding more dynamic parameter to tasmota.
AP, Uptime, Start time (rely on ntp), battery and vcc, prefix mqtt

* RSSI calculation for tasmota

* Correct compile for nonbeken chip

* correct W600 build

* correct lastreading call

* Trying to force battery_lastreading for other chip

* force to For Beken only

* correct declaration

* Update drv_battery.h

Correct comment

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2023-03-08 08:42:38 +01:00
openshwprojects
8741e40799 add missing condition for HA discovery for 4 PWM with white emulation 2023-03-08 02:17:00 +01:00
openshwprojects
61bfbfe2ec two more channel types for fans 2023-03-06 15:39:16 +01:00
openshwprojects
061a4203c2 remove conditiinal from flag names so future parsing mechanism can work 2023-03-05 22:29:34 +01:00
openshwprojects
9346b55f4d TM1637 display driver p2 2023-03-03 16:16:11 +01:00
openshwprojects
68f6e7b08b fast wifi connect option - not very tested, enable in flags 2023-02-28 23:24:45 +01:00
openshwprojects
ec2f85810b better color picker for browsers? 2023-02-27 08:56:59 +01:00
openshwprojects
1b1f1a14cc anroid browser color picker fix 2023-02-26 23:32:01 +01:00
Dheenhasty
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
Dheenhasty
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
openshwprojects
caa8357b9d allow special indices for flash memory channel access; fix obk disable drivers 2023-02-25 11:38:19 +01:00
openshwprojects
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
openshwprojects
df7d1878f6 shorter role name - it was breaking app CSS! 2023-02-24 18:45:33 +01:00
openshwprojects
4265f67303 deep sleep door sensor driver? 2023-02-24 15:09:15 +01:00
openshwprojects
a27df7b6c6 json replies and self test for cfg commansd 2023-02-23 20:51:54 +01:00
openshwprojects
7089a3e88e Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2023-02-22 15:19:25 +01:00
openshwprojects
d6db57c577 smart ledd button 2023-02-22 15:18:01 +01:00
Dheenhasty
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
openshwprojects
c4d7b7131f rest interface for channe ltypes 2023-02-20 17:03:52 +01:00
openshwprojects
33156e0eac basecolor_rgb interface 2023-02-19 20:50:50 +01:00