Commit Graph

54 Commits

Author SHA1 Message Date
Yurii 554342e7f5 feat: added a choice of averaging type for indoor and outdoor temperatures 2026-05-16 00:44:54 +03:00
Yurii 8186e17912 refactor: BLE scanning instead of connecting to BLE devices (#243)
* refactor: passive scan instead of connecting to BLE devices

* refactor: increased disconnected timeout for sensors

* fix: build for nodemcu32, c3, c6 boards; formatting ``platformio.ini``

* refactor: decreased interval and window for scanning BLE

* refactor: active + passive BLE scanning

* refactor: reduced tasks stack size

* style: formatting

* refactor: improved OTA upgrade

https://github.com/ESP32Async/ESPAsyncWebServer/pull/329

* chore: fix dependencies

* chore: reformat `platformio.ini`

* chore: dependencies fixed

* feat: added support BTHome v2 format for BLE sensors #215

* refactor: cosmetic changes

* fix: move OpenThermTask to 0 core

* chore: minimizing flash size with NimBLE

* chore: dependencies updated
2026-05-10 09:43:48 +03:00
Yurii 3fdb48e016 feat: added support DHT11/DHT22 sensors (#223)
* feat: Added support DHT11/DHT22 sensors

* chore: formatting

* fix: typo

* fix: `HaHelper::publishDynamicSensor()` for DHT sensors fixed

* refactor: optimization of wired sensors
2026-02-16 10:17:38 +03:00
Yurii e4d1ba7d7b refactor: added different timeouts for wired and wireless sensors 2026-01-26 01:03:26 +03:00
Yurii cf81ff5856 refactor: improved work with BLE sensors 2025-10-10 05:35:57 +03:00
Yurii d4addf887f refactor: improved work with BLE sensors 2025-10-09 08:13:33 +03:00
Yurii 9d77256051 refactor: not initialize Bluetooth if BLE sensors are not used 2025-10-03 20:56:04 +03:00
Yurii 28a5218b7c fix: various fixes
Found by PVS-Studio
2025-09-23 04:02:40 +03:00
Yurii 8fa440810c refactor: status BLE sensors 2025-03-05 02:28:17 +03:00
Yurii 38acae417d refactor: reworked BLE sensors
* add clean unused ble instances
* moved subscribe to notify to another method
* set date/time on BLE sensors
2025-01-30 01:46:55 +03:00
Yurii a78f35328f refactor: increased timeout for nimble 2025-01-24 04:48:09 +03:00
Yurii c524abd959 refactor: trying to improve connection to BLE devices 2025-01-24 03:17:14 +03:00
Yurii e8d0ad0a4e refactor: improved work with clones (not original) of DS18B20 sensors 2024-12-23 11:37:54 +03:00
Yurii 4702909043 fix: BLE power 9 dbm with NimBLE-Arduino 2.1.x 2024-12-18 21:58:45 +03:00
Yurii 2e3b38e14f refactor: compatibility with NimBLE-Arduino 2.1.x 2024-12-17 11:24:49 +03:00
Yurii 50280f6db3 fix: negative temperature values from BLE devices 2024-12-04 05:36:04 +03:00
Yurii 19feb85230 refactor: some changes 2024-11-15 00:25:41 +03:00
Yurii 861db33765 feat: added signal quality for DALLAS sensors 2024-11-13 00:57:01 +03:00
Yurii e04462811b refactor: improved NTC polling 2024-11-11 12:56:18 +03:00
Yurii fda18cdb13 refactor: memory optimization for esp8266 2024-11-11 02:41:39 +03:00
Yurii 6a9bd9673a fix: `Sensors::cleanDallasInstances()` fixed 2024-11-10 01:32:42 +03:00
Yurii fcf7d61ca5 fix: polling ntc on esp8266 fixed 2024-11-09 17:41:39 +03:00
Yurii e71f3868fd refactor: dynamic sensors 2024-11-09 17:10:26 +03:00
Yurii c03df67900 fix: fixed crash if BLE service not found #88 2024-10-31 05:25:34 +03:00
Yurii 1b2bc8e200 feat: added feat use of BLE external sensor; added events onIndoorSensorDisconnect and onOutdoorSensorDisconnect for emergency mode; added polling of rssi, humidity, battery for BLE sensors 2024-08-20 19:06:18 +03:00
Yurii 8b50fdec21 fix: fix typo 2024-06-20 06:41:32 +03:00
Yurii ce7bd7e23b feat: migrate to arduino-esp32 core 3.0.1 2024-06-10 16:20:03 +03:00
Yurii 935f8bd0a8 fix: outdoor sensor GPIO validation fixed 2024-05-25 00:17:55 +03:00
Yurii 8687e122ca feat: added native heating control by boiler; refactoring; emergency settings removed from HA 2024-04-22 08:18:59 +03:00
Yurii 96289cb0f7 fix: reset onewire before begin (fix DS18B20) 2024-04-11 04:09:11 +03:00
Yurii 2f4dbcc205 feat: added unit system selection 2024-03-20 02:37:20 +03:00
Yurii a5f6749101 refactor: added SensorType enum 2024-03-14 13:07:42 +03:00
Yurii b07dd46f55 refactor: optimization
* names changed: pin => gpio
* ability to change OpenTherm GPIO without rebooting
2024-03-10 04:10:18 +03:00
Yurii 8fb62ce8ae fix: set temperature for sensors in manual mode fixed 2024-02-23 03:50:30 +03:00
Yurii c4b6eadb81 refactor: using BLE advertising instead of manual requests 2024-02-20 15:29:14 +03:00
Yurii 04a6b4e1b0 refactor: additional checks when initializing sensors 2024-01-13 20:32:55 +03:00
Yurii b36e4dca42 refactoring: moving some strings to flash memory 2024-01-12 18:12:33 +03:00
Yurii 7149f52d62 Heap fragmentation optimization
Moving object creation to task constructors
2023-12-16 05:05:37 +03:00
Yurii b6276ddb3f ble in HaHelper refactoring 2023-12-10 23:30:45 +03:00
Menno de Graaf 84c3859c5d Use USE_BLE flag to enable/disable BLE temp sensors 2023-12-10 14:17:13 +01:00
Menno de Graaf 5ecbddc929 Add support for BLE temp sensors 2023-12-08 10:32:58 +01:00
Yurii 88682eef13 modify task priority for ESP32, remove attach to core 2023-12-02 23:06:32 +03:00
Yurii 0ded2c53d8 TinyLogger bump to 1.0.4 2023-11-26 19:33:08 +03:00
Yurii eb2dcd7c09 fix when using two sensors, str to flash 2023-11-26 16:02:38 +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 5672ff0c3d use TinyLogger lib 2023-11-22 17:53:43 +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 a255dda8dd Compatible with ESP32 2023-11-11 05:01:36 +03:00
Yurii f8750373d4 format code 2023-10-19 00:40:07 +03:00
Yurii 229628fdc5 Many changes.
1. Migrate from microDS18B20 to DallasTemperature
2. Refactoring of sensors: added an external temperature sensor inside the house, added an "offset" parameter for sensors
3. Fixed PID
4. New parameters added:
- settings.heating.minTemp
- settings.heating.maxTemp
- settings.dhw.minTemp
- settings.dhw.maxTemp
- settings.pid.minTemp
- settings.pid.maxTemp
- settings.sensors.outdoor.type
- settings.sensors.outdoor.pin
- settings.sensors.outdoor.offset
- settings.sensors.indoor.type
- settings.sensors.indoor.pin
- settings.sensors.indoor.offset
5. Fixed and updated HomeAssistantHelper
7. Added check for validity of settings. After some updates, the settings may be reset to default, but this will prevent the settings from being distorted.
2023-09-21 05:18:05 +03:00