Commit Graph

116 Commits

Author SHA1 Message Date
Erik be446e10e3 Include shutter tilt config in discovery message 2022-05-13 12:31:57 +02:00
Theo Arends 77660b5d3c Fix discovery ethernet ip address
Fix discovery ethernet ip address (#14929)
2022-02-22 15:42:04 +01:00
halfbakery d881e1f864 add state_class to energy totals to support Home Assistant long term statistics 2022-01-12 23:04:47 +01:00
halfbakery 17066e404c skip shutter tilt discovery if tilting is unconfigured 2022-01-12 22:54:49 +01:00
halfbakery fea4d3ec93 the cover state topic was useless and caused parsing errors in Home Assistant 2022-01-12 22:50:27 +01:00
Theo Arends 81aa579471 Refactor Tuya driver to enable ESP32 support
Refactor Tuya driver to enable ESP32 support (#14086, #14106)
2021-12-19 16:41:10 +01:00
Theo Arends 9b72a44367
Merge pull request #13053 from groth-its/ha-device-classes
Add / correct home assistant device classes
2021-12-01 17:50:51 +01:00
Stephan Hadinger cb0ad2c75b Berry tasmota.read_sensors() 2021-11-21 18:54:13 +01:00
stefanbode ac5c370e78
Shutter Tilt Discovery 2021-11-07 14:11:32 +01:00
stefanbode 540f6178da
Update xdrv_12_home_assistant.ino
Fix problem on ESP32 and enhanced i2c GPIO boards with more than 8 relays and shutter defined on relay 9++
2021-11-05 09:02:42 +01:00
groth-its 3a6e9d92ea
Add / correct home assistant device classes
Add missing and correct existing home assistant device classes that are currently available in home assistant releases for auto discovery.
2021-09-04 01:11:14 +02:00
Adrian Scillato 09a7d0b4a5
Fix compilation if undef USE_LIGHT and def USE_HOME_ASSISTANT 2021-08-28 17:20:10 -03:00
Adrian Scillato 45286b5881
Fix compilation if undef USE_LIGHT and def USE_HOME_ASSISTANT 2021-08-28 15:02:06 -03:00
Theo Arends 6e2a3f5d60 Fix Hass and Tasmota discovery
Fix Hass and Tasmota discovery prefix topic notifications (#12972)
2021-08-25 09:41:07 +02:00
Theo Arends e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends 3d7c1091a7
Merge pull request #12659 from emontnemery/hass_white_tweak
Improve color light integration with HomeAssistant for so19 1
2021-07-16 13:41:05 +02:00
Erik 978f2e3d5d Use explicit color mode for RGBWW lights 2021-07-15 18:16:59 +02:00
Erik c3d757ca95 Use hs color instead of rgb color 2021-07-15 17:51:40 +02:00
Erik 02de85efa7 Only enable white mode for RGBW lights 2021-07-15 16:16:51 +02:00
Erik 3c6471d5de Improve RGBW light integration with HomeAssistant for so19 1 2021-07-15 16:07:30 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends eaf89e2e71
Merge pull request #12317 from emontnemery/hass_state_value_topic
Use correct template for Home Assistant light
2021-06-08 16:26:48 +02:00
Erik d8d9ac52f5 Use correct template for Home Assistant light 2021-06-08 16:04:20 +02:00
Theo Arends d76868e136 Fix compilation error 2021-06-06 18:08:31 +02:00
Theo Arends 5175653922 Fix compilation error 2021-06-06 18:05:28 +02:00
Theo Arends 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Theo Arends cea58d66c8 Prep virtual mqtt_data prt3 2021-05-24 16:52:59 +02:00
Theo Arends 77760dc2cc Prep virtual mqtt_data prt2 2021-05-23 16:50:17 +02:00
Theo Arends f168f07850
Merge pull request #12037 from nngg/patch-2
Update xdrv_12_home_assistant.ino
2021-05-22 17:29:03 +02:00
Theo Arends cacc8f1eb0 Fix discovery on MQTT reconnect
Fix discovery on MQTT reconnect (#12140)
2021-05-22 16:25:02 +02:00
Theo Arends e2e6184877 Delay HA discovery during PZEM sensor intialization
Delay HA discovery during PZEM sensor intialization (#12076)
2021-05-11 11:01:46 +02:00
nngg 253f7c9f6d
Update xdrv_12_home_assistant.ino
allow home assistant discovery of MCP2300xx output as relay
2021-05-07 06:16:05 -07:00
Theo Arends c2cde43a54 Refactor Tasmota Discovery 2021-04-11 13:29:33 +02:00
Theo Arends be236472fe Add Tasmota discovery as alternative to Home Assistant discovery using define ``USE_TASMOTA_DISCOVERY`` 2021-04-10 18:20:15 +02:00
Theo Arends 9645f3008e Fix string length overflow
Fix string length overflow (#11347)
2021-03-15 14:45:09 +01:00
Theo Arends d5542b1a66 ESP32 increase number of relay GPIOs from 8 to 28 2021-02-04 17:06:45 +01:00
Theo Arends db615c5b0b Refactor some IP addresses 2021-01-27 12:03:20 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
Erik Montnemery f100ad5d03
Include SetOption117 in discovery message 2021-01-14 21:36:08 +01:00
Theo Arends 2b7d605696 Changed maximum chars in AddLog_P logging
Changed maximum chars in AddLog_P logging reduced from 700 to 128 (LOGSZ) to enhance stability
2021-01-02 16:20:15 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends b1b20c53b4 Prep removal of global log_data
Prep removal of global log_data providing re-entry
2020-12-23 18:00:59 +01:00
Federico Leoni 219a254c84 Fix shutters discovery 2020-12-03 08:06:52 -03:00
Federico Leoni 866b286bb8
HaTasmota: enhanced support for shutters 2020-11-27 09:05:45 -03:00
Adrian Scillato 2721444af0
Fix HA Discovery Issue with Uninitialized Sensors 2020-11-26 10:08:31 -03:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Erik Montnemery ae89198218
Correct HASS_DISCOVER_DEVICE 2020-11-03 19:56:25 +01:00
Federico Leoni 7fa083fc73 Stupid error fix 2020-11-03 13:03:08 -03:00