Commit Graph

150 Commits

Author SHA1 Message Date
MichaelDvP
4dd4c37cba HA binary sensor bool format payload
@proddy : since bool-format goes from websettings to mqtt it needs a change. but i'm not familiar enough with HA: raw or strings? HA configs seems to have a lot of trips.
2021-03-09 19:13:20 +01:00
proddy
8824bbe4c2 fix for HA topics with invalid command formats - #728 2021-03-07 17:50:14 +01:00
proddy
acd678d30c don't use ems-esp-system for HA 2021-03-06 16:12:21 +01:00
MichaelDvP
300fff1909 add Mqtt-base on publish, do not store fulltopic in each message 2021-03-04 16:10:34 +01:00
proddy
a213dd3703 code cleanup 2021-02-27 21:49:54 +01:00
proddy
3929ac07af uom made optional 2021-02-27 21:37:50 +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
e25f4758d6 auto formatting 2021-01-25 15:57:32 +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
f466453a8e HA cleanup 2021-01-21 20:24:32 +01:00
proddy
44045ae658 add Ethernet 2021-01-18 19:38:22 +01:00
proddy
31b03c56d8 fix HA binary sensor 2021-01-10 15:47:48 +01:00
proddy
2b69267d74 cleanup, moved on_connect, renamed status to system topic 2021-01-09 21:49:12 +01:00
proddy
6d5031290c replace list with deque 2021-01-08 21:02:48 +01:00
proddy
908cf5c965 auto-publish HA when MQTT settings change on web 2021-01-08 20:52:46 +01:00
proddy
e25e427f91 reset_mqtt resets all changes 2021-01-07 21:20:02 +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
8d386c0449 Merge branch 'fb-632-refactorvalues' into refactor 2020-12-15 19:51:55 +01:00
proddy
4087a4f12e minor cleanup of debug statements #632 2020-12-14 21:27:25 +01:00
proddy
6a67808ddb replace char * tags with an ID #632 2020-12-14 20:30:16 +01:00
MichaelDvP
a8f997670c add v2.1.1b7 changes, json sizes 2020-12-14 16:23:47 +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
MichaelDvP
998de8b3c1 if mqtt disconnected save memory 2020-11-30 17:01:45 +01:00
proddy
33625d12e2 fix standalone build 2020-11-30 09:07:37 +01:00
proddy
5893739e73 publish_ha()..still causes the occasional crash on ESP8266 2020-11-29 21:07:53 +01:00
proddy
558f61489d minor cleanup of log messages 2020-11-28 21:43:33 +01:00
proddy
8447c961fe test flash vs non-flash for json variables 2020-11-26 23:08:22 +01:00
proddy
647384f5c8 change call to not use json, prevent duplicate inits 2020-11-23 13:14:40 +01:00
proddy
c0113921d6 increase json buffer to allow HA MQTT for EMS-ESP 2020-11-20 15:02:58 +01:00
MichaelDvP
4bf821fbd5 use mqtt queue for ESP32 2020-11-18 10:01:41 +01:00
proddy
09aa236d2f heap frag optimizations 2020-11-17 22:33:37 +01:00
proddy
6e31caf14b reenable ha sensor 2020-11-16 14:27:08 +01:00
proddy
0a45955294 serialize json to string stream as opposed to char buffer 2020-11-16 14:16:03 +01:00
proddy
1307a2e97b show retain in debug 2020-11-15 21:19:02 +01:00
proddy
aeba36d2f0 formatting 2020-11-15 20:15:58 +01:00
proddy
293d49bd56 use EMSESP_MAX_JSON_SIZE_HA_CONFIG 2020-11-15 17:59:58 +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
proddy
b51dfae718 change queue size for standalone 2020-11-14 15:41:05 +01:00
proddy
4a4d664d7d don't setup mqtt if it's disabled 2020-11-14 12:49:49 +01:00
MichaelDvP
1578168167 split HA-config in smaller blocks, add publish command 2020-11-13 13:32:18 +01:00
Paul
bf5183be8a mqtt experiments to reduce heap 2020-11-08 20:38:22 +01:00
proddy
5e697e194f fix debug log in standalone 2020-11-03 09:43:09 +01:00