Commit Graph

71 Commits

Author SHA1 Message Date
476af2825a test - better rounding|? 2023-10-19 11:56:30 +02:00
83cd57dff5 hass rssi discovery 2023-10-19 10:30:18 +02:00
9c1ececd3c empty stat_t fix? 2023-09-27 20:26:50 +02:00
51f2281e36 Temperature_div2 added 2023-09-27 09:03:31 +02:00
c82c6047cc whitespaces in name fix? 2023-09-06 17:40:07 +02:00
ee1ffb38d3 Toggle_Inv per user request 2023-08-23 10:51:10 +02:00
5cb73aa17e Remove duplicate prefix (#899) 2023-08-16 11:05:29 +02:00
c094e8fd01 Fix stat_class for energy sensor (#865) 2023-06-25 17:25:17 +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
c783f39380 add flag to use kWh instead of Wh for energy 2023-05-05 09:49:45 +02:00
f1d22cef28 finish tuyamcu dimmer+toggle combo discovery? 2023-05-04 11:29:19 +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
03845f4dd5 disable availbity topic for tmSensr 2023-05-01 23:26:39 +02:00
b6e911fef8 new hass discovery case fix 2023-05-01 20:17:13 +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
dfc12fa76d unfinished voltage hass channel test 2023-05-01 16:00:49 +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
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
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
e0589fcb4d remove debug log, merge common code 2023-02-09 21:52:15 +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
e8af9e8ad4 Energy values should be total_increasing 2022-11-11 05:26:57 -06:00
a70b905289 Fixed template value 2022-11-04 20:58:59 -05:00
f36352507c Using ~ for sensor disovery base topic 2022-11-01 06:29:55 -05:00
58cc3b5017 Merge pull request #330 from iprak/fix-for-none-device-class
Removed None
2022-10-25 11:56:37 +02:00
2970ec62fd Replace hprintf128 with hprintf255 in all files 2022-10-25 06:31:11 +01:00
a7f840c05d Removed None 2022-10-24 19:52:59 -05:00
0a095bbd65 Added Wh for energy 2022-10-23 10:34:40 -05:00
b9825521d4 Sending unit in discovery 2022-10-23 10:34:05 -05:00
1fd7e64c7e Fixed BL602 build error 2022-10-18 06:59:56 -05:00
a51477bb54 Sensor: added state_class, removed payload 2022-10-18 06:37:09 -05:00
86ee0499ac Fixed 2 PWM case 2022-10-18 06:35:51 -05:00
03a70b24e8 HA Assistent fixes. "dev_cla" specs changed changed.
TuyaMCU - added comments
2022-10-17 19:00:00 +02:00
613bb91ec3 Energy Monitor handler updates.
- added events
- added MQTT topic for last hour consumption stats
- HA assisten update
TuyaMCU - driver update.
New device added.
2022-10-15 18:04:24 +02:00
fd4aaeef13 Formatted 2022-10-14 21:08:38 -05:00
4749643ff8 Using base topic 2022-10-08 08:06:28 -05:00
f5ce072754 Removed spaces in templats 2022-10-08 08:05:46 -05:00
2e17c08932 Fixed BL602 build error 2022-10-08 06:48:19 -05:00