Commit Graph

52 Commits

Author SHA1 Message Date
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
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