Commit Graph

334 Commits

Author SHA1 Message Date
openshwprojects
e0589fcb4d remove debug log, merge common code 2023-02-09 21:52:15 +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
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
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
cd1853aa13 uart commandline - p1 2023-01-30 22:45:30 +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
8b3278466d http page - set command will display channel alias and not an index 2023-01-26 09:49:24 +01:00
openshwprojects
840339f675 sonoff iobroker support (FIRST MUST BE ENABLED IN FLAGS), tele sending 2023-01-24 19:26:16 +01:00
openshwprojects
c1cbcb6cab better tasmota status support 2023-01-24 03:26:49 +01:00
openshwprojects
bfd9a4dbbd some wemo progress based on the input from user - thx 2023-01-24 00:52:16 +01:00
openshwprojects
b553b83c8b move get_Relay_PWM_Count to better file 2023-01-23 14:31:58 +01:00
openshwprojects
e2efe3710d update sub modules, fix build, fix some warnings 2023-01-23 14:15:52 +01:00
openshwprojects
294c99cd81 better json interface also for MQTT - intiial version with self-test 2023-01-23 13:31:05 +01:00
openshwprojects
0970ecd527 use new channel labels 2023-01-19 14:58:15 +01:00
openshwprojects
a5dd5abf10 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2023-01-16 13:57:23 +01:00
openshwprojects
18fae1fe0e HASS set pointer to NULL after free, also add cosnt correct 2023-01-16 13:56:46 +01:00
Dheenhasty
c24aaae4af Auto discovery activation for SHT and CHT Sensor (#612)
* Adding SHT3X Driver

* Adding HASS auto discovery for CHT and SHT sensor

* correct typo error

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2023-01-16 10:26:11 +01:00
openshwprojects
ddbf8e3ec0 broken mqtt discovery edge case fix? 2023-01-16 10:08:57 +01:00
Dheenhasty
d42c1652d6 Adding SHT3X Driver (#607)
Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2023-01-15 20:06:06 +01:00
Indu Prakash
5428f29393 Consolidate styles (#608)
* Moved repeated styles to css

* Updated startup section

* Fixed pin configuration message

* Fixed indentation
2023-01-15 15:55:34 +01:00
Indu Prakash
5b4bf0a630 Updating OTA status (#596)
* Updating OTA status

* Fixed build error
2023-01-15 15:39:17 +01:00
openshwprojects
3628066a2b empty dgr fix 2023-01-13 16:24:18 +01:00
openshwprojects
ec1a054508 CHT8305 driver - please test 2023-01-10 02:12:27 +01:00
openshwprojects
ad7cebefff displa float values on ui 2023-01-09 20:34:52 +01:00
Indu Prakash
174ab8dd1d DHT discovery (#590)
* Renamed enums,hass_init_sensor_device_info

* Added discovery for DHT sensors

* Fixed/simplified publish in discovery

* Handle 2nd channel for DHT

* Renamed feature DHT to SENSOR to be reusable

* Added missing :

* Minor optimization

* Fixed missing }
2023-01-09 10:06:58 +01:00
openshwprojects
edf16afd9b per user request - a flag - [NETIF] Use short device name as a hostname instead of a long name 2023-01-08 22:22:21 +01:00
openshwprojects
2e142d0463 adding flag per user request: [LED] Setting RGB white (FFFFFF) enables temperature mode 2023-01-08 20:29:53 +01:00
Alexandre Oliveira
5f509064f0 Add support for binary sensor (digital input) in Home Assistant discovery (#586)
* Add support for binary sensor in Home Assistant discovery

* Fix broken builds
2023-01-07 00:28:37 +01:00
openshwprojects
f6b37fbeee Merge pull request #578 from iprak/hass-discovery-ip-change
Invoke discovery on ip change
2023-01-05 18:50:24 +01:00
openshwprojects
a4968ab567 also check CFG_GetPingDisconnectedSecondsToRestart 2023-01-05 14:01:16 +01:00
openshwprojects
67a86b1678 update ping Watchdog and add "NoPingTime" change event to trigger script on no ping time value change 2023-01-05 12:18:55 +01:00
Indu Prakash
255ac9cee8 Adjusted comment 2023-01-03 19:25:21 -06:00
Indu Prakash
65b9f7f4be Added a controlling flag 2023-01-03 18:23:26 -06:00
openshwprojects
97ab8d471d flag to select UART 2023-01-04 01:09:05 +01:00
openshwprojects
975d621ef4 support mqtt group topic - secondary topic for casting commands to devices, many devices can listen on it 2023-01-02 03:38:41 +01:00
openshwprojects
4db0b2d174 silence compilation warnings on Beken platform - part 1 2022-12-30 22:16:10 +01:00
openshwprojects
cd6229887d warning fix 2022-12-30 15:49:27 +01:00
openshwprojects
212671b8b8 use http password fields (closes https://github.com/openshwprojects/OpenBK7231T_App/issues/571 ) , split json generation 2022-12-30 15:13:55 +01:00
openshwprojects
96a7549d74 CW and single color better yaml generation - use LED driver - also just use string constants for readability (compiler will optimize then anyway) 2022-12-29 13:50:24 +01:00
openshwprojects
354a74ff9f add missing brightness_state_topic 2022-12-29 11:31:33 +01:00
openshwprojects
7b1e1ca30d add ability to configure periodical MQTT broadcast with console commands 2022-12-27 20:21:57 +01:00
openshwprojects
8908141012 add sprintf rounding to 2 decimal places for hannel types 2022-12-26 18:45:35 +01:00
openshwprojects
fea6e9ff68 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-12-26 18:34:25 +01:00
openshwprojects
f1fb1fde60 DHT sensors interface 2022-12-26 18:34:14 +01:00
openshwprojects
682b7a281e Merge pull request #558 from iprak/w600-drivers-attempt2
W600: Basic driver support
2022-12-26 16:29:48 +01:00
openshwprojects
0e6bf234a7 by default, clamp negative measurements to 0 2022-12-24 15:06:44 +01:00