Florian
83137f6ac9
[SYS] Publish the reboot reason with retain flag ( #1802 )
...
So as to have the information stored on the MQTT broker
Also remove stopProcessing, not necessary as we follow by a restart
2023-11-14 08:53:50 -06:00
Florian
e576b26b8c
[BT] Fix HA discovery for motion and door sensor ( #1798 )
...
* [BT] Fix HA discovery for motion sensor
* Add status binary sensor and text sensor
2023-11-13 17:14:21 -06:00
Florian
aca0850cd8
[SYS] Improve central queue stability ( #1796 )
...
* [SYS] Improve central queue stability
Improve central queue stability and add metrics
* Change partition for esp32dev-pilight-somfy-cc1101
to avoid program size too big error message with esp32dev-pilight-somfy-cc1101
* Only check for gateway updates at the start
to avoid consuming extra memory during operations
Publish the information about the available release with the retain flag
2023-11-12 12:59:45 -06:00
Florian
029409c0c3
[SYS] Implement a central queue ( #1767 )
...
to avoid concurrency issues when modules or/and gateways want to publish data
2023-11-08 07:26:21 -06:00
DigiH
7c48129f37
[BT] BM2 adjustment to only require model_id ( #1777 )
...
BM2 adjustment to only require model_id and not broadcast names any longer with adjusted BM2 decoder
2023-11-02 08:53:14 -05:00
DigiH
45bd18b03c
[BT] BM2 Tracker addition and Discovery adjustment ( #1765 )
...
* BM2 as Tracker additions
* BM2 discovery update
2023-10-12 15:29:20 -05:00
DigiH
d9f363c55a
[BT] Mi Scales adjustment ( #1769 )
2023-10-06 11:25:09 +02:00
Zhiqiang Wang
00b2ec93cb
[DISC] make mi scale weighing_mode and unit enum ( #1766 )
...
* make mi scale weighing_mode and unit enum
* lint
2023-10-05 19:55:07 -05:00
DigiH
592dcd3be6
BM2 name extension ( #1750 ) ( #1754 )
...
BM2 name extension for connection
2023-09-22 18:23:33 +02:00
Florian
9caccbd14c
[OTA] Stop the BLE scan when doing OTA ( #1731 )
...
Rather than waiting for its end. This will improve the success rate of OTA especially when the scan duration is high
2023-08-11 21:12:46 -05:00
Florian
79a8591b83
[BT] Fix RMAC filter ( #1728 )
2023-08-07 16:34:53 -05:00
Florian
1f2f8dc1d6
[BT] Avoid duplicates messages ( #1727 )
2023-08-07 09:38:04 -05:00
Florian
fac602e457
[BT] Restarting the tasks is not enough in case of BLE stack stuck ( #1725 )
...
So restart the ESP instead
2023-08-03 06:49:33 -05:00
Florian
4ff05d5ac4
Bump decoder to 1.5.5 ( #1699 )
...
Filter the new attribute mac to avoid creating discovery sensor for it
2023-06-27 08:03:46 -05:00
Florian
5ff086a296
[BT] Fix BLE MQTT command trigger a reset ( #1698 )
...
Problem introduced with the bump of ESP32 platform from 3.5.0 to 6.1.0
2023-06-26 05:13:41 -05:00
Dave
b5bc0f5dfc
[SYS] Add timestamp for messages ( #1677 )
...
* add timestamp for RTL_433 messages
- add timestamp when puglishing
- add "GMT" as timezone for timestamp
* move timestamp publishing to main.ino
2023-06-15 15:17:41 -05:00
Florian
02d3b11a89
[BT] Avoid decoded duplicates ( #1670 )
2023-06-08 08:41:06 -05:00
Florian
d3a53cef93
[BT] Enable the publication of non decoded servicedata when several are advertised ( #1667 )
...
Before the service data were overiden by the last one, with this modification several mqtt messages will be published, one per service data
2023-06-06 19:54:23 -05:00
Florian
6e23ca029b
[DISC] Add runtime configuration for OpenHAB ( #1658 )
...
* [DISC] Add runtime configuration for OpenHAB
Add an MQTT configurable system key "ohdiscovery" for OpenHAB auto discovery
* Docs and environments update
2023-05-31 11:35:35 -05:00
DigiH
88fc5643e8
[BT] Force Active Scan when same interval as as Passive Scan ( #1654 )
2023-05-24 13:20:09 -05:00
Florian
4b7b47c30c
[SYS] Catch preferences operation returns ( #1646 )
...
in the logs
2023-05-20 15:18:10 -05:00
Florian
e640c8342a
[CFG] End preferences when key not found ( #1640 )
2023-05-11 12:53:36 -05:00
Florian
b1667190d5
[BLE] Add moving beacon detection ( #1636 )
2023-05-11 07:42:52 -05:00
Florian
28f9fbff60
[BLE] When BLE watchdog is triggered, only deinit and reinit BLE ( #1635 )
...
* [BLE] Watchdog restart BLE only
* Add minFreeHeap and blecorestacktrace indicators
2023-05-11 07:42:20 -05:00
Florian
9bbe909661
[SYS] Optimize memory usage ( #1632 )
...
Add MQTT BLEtask stack follow up and reduce allocated stack
Other memory usage optimizations
2023-05-02 15:22:57 -05:00
Florian
39b36b4456
[BT] More aggressive memory release when stopping process ( #1626 )
...
To enable smoother OTA
2023-04-29 08:04:38 -05:00
Florian
177fb97715
[SYS] Refactor ESPrestart ( #1625 )
2023-04-28 17:06:23 -05:00
Florian
79615516ef
[BT] BLE Scan watchdog relying on scan count rather than msgs processed ( #1622 )
...
* [BT] BLE Scan watchdog relying on scan count rather than msgs processed
* Condition the scan increment following the scan result
2023-04-28 15:14:01 -05:00
Northern Man
5927259db6
[BT] Fixes for DT24 Triggering restart during discovery ( #1614 )
2023-04-24 07:47:02 -05:00
DigiH
de07e46494
Config Save typo fix ( #1611 )
2023-04-17 18:01:50 +02:00
Florian
6e8b463213
BT Watchdog Timer ( #1590 )
...
Implement a BLE scan watchdog to bypass the problem related to the BLE scan hang scan_evt timout
2023-04-06 15:08:40 -05:00
DigiH
e560bd7904
[SYS] Avoid nvs errors ( #1588 )
...
Avoid nvs errors when trying to load or erase non-existent nvs preferences.
2023-04-05 14:18:59 -05:00
Northern Man
9b6133ff03
WebUI - First Release ( #1586 )
...
* WebUI - First Release
* Lint / Build Issues
* Add WebUI as a default module
* Fix ESP8266 builds
2023-04-05 14:17:08 -05:00
Florian
338fc43825
[OTA] Free memory by deleting BT tasks when launching OTA ( #1573 )
...
* [OTA] Free memory by deleting BT taskswhen launching OTA
and restart if fail
Also factorize restart function for ESP
2023-03-24 10:12:08 -05:00
Florian
46273763ed
[HA Discovery] Fix trackers being auto discovered with all their properties ( #1567 )
...
* [HA Discovery] Fix trackers being auto discovered with all their properties
* Fix HA warning
Template varaible warning when rssi key is absent
2023-03-23 11:25:22 -05:00
DigiH
85d6494d62
[BT] "track" tag removal ( #1562 )
...
"track" tag removal when pubAdvData is false
2023-03-22 13:01:49 -05:00
Florian
80e00883fb
[HA Discovery] Fix RMAC discovery of unwanted devices ( #1557 )
2023-03-20 14:36:47 -05:00
Florian
9299ee7970
[BT] Fix discovery of device tracker Tile that adv name only ( #1556 )
2023-03-20 13:01:03 -05:00
Northern Man
d2470288e5
[BT] InUse updates for DT24 ( #1553 )
2023-03-20 07:38:55 -05:00
Florian
85650a6204
[BT] Device tracker presence detection ( #1548 )
...
Add device tracker detection and automatic creation following HA discovery convention
So as to trigger the away state, add an offline status to the identified BLE trackers
2023-03-20 07:31:00 -05:00
ilgrank
c8510f2605
[SYS] Add utc & unix timestamp options to SYStoMQTT and Sensor messages ( #1533 )
...
Add optional timestamps to the SYStoMQTT and modules messages
Also, the sync with the NTP time server now occurs every hour (can be defined with TimeBetweenCheckingSYS in UserConfig.h)
2023-03-17 10:49:27 -05:00
Florian and h2zero
33ea56bf12
[BT] copy advertised device to avoid concurrent data access. ( #1537 )
...
Co-authored-by: h2zero <powellperalata@gmail.com >
2023-03-16 08:00:47 -05:00
Florian
390302a6fa
[HA Discovery] Filter on type rather than model_id ( #1535 )
...
For maintainability
Add Ibeacon in the filtering as they are not identified with RMAC type
2023-03-15 14:28:12 -05:00
DigiH
c7547044fe
Scan_Duration as MQTT command ( #1516 )
...
Scan_Duration as runtime MQTT command 'scanduration'
2023-03-10 15:12:08 -06:00
DigiH
95b749833c
[BT] Known Random MAC address filtering ( #1514 )
...
* [BT] Random MAC address filtering
Random MAC address filter with runtime boolean setting
randommacs
* APPLE_CONT added to discovery and data process
2023-03-09 09:35:16 -06:00
Florian
8f47a80303
[BT Discovery] Improve BM2 discovery ( #1510 )
...
to filter advertisement coming from iBeacon packets that contains volt
as the voltage is not properly advertised throught the iBeacon packet and render a wrong voltage
2023-03-07 19:35:57 -06:00
Florian
9c73896999
[BT Discovery] Deactivate/Activate sliders dynamicaly depending on auto adaptive state ( #1502 )
...
To avoid having unnecessaries commands in the interface
2023-03-06 14:20:08 -06:00
DigiH
1b5215de42
[SSD1306] Partial MAC address in BLE title ( #1498 )
...
* partial MAC in title
• Last three octets of MAC address in title to differentiate devices with the same model name.
• fixed memory leak
• process optimisation
* lcd to oled
lcd to oled renaming
2023-03-03 14:53:07 -06:00
Florian
f35baa9da0
[BT] Add BM2 voltage ( #1495 )
...
* [BT] Add BM2 voltage
Voltage retrieval through a BLE connection, frequency of the BLE connection is defined by `intervalcnct`
* Add doc
Credits to https://github.com/KrystianD/bm2-battery-monitor
2023-03-02 11:02:03 -06:00
Florian
1cdf6558a9
[ONOFF] ESP32 Attempt to recover previous actuator state when power has been lost and overcurrent detection change ( #1494 )
...
And set the trigger of overCurrent to 2 consecutive measures
2023-03-01 17:44:07 -06:00