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
Erik
bee50cba06
Add support for sensor discovery
2018-11-21 19:21:51 +01:00
Erik
7c2c4edd1f
Add support for topic prefix
...
Also fix announcement of RGB capable light.
2018-11-15 22:20:31 +01:00
Erik
89b58f62af
Add option for new Hass discovery feature
2018-11-15 17:37:53 +01:00
Erik
8628c54ba0
Support abbreviations in discovery message
2018-11-15 17:36:19 +01:00
andrethomas
4a7e7b0dbb
Change C functions with () to (void)
2018-11-14 15:32:09 +02:00
Theo Arends
9fef82736d
Prep drivers for management
...
Prep drivers for management
2018-11-07 10:30:03 +01:00
Theo Arends
3d6b9859bd
Merge pull request #3929 from emontnemery/fix_hass_colors
...
Use color2 command (HASS sends normalized RGB)
2018-09-29 10:27:02 +02:00
Erik
8255c001b6
Use color2 command (HASS sends normalized RGB)
2018-09-29 10:12:32 +02:00
Erik
9acbcc805f
Fix logic for forced light discovery
2018-09-26 20:35:39 +02:00
Erik
544abec7bf
Set force_update to true for buttons
2018-09-22 15:42:18 +02:00
Theo Arends
4defda2f1a
Rewrite some GPIO options
...
Rewrite GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP
2018-08-25 13:08:06 +02:00
Theo Arends
6a5c0d29e8
6.1.1.9 - Fixes and Additions
...
6.1.1.9
* Allow user override of define MAX_RULE_TIMERS (#3561 )
* Allow user override of define MAX_RULE_VARS
* Add GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP (#2525 )
* Fix OtaMagic when file path contains a dash (-) (#3563 )
2018-08-23 16:05:51 +02:00
Theo Arends
1c6f752ba8
Add enforce Hass discovery as light group
...
Add command SetOption30 to enforce Hass discovery as light group (#1784 )
2018-06-29 11:15:27 +02:00
Theo Arends
41496acdee
File renames and Add command WebSend
...
5.14.0b
* Add command WebSend [<host>(:<port>,<user>:<password>)] <command>
(#2821 )
2018-05-28 11:35:23 +02:00