Commit Graph

163 Commits

Author SHA1 Message Date
proddy
5c45ad911f increase mqtt buffer from 100 to 200. timeout also reduced to 100ms 2021-02-27 21:49:45 +01:00
proddy
3929ac07af uom made optional 2021-02-27 21:37:50 +01:00
proddy
513fab307e added "ON" and "OFF" for OpenHAB - #713 2021-02-27 15:22:22 +01:00
proddy
ce45374b54 experimental mqtt client supporting large packets 2021-02-27 14:45:51 +01:00
proddy
b2e85ee026 clean up boolean, move to MQTT screen 2021-02-23 17:45:48 +01:00
proddy
0dc0671690 fix mqtt heartbeat #710 2021-02-22 12:41:12 +01:00
proddy
6f17013375 fix MQTT payloads being rejected when MQTT is connecting (fixes #369) 2021-02-20 16:00:08 +01:00
proddy
e0a35644a8 fix standalone compiling 2021-01-25 15:57:26 +01:00
MichaelDvP
3f9995340c add mqtt base, fix mixer, fix masterthermostat, dallas fails, fix mult. roomctrl. 2021-01-25 12:41:08 +01:00
proddy
a541ec27b8 renamed function 2021-01-09 21:48:42 +01:00
proddy
6d5031290c replace list with deque 2021-01-08 21:02:48 +01:00
proddy
80b8cd85a3 add reset_mqtt function 2021-01-07 21:20:13 +01:00
proddy
22f5e56622 moved back to std:: containers for esp32 2021-01-03 18:03:41 +01:00
proddy
7c6aeb3cb9 #632 - still experimental 2020-12-29 22:15:59 +01:00
proddy
6a67808ddb replace char * tags with an ID #632 2020-12-14 20:30:16 +01:00
proddy
ffa313ebe4 refactor device value rendering (to Web, Console or MQTT) to base class #632 2020-12-13 22:52:34 +01:00
proddy
5893739e73 publish_ha()..still causes the occasional crash on ESP8266 2020-11-29 21:07:53 +01:00
proddy
48bacde569 removed JSON sizes 2020-11-26 23:09:10 +01:00
proddy
647384f5c8 change call to not use json, prevent duplicate inits 2020-11-23 13:14:40 +01:00
MichaelDvP
4bf821fbd5 use mqtt queue for ESP32 2020-11-18 10:01:41 +01:00
proddy
d52dc4460f Merge branch 'dev' of https://github.com/proddy/EMS-ESP into dev 2020-11-15 17:51:27 +01:00
proddy
4bfdb017b9 prevent double subscriptions when mqtt connecting 2020-11-15 17:51:18 +01:00
MichaelDvP
fdaddcdbdd json size of ha-sensors 2020-11-15 17:30:15 +01:00
proddy
978e0b8d83 HA binary sensors put on MQTT queue 2020-11-15 15:22:54 +01:00
proddy
88135ad277 prevent duplicate MQTT connections 2020-11-15 14:25:17 +01:00
MichaelDvP
548c07f932 change json package size, min 384, max 1024 for static, 2048 for dynamic 2020-11-14 15:52:02 +01:00
proddy
b51dfae718 change queue size for standalone 2020-11-14 15:41:05 +01:00
MichaelDvP
1578168167 split HA-config in smaller blocks, add publish command 2020-11-13 13:32:18 +01:00
Paul
2d0272d956 formatting 2020-11-08 20:38:33 +01:00
proddy
3161bf34c0 change (c) header 2020-10-31 08:42:59 +01:00
MichaelDvP
9ecb4f4a73 rename topics 2020-10-24 18:05:44 +02:00
proddy
31a2367740 minor changes to reporting 2020-10-20 21:07:34 +02:00
proddy
d1f4e21a74 HA MQTT changes 2020-10-19 23:20:53 +02:00
proddy
b2b3e5bb36 change sizes of MQTT payloads 2020-10-17 16:57:50 +02:00
MichaelDvP
87d49be7b3 setting of mqtt-format without reboot 2020-10-16 11:49:15 +02:00
MichaelDvP
bddf377b59 remove mqtt custom, add thermostat wwtemps, mixing mqtt formats and api output 2020-10-08 10:37:21 +02:00
proddy
13297334cf HA MQTT Discovert - added remaining values - HomeAssistant Discovery #288 2020-10-06 20:53:32 +02:00
proddy
a15bc21f50 some hopeful memory optimizations to reduce defrag 2020-10-04 20:22:10 +02:00
proddy
eb98caa87a change show_info to read of json, updates to use HA MQTT Discovery 2020-10-03 16:34:06 +02:00
proddy
0fae2c6b90 HA integration - add devices as HA devices - HomeAssistant Discovery #288 2020-09-30 18:40:29 +02:00
proddy
b5062df8f4 MQTT updates: added HA discovery, removed heartbeat - HomeAssistant Discovery #288 2020-09-28 18:17:23 +02:00
proddy
b1f10fa5ee refactor out console context menus - #510 2020-09-23 00:19:51 +02:00
proddy
9fc15650a2 added all devices - API: HTTP read/write #506 2020-09-20 15:52:44 +02:00
proddy
80ec1859e4 refactor commands to its own class, implement rest API #506 2020-09-18 18:13:09 +02:00
proddy
0d66d97fd2 add option for MQTT retain flag - #507 2020-09-17 21:12:30 +02:00
proddy
802b466160 use flash strings for MQTT topics 2020-09-13 11:05:18 +02:00
MichaelDvP
18421d3d1e mqtt publish peiod per device, publish on change, ADC 2020-09-05 16:50:21 +02:00
proddy
b1e094293f no need to double std::move 2020-08-26 16:07:12 +02:00
proddy
67877d07c5 allow number and string for MQTT json commands - #445 2020-08-15 19:53:55 +02:00
proddy
0d18e84141 minor changes 2020-08-13 17:50:48 +02:00