Theo Arends
d107933e80
Revert "Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development"
...
This reverts commit d82afa1190
, reversing
changes made to 7b70c042bd
.
2019-09-16 16:59:05 +02:00
Federico Leoni
1e07b47529
Need feedback: Home Assistant discovery
2019-09-14 21:50:45 -03:00
Federico Leoni
cee2248129
Update xdrv_12_home_assistant.ino
2019-09-09 15:29:05 -03:00
Stephan Hadinger
0cb49214e4
Fix Would not compile if USE_LIGHT not defined
2019-08-27 10:02:25 +02:00
Theo Arends
38c6254833
Refactor light driver saving code space
...
Refactor light driver saving code space
2019-08-17 13:17:30 +02:00
caphm
7e0ae16c4f
Add MAC address to Home Assistant Discovery Message, fixes #6226
2019-08-15 14:35:13 +02:00
Erik
0c8c62a857
Adjust on_cmd_type according to SetOption20
2019-08-10 11:17:37 +02:00
Theo Arends
1b69502d9b
Code optimization - Change for(uint8_t in for (uint32_t
...
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 16:44:36 +02:00
Theo Arends
30adce5648
Revert "Code optimization - Change for(uint8_t in for (uint32_t"
...
This reverts commit 5e1eac3f74
.
2019-06-30 15:56:55 +02:00
Theo Arends
5e1eac3f74
Code optimization - Change for(uint8_t in for (uint32_t
...
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 15:47:32 +02:00
Theo Arends
10d32acccc
Free some flash used by hass
...
Free some flash used by hass
2019-03-24 14:23:20 +01:00
Theo Arends
6922e657d9
Shrink code/flash space
...
Shrink code/flash space
2019-03-23 17:00:59 +01:00
Theo Arends
2959ec9341
Prep for release with fix some warnings
...
Prep for release with fix some warnings
2019-03-14 16:50:56 +01:00
Erik
d4ca635db6
Add MQTT connect count to HASS sensor
2019-03-11 18:29:39 +01:00
Theo Arends
5927f7501c
Update xdrv_12_home_assistant.ino
...
Quick fix for #5356
2019-03-11 15:41:06 +01:00
Theo Arends
69874301b9
Merge pull request #5418 from emontnemery/hass_improve_status
...
Add more information to status sensor
2019-03-08 16:53:26 +01:00
Erik
b72df698a2
Add more information to status sensor
2019-03-08 16:38:36 +01:00
Theo Arends
06a9fbd792
Changed logging message handling
...
Changed logging message handling
2019-03-08 15:15:42 +01:00
Erik
32c69ff0c2
Fix broken hass button announcement
2019-03-07 18:40:50 +01:00
Theo Arends
98ae3eaf54
6.4.1.16 Online template change
...
6.4.1.16 20190211
* Initial support for online template change using command Template (#5177 )
2019-02-11 19:21:49 +01:00
Erik
6f4e658f03
Increase length of name in HA AD msg.
2019-02-07 20:54:30 +01:00
Erik
3281055438
Add HASS status sensor
2019-02-06 20:07:28 +01:00
Theo Arends
cb13e8b05e
Update xdrv_12_home_assistant.ino
...
Minor gain in string length
2019-01-30 14:33:20 +01:00
Theo Arends
304ac6fe44
6.4.1.12 code changes (byte/boolean)
...
6.4.1.12 20190128
* Change code use of boolean to bool and byte to uint8_t
* Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +01:00
Theo Arends
1fe1839690
Force Hass fulltopic change
...
Force Hass fulltopic change (#4988 )
2019-01-22 16:07:16 +01:00
Theo Arends
7745e1e779
Fix Hass Software Watchdog
...
Fix Hass Software Watchdog exception during discovery (#4988 )
2019-01-22 12:46:55 +01:00
Theo Arends
53b8f1f877
Fix HAss Sensor Software Watchdog
...
Fix Home Assistant Sensor Discovery Software Watchdog restart (#4831 )
2019-01-08 15:25:12 +01:00
engrbm87
122ae1ee27
fix empty prefix issue
...
When switchtopic is set to a different topic the prefix will be empty so its length will be zero. In the Shorten function the strncmp will give a zero result because the prefixlen is zero and will add '~' even though there is no prefix.
Adding prefixlen != 0 in the if condition fixes the issue. Also skip adding the prefix "~" on line 292 by checking if the prefix length is greater than zero.
2019-01-06 20:26:42 +02:00
Theo Arends
447ec6256e
6.4.1.4 Update Copyright (C) 2019
...
6.4.1.4 20190101
* Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00
Theo Arends
afe83a3460
Prep for template tuning
2018-12-29 17:19:13 +01:00
Erik
c348848200
Rename HASS discovery string constants
2018-12-22 13:21:04 +01:00
Erik
fd965eba09
Remove SetOption55 (hass_short_discovery_msg)
2018-12-22 13:16:04 +01:00
reey
ebd12235c4
add empty unit of measurement for any sensors
2018-12-21 10:38:44 +01:00
reey
6c158434ee
removed some errors from copy pasting..
2018-12-20 23:27:05 +01:00
reey
c1e098403c
add missing units of measurements for energy
2018-12-20 23:06:56 +01:00
dcandi
1fb4e8bc23
pressure unit of measure reporting
...
Added a dedicated pressure sensor management to report back as pressure sensor and not fallback as a generic sensor in HA autodiscovery process
2018-12-19 20:51:39 +01:00
Adrian Scillato
3795667f36
Fix HomeAssistant Temp Sensor AutoDiscovery
...
https://github.com/arendst/Sonoff-Tasmota/issues/4627
2018-12-14 23:57:12 -03:00
Erik
85c515cc97
More tweak of Hass switch/button
2018-12-11 22:00:34 +01:00
Erik
9f515c6c08
Add support for device registry
2018-12-10 19:51:47 +01:00
Erik
9b5e90e24e
Fix reversed logic when announcing buttons / switches
2018-12-08 15:24:16 +01:00
Theo Arends
4c2110749c
Merge pull request #4562 from emontnemery/force_local
...
Enable forced local operation when button- or switchtopic is set
2018-12-08 10:47:11 +01:00
Erik
ebf74ab424
Update Hass discovery
2018-12-08 09:43:48 +01:00
Erik
d8cf001304
Announce RGBW light, add 'White' command
2018-12-07 21:32:01 +01:00
Erik
fe9103eb68
Fix HASS discovery of switches
2018-12-07 17:19:14 +01:00
Erik
94786d3217
Fix logic for ON/OFF vs TOGGLE
2018-12-05 20:20:36 +01:00
Erik
be19af15e2
Announce switches
2018-12-04 21:32:02 +01:00
Erik
74172f14d3
Further improve Hass auto discovery
2018-12-02 16:39:59 +01:00
Erik
259d9f5f6c
Small improvements to Hass MQTT discovery
2018-11-28 20:43:36 +01:00
Erik
6d3223f962
Hass: Restart if topic is changed
2018-11-27 19:31:45 +01:00
Erik
eda60b6124
Support sending tele/STATUS as state/RESULT
2018-11-25 21:27:19 +01:00