Commit Graph

471 Commits

Author SHA1 Message Date
9acb13af35 Add channel label to dimmer (#1329) 2024-08-24 00:07:40 +02:00
989ac1eb46 Add flag to hide ON / OFF values on GUI (showing only green / red buttons) for relays (#1327) 2024-08-23 16:14:07 +02:00
d950a9d96b clarity, grammar, consistency changes (#1317) 2024-08-19 17:11:25 +02:00
1b2fc53f7d grammar and missing colon (#1318) 2024-08-19 17:10:37 +02:00
27e0189875 spelling (#1319) 2024-08-19 17:10:17 +02:00
e1f8e59e13 simple IR2 driver for sending captures from flipper zero
* test

* Update drv_ir2.c

* fx

* fx

* fx

* qq

* test3

* tok

* test duty

* fx

* hdr

* fx

* fx

* tr

* n header

* tr

* tr

* fx

* fx

* test

* tr

tr

* fx

* simpler

* fx

* test

* fx

* dbg

* tr

* tr

* fx

* fx

* fx

* tr

* fx

* pin select

* fx

* fx

* Update drv_ir2.c

* Update drv_ir2.c

* try

* Update drv_ir2.c

* Update drv_ir2.c

* fx

* Update drv_ir2.c

* args len

* http_fn_cmd_tool: len

* better buffer handling

* try lager buffer

* clear

* Update drv_ir2.c

* long packet self tests

* Update drv_ir2.c

* Update drv_ir2.c

* alternate alias

* Queue size

* fx

* fx

* disable

* sample
2024-07-06 00:42:25 +02:00
9423561ca0 Add water quality PH Type (#1283)
* Update new_pins.h

* Update new_pins.h

* Update new_pins.c

* Update hass.c

* Update http_fns.c

* Update hass.h

* Update new_pins.c

* Update new_pins.h

* Update new_pins.c

* Update http_fns.c

* Orp Channel Type

* Add Orp Channel Title

* Bugfix Case Type

* TDS Water Quality Type

* tds change channelname

* Add Tds Pin
2024-07-04 18:30:31 +02:00
22dec3702f add requested readonly types 2024-06-30 14:00:30 +02:00
46964bd2fd copy/paste bugfix 2024-06-24 11:31:26 +02:00
b7e182abdd correct warning 2024-06-24 11:17:19 +02:00
f910f743c8 rewrite enum handling 2024-06-24 11:14:07 +02:00
9d651f15a8 merge lowmidhigh 2024-06-24 11:01:43 +02:00
a70bd96ee1 display readonlylowmidhigh 2024-06-20 00:26:44 +02:00
2c6686e8ac Publish IP and SSID to Home Assistant (#1262) 2024-06-14 08:34:02 +02:00
0ea29bb7b4 BL602: WiFi AP Scan (#1269) 2024-06-12 23:57:51 +02:00
aae07cf27b simple addition to allow clear text passwords for WiFi (#1245) 2024-06-11 11:06:55 +02:00
768ea19ea8 pixelanim - allow RGB IC + PWM CW combo 2024-05-31 15:48:47 +02:00
e609f37264 Publish internal temperature to Home Assistant (#1243) 2024-05-20 00:49:45 +02:00
5b737ca90b Fix possible wrong index / shorten JS code (#1238)
* extend pin cfg page:
introduce a function te get number of channels for an IO role
in JS code generate all elements, but hide and disable unused fields. This way the should not count for POST action

* Fix for possible wrong index when pin can't be PWM
shorten code

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2024-05-14 21:07:04 +02:00
c11a8d1e55 allow disabling Tasmota JSON API (#1236)
* allow disabling Tasmota JSON API

* test enable
2024-05-14 11:53:26 +02:00
6648537db4 extend pin cfg page: (#1228)
introduce a function te get number of channels for an IO role
in JS code generate all elements, but hide and disable unused fields. This way the should not count for POST action
2024-05-13 14:01:29 +02:00
5dd30c66ad pins page is now down to 8kb (was 90kb, then 10kb) 2024-05-11 15:25:18 +02:00
8cad88ab5e filter 2024-05-11 14:29:33 +02:00
b3db6df997 optimized pins page? - part 1 2024-05-11 13:46:01 +02:00
6d58d85bc7 second fix for channel type priority 2024-05-07 16:55:08 +02:00
47c4f4e3b3 self test for motion 2024-05-07 12:59:36 +02:00
44b0d7c5ef add Motion channeltype 2024-05-07 12:39:05 +02:00
19345af307 fix typo pointed by Wolfieee 2024-05-06 08:34:51 +02:00
726cf19146 respect OBK_DISABLE_ALL_DRIVERS 2024-05-05 11:09:12 +02:00
fb9b7a608d pixelanim speed p1, reorganize 2024-05-04 12:48:58 +02:00
7be9bf6601 hide CW bar fdr SM16703P 2024-05-04 10:06:55 +02:00
d98350235e pixelanim (#1192)
* px

* it animates

* h

* bridge per pixel to LED driver

* link to led driver

* fire

* fixes

* tr
2024-05-01 16:15:58 +02:00
9b85615336 add requestest flag for ac dir 2024-04-21 10:16:32 +02:00
f5e2a50ba5 allow auto creation of tuya dpid storage 2024-04-20 23:03:56 +02:00
aec5dfaf29 Fix index page performance for LN882H (#1180) 2024-04-14 19:43:06 +02:00
355b856f50 update supported chips list on OBK about page + more modules to release info (#1171)
* update supported chips list on OBK about page

* forgot Belon

* correct spelling in drv_bp1658cj.h

in comments only

* update release notice supported chips and modules

* add BL602 modules

* add w600 module

* add more modules
2024-04-08 11:49:09 +02:00
52aba73a5f reboot reason (#1154) 2024-03-28 16:22:02 +01:00
9987e685e9 Hass discovery (#1122)
* HASS discovery energy stats fixed except energycounter_clear_date

* HASS: add friendly entity names, remove timestamp class from energycounter_clear_date as workaround for hass-incompatible date format

* HA energycounter_clear_date fixed for correct interpreting as home assistant timestamp sensor

* refactor HA power sensors discovery info

* refactor HA power sensors discovery more

* add apparent power, reactive power, power factor to mqtt + hass discovery, refactor some vars into new energy_sensors[] struct

* amend hass sensor unique_ids due to mqtt topic/channel too long; 'Error:MQTT:Unable to queue! Topic (13), channel (66) or value (437) exceeds size limit'

* hass sensors: add 'energy 2 days ago', 'energy 3 days ago', 'uptime'
web UI: energy sensors apply their rounding setting
drv_bl_shared.c: add enum for daily_stats[], put rearrange energy_sensor[] struct to expose only names via DRV_GetEnergySensorNames()

* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui

* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui

* Update settings.json

ignore vscode settings...

* Update settings.json

* Update settings.json

* minor fix

* fix OBK_CONSUMPTION_LAST_HOUR missing from mqtt

* HASS entity names use channel labels when set, hass discovery excludes unpublished entities (i.e. those set via SetChannelPrivate), hass discovery firmware build info added to diagnostic section, energy sensor discovery bugfix re clear-date

* update submodule sdk

* Fix ch0 label wrongly applied to diagnostic sensors

* update docs

---------

Co-authored-by: Stefan Smith <stefan064>
2024-03-23 17:56:44 +01:00
deb61620e7 remove warning 2024-03-14 15:11:05 +01:00
a9f702ab06 Temperature var (#1127)
* s

* Update cmd_if.c

* header

* bl602 fix
2024-03-12 23:39:29 +01:00
2d6f4e61ca g_rebootReason (#1121)
* g_rebootReason

* fx
2024-03-10 00:09:30 +01:00
e833f80494 new reboot reasons 2024-03-09 22:33:25 +01:00
d02008b7ca MAIN page item added to HTML footer. (#1115) 2024-03-08 00:12:26 +01:00
29cc2cc323 Add energy sensors to MQTT + HA discovery for active power, reactive power, power factor (#1102)
* HASS discovery energy stats fixed except energycounter_clear_date

* HASS: add friendly entity names, remove timestamp class from energycounter_clear_date as workaround for hass-incompatible date format

* HA energycounter_clear_date fixed for correct interpreting as home assistant timestamp sensor

* refactor HA power sensors discovery info

* refactor HA power sensors discovery more

* add apparent power, reactive power, power factor to mqtt + hass discovery, refactor some vars into new energy_sensors[] struct

* amend hass sensor unique_ids due to mqtt topic/channel too long; 'Error:MQTT:Unable to queue! Topic (13), channel (66) or value (437) exceeds size limit'

* hass sensors: add 'energy 2 days ago', 'energy 3 days ago', 'uptime'
web UI: energy sensors apply their rounding setting
drv_bl_shared.c: add enum for daily_stats[], put rearrange energy_sensor[] struct to expose only names via DRV_GetEnergySensorNames()

* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui

* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui

* Update settings.json

ignore vscode settings...

* Update settings.json

* Update settings.json

* minor fix

* fix OBK_CONSUMPTION_LAST_HOUR missing from mqtt

---------

Co-authored-by: Stefan Smith <stefan064>
2024-03-02 07:55:01 +01:00
a1decd3427 Add temperature to BL602 (#1067)
Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2024-02-09 14:32:02 +01:00
cedc4be125 Make temperature readable (#1066) 2024-02-09 14:28:38 +01:00
729320258f Add internal temperature for Beken chipd (#1065)
* Add internal temperature for Beken chipd

* Don't fetch temperature in safe mode
2024-02-06 08:20:04 +01:00
20abe81b0b Implement reboot reason for BL602 (#1053)
* Implement RSSI for BL602 (#5)

Adds RSSI for BL602, looks ok, reports similar to what BK7231N reports in the same place

* Update http_fns.c

* Update http_fns.c
2024-01-31 17:55:54 +01:00
55e2a66f7d Tuyamcu raw access (#1048)
* working/?

* winnermicro fix

* ENABLE_DRIVER_TUYAMCU fx

* some fixes, some unfiished

* extra check
2024-01-24 11:18:29 +01:00
5f7ab71721 quick hack to display LN temperature 2024-01-21 17:08:20 +01:00