Commit Graph

33 Commits

Author SHA1 Message Date
8eaf72e2ea Home Assistant discovery - add energy counters today/yesterday, add clear date, add friendly names (#1092)
* 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

* fix compile on OpenW800 due to OBK_DISABLE_ALL_DRIVERS on that platform

---------

Co-authored-by: Stefan Smith <stefan064>
2024-02-22 11:26:13 +01:00
b0bfc23098 split power handling 2023-12-17 23:08:52 +01:00
e4211ac508 add pressure channel 2023-12-16 18:27:46 +01:00
0fccb67580 cosmetic changes only, fixing compilation warnings 2023-11-20 14:54:05 +01:00
1308a8f5b5 fix potential RSSI name collision 2023-10-25 16:01:18 +02:00
83cd57dff5 hass rssi discovery 2023-10-19 10:30:18 +02:00
7fae04a9e3 add missing header 2023-09-27 09:42:08 +02:00
51f2281e36 Temperature_div2 added 2023-09-27 09:03:31 +02:00
1141d42325 header 2023-08-23 11:16:07 +02:00
23cbd2c7f1 HA discovery energy_sensor from tuyaMCU (#864)
Handle EnergyTotal_kWh_div1000
2023-06-25 09:28:52 +02:00
1e8bb1f688 illuminance channel type for Homa Assistant Discovery 2023-06-19 00:11:04 +02:00
808f65c8ad add smoke percent channel type and add bat_relay_n 2023-05-20 20:26:36 +02:00
21c6a0dd7e header fx, comment 2023-05-04 11:41:43 +02:00
5d78434941 tuyamcu discovery for dimmers - p1, unfinished 2023-05-04 10:13:58 +02:00
d4f99293b6 read only low mid high channel with Hass discovery 2023-05-02 13:03:45 +02:00
f9e17be5fb ReadOnly HA discovery 2023-05-02 12:22:47 +02:00
83871bf889 TuyaMCU Hass Discovery/custom channel types should cover now Toggles, Voltage/Current/Power, and humidity/temperature 2023-05-01 20:07:30 +02:00
fa592bc5a0 custom channels HASS discovery, not enabled, p1 2023-05-01 15:49:49 +02:00
22aa45fd66 add function for generating val_tpl for hass, with a self-test 2023-05-01 14:05:12 +02:00
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
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
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
f346c6169e flag for adding relays as lights in hA discovery 2023-02-19 17:10:07 +01:00
18fae1fe0e HASS set pointer to NULL after free, also add cosnt correct 2023-01-16 13:56:46 +01:00
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
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
a199327167 Using brightness scale of 100 2022-12-29 20:28:31 -06:00
86ee0499ac Fixed 2 PWM case 2022-10-18 06:35:51 -05:00
fd4aaeef13 Formatted 2022-10-14 21:08:38 -05:00
8bd59e66d0 Added support for RGB 2022-10-07 05:57:28 -05:00
684a175a3c Reworked storage for JSON generation 2022-10-04 19:36:13 -05:00
94aa809ebf Added HASS specific modules 2022-09-09 04:12:48 -05:00
258873a37b Added placeholder hass 2022-09-08 05:31:05 -05:00