Commit Graph
61 Commits
Author SHA1 Message Date
TD-er 03590d1bb1 Merge remote-tracking branch 'letscontrolit/mega' into bugfix/WiFi_state_machine 2025-09-07 22:51:01 +02:00
Gijs Noorlander 269e9e23d4 Merge branch 'feature/MQTT-start-broker-connection-in-background' into bugfix/WiFi_state_machine 2025-08-26 10:46:31 +06: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
TD-er 881227c4ef [Build] Reduce build size for ESP8266 builds 2025-07-31 16:19:10 +02:00
TD-er 21f53f1507 [Network] Move Network code to ESPEasy::net namespace 2025-07-27 15:42:14 +02:00
Ton Huisman b5f2f13a51 [Derived Values] Move enable sending per task-controller, Code optimization 2025-06-21 22:17:42 +02:00
Ton Huisman 5f85cfc702 [C014] Add Unit of Measure to AutoDiscovery, add Send Derived values support 2025-06-19 23:05:54 +02: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 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
TD-er 903434fac2 [Cleanup] Revert changed line-ending back to CRLF (.cpp) 2024-05-31 00:20:32 +02:00
Ton Huisman d944777f0a [Controllers] Minor improvements and corrections 2024-05-24 22:37:18 +02:00
Ton Huisman 4dea3a1c05 [C014] Process %sysname% via parseSystemVariables(), logging improvements 2024-03-02 15:00:52 +01: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
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
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 e0be0224a3 [ADC] Fix handling negative ADC values from Hall Effect sensor 2023-09-21 10:23:02 +02:00
TD-er f8bb41eb67 [Cleanup] Do not use 'Number' in DeviceStruct class 2023-09-17 15:56:25 +02:00
Ton Huisman df0fb7ac6c [MQTT] Add support for P086 events to all MQTT Controllers 2023-09-16 22:53:04 +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
TD-er 4e9122166a [Cleanup] Fix crashing compiler on ESP8266 builds 2023-09-13 12:18:39 +02:00
Ton Huisman 7f4fa7be03 [MQTT] Controller improvements 2023-08-18 21:28:17 +02:00
TD-er a6ca66aab0 Merge branch 'mega' into feature/MQTT_TLS 2023-05-10 23:06:37 +02:00
TD-er cc7602539f [Build] Fix building ESPEasy in PlatformIO 6.1.7 (#4656)
* [PIO build] Update build scripts for scons 4.5.x

* [Build] Fix build error due to strange cast of double type in rules

* [Build] Work-around for new ESP8266 macro of round()

Whoever thought it would be a good idea to make round() an explicit cast to `long`....

* [Build ESP8266] Replace calls to round()

* [Build] Use HWrandom to overcome build issues

* [Build] Fix missing include

* [Build] Remove extern "C" to allow for (C++) function overloading

* [Build] include ESPEasy_common.h instead of Arduino.h where possible

* [Cleanup] Moving not commonly needed code out of ESPEasy_common.h

* [Build] Remove "Helpers" folder from concat script

* [Build] Include ESPEasy_common.h instead of ESPEasy_config.h

* [Build] Add Helpers folder to concat .cpp for ESP8266

* [Build] Add ESPEasyCore to concat cpp & split global RulesCalculate obj

* [Build test] Disable lots of plugins + not concat Helpers/*.cpp

* [Build test] Disable P037 to test build failures

* [Build test] Undef round right after include <Arduino.h>

* [Build] Revert disabling plugins + concat Helpers/*.cpp

* [Build] Include cmath after Arduino.h to redefine round()

* [Build] Fix ESP32 build error

* [Build] Add ESP32_CLASSIC define for ESP32 IR build
2023-05-10 23:00:33 +02:00
TD-er 57d78658de Merge branch 'mega' into feature/MQTT_TLS 2023-03-31 17:49:47 +02:00
Ton Huisman 1d7a194213 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/C014-replace-dummyvalueset-by-taskvalueset 2023-03-15 23:26:39 +01:00
Ton Huisman b20a29ee56 [C014] Minor corrections 2023-03-15 23:25:39 +01:00
Ton Huisman d251e6b21d [C014] [Homie MQTT] replace DummyValueSet by TaskValueSet (bugfix) 2023-03-15 22:22:34 +01:00
TD-er bb5258340d Merge branch 'mega' into feature/MQTT_TLS 2023-02-16 08:41:38 +01:00
TD-er 863b5ffc5f [Cleanup] Small tweaks suggested to reduce bin size 2023-02-15 10:24:53 +01:00
TD-er e195acdd1f [Cleanup] Reduce build size by using own equals() function 2023-02-14 16:40:09 +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 7205606d72 Merge branch 'mega' into feature/MQTT_TLS 2023-02-06 15:36:19 +01:00
Ton Huisman 92e3287822 [Config] Rename getUnitname() to getName() to avoid confusion, fix error that was introduced 2023-01-27 20:21:56 +01:00
Ton Huisman 509e03be16 [Config] Replace Settings.Name by Settings.getUnitname() 2023-01-26 23:34:14 +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 13116f1df5 Merge branch 'mega' into feature/P146_cacheControllerReader 2023-01-13 21:07:56 +01:00
TD-er 25874e1b72 Merge branch 'mega' into feature/MQTT_TLS 2023-01-13 21:05:54 +01:00
TD-er 9ab9a63f58 [Cache] Reduce nr of file load/save calls to a minimum. 2023-01-12 22:35:52 +01:00
TD-er 8f1ee2edc6 [CacheReader] Add rate limiter + command to set readpos 2022-12-18 17:33:57 +01:00