Ton Huisman
dbf6b33125
Merge branch 'mega' into feature/MQTT-start-broker-connection-in-background
2025-09-20 21:44:52 +02:00
Ton Huisman
efb94d32a2
[Discovery] Avoid setting the timeout more than once
2025-08-27 13:01:56 +02:00
Ton Huisman
cdbf0fe130
[MQTT] Handle connecting to broker as a background process
2025-08-23 19:52:16 +02:00
Ton Huisman
dce9985e63
[MQTT] Add Retain option per task
2025-08-09 22:36:17 +02:00
Ton Huisman
41151ed10b
[AutoDiscover] Set default Auto Discovery topics when adding HA Controller
2025-07-27 23:20:31 +02:00
TD-er
d1d8ef48fb
[Controller] Fix crashes on MQTT callback calls
2025-07-03 14:08:39 +02:00
Ton Huisman
8e89f9db95
[AutoDiscovery] Make start delay compiletime configurable, and extend max delay from 10 to 30 sec.
2025-07-01 22:35:15 +02:00
Ton Huisman
c759ba1263
[AutoDiscovery] Embed setting for online message in /config setting
2025-06-28 23:05:30 +02:00
Ton Huisman
edc2fd8ada
[AutoDiscovery] Add support for Derived values, UoM and Value Type, some code optimizations
2025-06-19 23:04:13 +02:00
Ton Huisman
e4b0e4eceb
[MQTT] Add support for more VTypes, implement more VTypes, small improvements
2025-01-10 22:48:06 +01:00
Ton Huisman
3656475193
[MQTT] (Auto)Discovery implementation
2024-12-30 17:12:01 +01:00
TD-er
e6b2df35a4
Merge branch 'mega' into feature/MQTT-controller-cmd-improvements
2024-10-02 23:46:02 +02:00
TD-er
8b992eb352
Merge branch 'mega' into feature/MQTT_TLS
2024-07-13 12:45:11 +02:00
TD-er
e1a96aa325
[Build] Fix build error on LIMIT_BUILD_SIZE builds
2024-06-18 13:15:50 +02:00
TD-er
c09d41f2f8
[Cleanup] Speedup all calls where task value name was used
...
A lot of extra work was done to determine the number of taskvalues, on each call.
Sending 4 task values to a MQTT controller (C005) for example took 20 msec on average, now about 10 msec.
2024-06-18 11:50:27 +02:00
Ton Huisman
2de6997739
Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/MQTT-controller-cmd-improvements
2024-02-16 21:14:51 +01:00
Ton Huisman
799b3f3aaf
[Build] Reduce code size (avoid String(F("...")) conversions and concatenations)
2024-01-24 23:22:19 +01:00
TD-er
4c40206974
[Commands] Allow commands from external source to be queued (stack)
...
To be a bit more friendly on the stack usage, we need to be able to queue commands so they can be processed directly from the loop() instead of deep in the processing of some plugin or controller code.
[Build] Remove ESP8266 1M IR-ext build
[Commands] Fix copy/paste error handling commands
2024-01-23 14:35:19 +01:00
TD-er
4f4ff8721b
Merge branch 'mega' into feature/MQTT_TLS
2023-12-25 23:02:02 +01:00
TD-er
a78c8fd929
[Cleanup] Simplify calling internal commands
2023-12-19 01:15:36 +01:00
TD-er
ef9c263b3e
[ESP8266] Optimize memory allocations + 2nd heap
2023-11-16 17:52:28 +01:00
TD-er
3475de24ca
[ESP8266] Fix stability issues when using 2nd heap
2023-11-15 11:44:41 +01:00
Ton Huisman
92a50d1f20
[C014] Use getHostname() for %sysname%, some code optimization
2023-10-30 21:50:21 +01:00
TD-er
b00cc01ca1
[Cleanup] Reduce build size by compacting logs
2023-10-29 14:12:22 +01:00
TD-er
8e7f4be212
[ESP_IDF 5.1] Add support for ESP_IDF 5.1 (SP32 Arduino SDK 3.x)
2023-10-06 11:09:11 +02:00
Ton Huisman
5a377a6e4f
Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/MQTT-controller-cmd-improvements
2023-09-29 20:19:09 +02:00
TD-er
e387cd3bac
Merge branch 'mega' into feature/MQTT_TLS
2023-09-21 22:29:35 +02:00
TD-er
71630ba87b
[Cleanup] Remove no longer needed globals/Protocol.h/.cpp
2023-09-15 18:13:15 +02:00
TD-er
922ad76e5e
[Controller] Simplify ESPEasy core administration of CPlugins
2023-09-15 17:09:09 +02:00
Ton Huisman
7f4fa7be03
[MQTT] Controller improvements
2023-08-18 21:28:17 +02:00
TD-er
bb5258340d
Merge branch 'mega' into feature/MQTT_TLS
2023-02-16 08:41:38 +01:00
TD-er
0bdeb6dac1
[Cleanup] Reduce build size using own equals function for flash strings
2023-02-14 15:43:33 +01:00
TD-er
d39d1d3585
Merge branch 'mega' into feature/MQTT_TLS
2023-01-18 13:34:13 +01:00
TD-er
30ec3a6c2e
[Controller Queue] Do not format message when controller queue is full
2023-01-18 12:03:02 +01:00
TD-er
8f1ee2edc6
[CacheReader] Add rate limiter + command to set readpos
2022-12-18 17:33:57 +01:00
TD-er
1a105617a5
[MQTT TLS] Rename USE_MQTT_TLS to FEATURE_MQTT_TLS
2022-10-16 17:14:11 +02:00
TD-er
fbad2498aa
Merge branch 'mega' into feature/MQTT_TLS
2022-07-14 23:43:52 +02:00
TD-er
e6c4d31748
[ESP32] Add cache for ExtraTaskSettings due to load speed on ESP32
2022-07-14 19:55:45 +02:00
TD-er
8902d54a80
Merge branch 'mega' into feature/MQTT_TLS
2022-06-16 01:40:22 +02:00
TD-er
5be21346f4
[MQTT command[ Fix unintended change of MQTT command syntax ( #4093 )
...
Problem was that the command was split on a comma and not the = char.
Fixes: #4093
2022-06-15 11:18:00 +02:00
TD-er
2e19fc2537
Merge branch 'mega' into feature/MQTT_TLS
2022-05-16 11:06:28 +02:00
TD-er
8c180fea87
[MQTT events] Do not add '=' when no eventvalues present + dedup
...
Check for duplicates, as sometimes a node may have multiple subscriptions to the same topic.
Then it may add several of the same events in a burst.
2022-05-03 17:07:27 +02:00
TD-er
f76cfa980b
Merge branch 'mega' into feature/MQTT_TLS
2022-05-02 17:09:48 +02:00
TD-er
4d4f10bf0a
[MQTT Events] Allow receiving events + eventvalues via MQTT (C005)
...
Ideal to send some event as retained message to a MQTT broker.
This way it is possible to control a node which is only online for a very short moment as those messages will be delivered as soon as the unit connects to the broker.
2022-05-02 16:37:29 +02:00
TD-er
e9e50bc5a4
Merge branch 'mega' into feature/MQTT_TLS
2022-03-31 13:28:14 +02:00
Gijs Noorlander
a88ba08f2d
[MQTT commands] Fix parsing full command
2022-03-08 14:41:48 +01:00
Gijs Noorlander
353f85a4a9
[MQTT commands] Support commands with arbitrary argument position
2022-03-08 10:52:39 +01:00
TD-er
2eabafe97d
[MQTT commands] Add command via MQTT with variable parameters
2022-03-01 12:09:46 +01:00
TD-er
9f19c785d5
Merge branch 'mega' into feature/MQTT_TLS
2022-02-10 23:19:55 +01:00
TD-er
10cca9ca72
[Log] Call addLogMove where log Strings can be moved instead of copied
...
This is a macro for:
```
#define addLogMove(L, S) addToLogMove(L, std::move(S))
```
This will then try to move the constructed string to the log buffer.
If it cannot be moved (e.g. log level is not active), the string will be cleared to free up memory.
2022-02-09 22:28:18 +01:00