Commit Graph

60 Commits

Author SHA1 Message Date
Yurii
335429a52e fix: set mqtt prefix before connection 2024-01-19 03:37:54 +03:00
Yurii
133015d7b9 refactor: network management code moved to MainTask (memory optimization); removed stopping DHCP server and client on reset wifi 2024-01-17 16:08:53 +03:00
Yurii
a9c9457918 refactor: added doc.clear() doc.shrinkToFit() in some code areas 2024-01-14 19:57:25 +03:00
Yurii
520baa4920 refactor: sensors type settings moved to portal, entities for HA have been deleted; logging settings moved; bump version 2024-01-14 19:16:24 +03:00
Yurii
a6098555dc refactor: optimization of connection to MQTT 2024-01-14 16:33:32 +03:00
Yurii
5ee1c7029b fix: updated connection logic to MQTT and enable/disable emergency mode 2024-01-14 15:48:57 +03:00
Yurii
ab1e9c761f * feat: new portal & network manager
* refactor: migrate from PubSubClient to ArduinoMqttClient
* refactor: migrate from EEManager to FileData
* chore: bump ESP Telnet to 2.2
* chore: bump TinyLogger to 1.1.0
2024-01-12 18:29:55 +03:00
Yurii
347723cbba fix: rename entities #26
* Current heating min temp => Boiler heating min temp
* Current heating max temp => Boiler heating max temp
* Current DHW min temp => Boiler DHW min temp
* Current DHW max temp => Boiler DHW max temp
2023-12-22 19:15:00 +03:00
Yurii
06659b749a fix: rounding numbers in MqttTask 2023-12-22 18:54:39 +03:00
Yurii
68f412e670 fix: added timeout for wifi client 2023-12-21 18:54:59 +03:00
Yurii
ff5da950c1 fix: correction of PID coefficients limits 2023-12-21 16:34:21 +03:00
Yurii
025a185bbf refactoring: timings 2023-12-20 16:47:36 +03:00
Yurii
4e980b6e5b feature: added settings.pid.dt, editable via mqtt 2023-12-20 08:11:08 +03:00
Yurii
4bf3b575db feature: use pid in emergency mode 2023-12-19 16:44:54 +03:00
Yurii
c87e08c6af small fix 2023-12-18 08:05:41 +03:00
Yurii
0236a0dd8a optimization for esp8266 2023-12-17 13:21:25 +03:00
Yurii
7149f52d62 Heap fragmentation optimization
Moving object creation to task constructors
2023-12-16 05:05:37 +03:00
Yurii
315a975aa8 mqtt refactoring, change version to 1.4.0-rc.1
* added MqttWriter
* added MqttWiFiClient (modified WiFiClient for esp8266)
* adaptation HomeAssistantHelper for MqttWriter
* adaptation HaHelper for new HomeAssistantHelper
2023-12-16 00:29:19 +03:00
Yurii
e13984f869 small fix 2023-12-14 06:00:09 +03:00
Yurii
6a9a069043 removed unused lib 2023-12-14 04:02:23 +03:00
Yurii
2a28f664cf bump ArduinoJson to 7.x, refactoring MqttTask 2023-12-13 23:23:54 +03:00
Yurii
c048f31672 added check for success of PubSubClient::beginPublish() 2023-12-10 19:47:28 +03:00
Menno de Graaf
b416110d4f Merge branch 'master' into ble-support 2023-12-10 14:23:20 +01:00
Yurii
29ff38c285 inc interval for yield in HomeAssistantHelper 2023-12-10 01:27:58 +03:00
Yurii
1f81ec1ba5 fix publish non static ha entities 2023-12-09 08:32:02 +03:00
Yurii
e8f26aff65 fix exception due to mqtt client 2023-12-09 08:14:17 +03:00
Menno de Graaf
5ecbddc929 Add support for BLE temp sensors 2023-12-08 10:32:58 +01:00
Yurii
96d506ba57 refactoring 2023-12-07 22:03:41 +03:00
Yurii
c95a19eb42 fix current temperature in climate.heating entity 2023-12-05 19:52:57 +03:00
Yurii
9b32ccca16 small fix 2023-12-04 08:49:57 +03:00
Yurii
88682eef13 modify task priority for ESP32, remove attach to core 2023-12-02 23:06:32 +03:00
Yurii
a457ab31be added buffer for writing to mqtt, refactoring 2023-12-02 23:03:19 +03:00
Yurii
40d9606bea bump TinyLogger to 1.0.5 2023-11-29 18:47:16 +03:00
Yurii
0ded2c53d8 TinyLogger bump to 1.0.4 2023-11-26 19:33:08 +03:00
Yurii
8a4b598161 many changes
* migrate from jandrassy/TelnetStream to lennarthennigs/ESP Telnet
* ability to turn on/off output logs to telnet and serial
* memory optimization
* added OT parameter DHW blocking
* changed algorithm for setting OpenThermMessageID::MConfigMMemberIDcode
* refactoring
2023-11-26 00:17:47 +03:00
Yurii
0dee4c20ce refactoring 2023-11-23 09:08:02 +03:00
Yurii
70e577e29f states.faultCode moved to sensors.faultCode, states.rssi moved to sensors.rssi, states.uptime moved to sensors.uptime 2023-11-23 05:11:58 +03:00
Yurii
b268ff4007 reformat code 2023-11-23 04:57:23 +03:00
Yurii
92a2cb9d56 added DHW flow rate from OT 2023-11-23 04:41:39 +03:00
Yurii
7bfad224fe fix set min & max dhw temp 2023-11-23 01:56:19 +03:00
Yurii
b5a0550c72 fixes 2023-11-22 23:29:31 +03:00
Yurii
c556c38cbc small fix settings 2023-11-22 23:07:02 +03:00
Yurii
44fdff61bd fix naming 2023-11-22 23:04:34 +03:00
Yurii
18acf059fc memory optimization 2023-11-22 21:00:19 +03:00
Yurii
227060591f add parameter for max modulation 2023-11-22 20:59:37 +03:00
Yurii
5672ff0c3d use TinyLogger lib 2023-11-22 17:53:43 +03:00
Yurii
7c5810e6d1 features
* Added new OT parameters
* Improved compatibility with the boiler ITALTHERM TIME MAX 30F
* Refactoring min/max temp
* Fix port forwarding: disable captive portal after connecting to wifi
* Compatible with WOKWI emulator
* upd README
2023-11-17 21:47:33 +03:00
Yurii
b5760eb314 fixed heap size
fixed core numbers for esp32 tasks
compatible with lolin_c3_mini
delete task main loop() for esp32
2023-11-12 20:54:02 +03:00
Yurii
eedbd7b80a auto restart after changing some settings 2023-11-11 21:40:22 +03:00
Yurii
a255dda8dd Compatible with ESP32 2023-11-11 05:01:36 +03:00