Florian
4d8ba2a680
[SYS] Better handling of certs and OTA checks ( #1695 )
...
Add a macro to enable removal of update checks
Separate certificates from user_config.h
Consider latest version as the default
Do not use a cert if the url is not
Simplify AWS macro scope
2023-06-22 13:03:22 -05:00
Florian
03105651aa
[CI] Add new boards into web upload release production and dev ( #1685 )
2023-06-14 12:48:33 -05:00
Florian
e27e055bf8
[DOCS] Update devices from new decoder version ( #1675 )
2023-06-10 15:01:17 -05:00
Florian
0dbb0f1bdf
[RN8209] Adjust task watchdog timeout ( #1674 )
2023-06-10 14:42:35 -05:00
Florian
f31ed28df7
[SYS] Add failsafe mode ( #1673 )
...
A press at start during more than 30s after a previous reset will start the board in failsafe mode
2023-06-09 15:37:26 -05:00
Florian
b6df2006bf
[BT] Bump decoder to v1.5.0 ( #1672 )
2023-06-08 19:52:48 -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
53f267799a
[CM] Add ps1 script ignore ( #1666 )
2023-06-06 14:22:17 -05:00
Florian
15416e99b1
[DOCS] Add JSONPath prerequisite ( #1663 )
2023-05-31 11:48:30 -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
Florian
4a28f491f5
[RN8209] Add task WDT ( #1657 )
...
Add WDT and reduce update as we now have a change based pub mechanism
Base the change detection on current rather than power and simplify it
Round the result to 2 digits after comma
Add docs
2023-05-30 08:14:23 -05:00
Florian
4b7b47c30c
[SYS] Catch preferences operation returns ( #1646 )
...
in the logs
2023-05-20 15:18:10 -05:00
Florian
aa63571537
[DOCS] Improve actuator documentation ( #1645 )
2023-05-19 10:51:12 -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 and Northern Man
474b8a87ab
[DOCS] Add webUI warning ( #1637 )
...
* [DOCS] Add webUI warning
* Update webui.md
---------
Co-authored-by: Northern Man <19808920+NorthernMan54@users.noreply.github.com >
2023-05-08 17:49:02 -05:00
Florian
705432b026
[LPM] Check preference key exist ( #1634 )
...
And don't go through this check if low power mode is deactivated
2023-05-05 12:00:24 -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
b03e18260f
[RN8209] Fix publishing repeat ( #1631 )
2023-05-02 14:10:29 -05:00
Florian
25991bfbb4
[RN8209] Publish on change detect and heap usage optim ( #1630 )
...
Publish the RN8209 depending on a threshold added to a frequency
Also merge the 2 tasks into one to save heap
2023-05-02 10:31:58 -05:00
Florian
ad4e4b55c7
[IND] Fix red led display ( #1629 )
...
Fix critical indicator not working on development branch
2023-05-01 16:27:51 -05:00
Florian
9f71a50109
[SYS] Change eraseAndRestart scope ( #1627 )
2023-04-29 18:23:23 -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
db32df90b8
[WebUI] Use common methods for restart and erase ( #1624 )
2023-04-28 16:03:03 -05:00
Florian
587797a7b3
[RN8209] Fix processlock usage ( #1623 )
...
* [RN8209] Fix processlock usage
Update processlock usage to the while, instead of the higher level condition that is never checked after the task is launched
2023-04-28 16:02: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
Florian
4b8dfbea42
[DISCOVERY] Improve method checks ( #1620 )
...
Check if char array is not null before reading their first char.
2023-04-27 20:19:45 -05:00
Florian
57651334dc
[DOCS] - Add ElectroMaker video ( #1617 )
...
* [DOCS] - Add ElectroMaker video
2023-04-24 07:40:41 -05:00
Florian
80f3ac219e
[SYS] Shorten gateway names ( #1601 )
...
To avoid being outside of AP name max length
2023-04-10 12:34:19 -05:00
Florian
38af4b86ca
[DOCS] RF update ( #1602 )
...
Add srx882s and improve overall
remove FS1000A and XD RF
2023-04-09 18:46:01 -05:00
Florian
5b2075dd5c
[SSL] Update MQTT cert size ( #1600 )
...
To accommodate larger certificates
2023-04-09 18:22:59 -05:00
Florian
ac0215b5be
[OTA] Fix BLE memory release when not using "latest" version ( #1599 )
2023-04-08 10:27:55 -05: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
Florian
5cd13e0d0d
[OTA] Add version_tag automatic replacement to workflow ( #1578 )
2023-03-26 17:19:16 -05:00
Florian
b806ea9354
[DOCS] Fix tip note for switchbot ( #1577 )
2023-03-26 10:29:23 -05:00
Florian
404b224871
[DOCS] Update presence detection docs ( #1575 )
2023-03-24 19:54:21 -05:00
Florian
95896e0a04
[BT] Bump decoder version ( #1574 )
2023-03-24 10:36:25 -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
d1e9e8bf9b
[RN8209] Fix in use switch value ( #1572 )
2023-03-23 18:25:13 -05:00
Florian
11faf9a948
[SSD1306] Give some time for the flash to start ( #1571 )
...
Before reading the preferences, the goal is to avoid getting stuck during preferences reading operations
2023-03-23 14:11:19 -05:00
Florian
22ea25c986
[RF] Filter interlogix discovery ( #1570 )
...
Currently, many entities are created with this device, but it seems more like a noise than real devices as they only present an RSSI and battery property. So filtering changes while we search for library optimization.
2023-03-23 13:12:28 -05:00
Florian
699de44895
[BT] Decoder dev branch ( #1565 )
2023-03-23 11:29:39 -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
Florian
86744b283b
[SYS] Bump ESP32 platform to v6.1.0 and ESP8266 to v4.1.0 ( #1547 )
...
* Bump ESP32 platform to v6.1.0 and ESP8266 to v4.1.0
* Fix ESP32 not connecting to Ethernet
And remove check updates as it is now done every hour
* Do not define LED pins if not explicitly stated
* OLED need to be reset for Heltec Lora 32 V2
* Fix issue with SSD1306 saving
2023-03-23 11:24:49 -05:00
Florian
537d4849e5
[NTP] Only check NTP when user requires timestamp ( #1569 )
2023-03-23 10:44:05 -05:00
Florian
8d1488e4c1
[OTA] Fix invalid json ( #1568 )
2023-03-23 10:43:30 -05:00
Florian
b7b3bbb91a
[OTA] Change topic for last update status ( #1561 )
...
To avoid conflict with the SYStoMQTT information
2023-03-21 15:36:15 -05:00
Florian
e1fef642cd
[BM2] Fix discovery relying on MODEL_ID ( #1560 )
...
To don't take into account the iBeacons messages change the condition to is not defined
2023-03-21 13:07:09 -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
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
Florian
c12f51ee0e
[OTA] Remove version_tag from title ( #1546 )
...
To avoid redundancy in the display
2023-03-17 16:10:51 -05:00
Florian
d530841b0e
[DOCS] Add required version for single command OTA ( #1542 )
2023-03-16 11:23:23 -05:00
Florian
3f92e14ba6
[HA Discovery] Auto Off timer ( #1541 )
...
* [HA Discovery] Auto Off timer
Auto deactivate discovery after 30min from the last activation, goal is to avoid unwanted entities created
2023-03-16 10:43:18 -05:00
Florian
9219ff928c
[OTA] Improve user feedback and regorganize processing ( #1540 )
...
To see OTA progress through MQTT messages or controller
And change the stopProcessing position so as to reduce chance of collision with other processes
2023-03-16 10:01:20 -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
17ce2debce
[OTA] Add hourly update routine for update check ( #1538 )
...
Update check will be done at start and hourly
2023-03-16 07:59:39 -05:00
Florian
3b134fce87
[BT] Bump TheengsDecoder to v1.3.0 ( #1536 )
2023-03-15 14:28:46 -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
Florian
3ceb19f7be
[DOCS] Improbe BLE gateway guide ( #1530 )
...
Add images, intro and reorganize sections
2023-03-13 19:28:32 -05:00
Florian
7567552a58
[RTL_433 Discovery] Do not store the devices if discovery off ( #1518 )
2023-03-10 14:25:12 -06:00
Florian
9e642de3aa
[DOCS] Clarify RF ( #1503 )
2023-03-09 09:53:05 -06:00
Florian
68a556161f
[BUILD] Add gitpod to build the firmware ( #1515 )
...
Allow to build OMG from a web browser and download the binary
2023-03-09 08:55:05 -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
a9f8f803e5
[HA Discovery] Fix discovery switch ( #1509 )
...
extend scope of boards
2023-03-07 14:24:51 -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
Florian
df228a4aa4
[RN8209] Add measurement class ( #1507 )
...
To enable statistics
2023-03-06 14:18:42 -06:00
Florian
d9bac3be44
[Discovery] Re-add the discovery switch ( #1506 )
...
revert #1365 , indeed the switch may be usefull to avoid non desirable discovery of RTL_433 or BT devices #1487
2023-03-06 14:18:05 -06:00
Florian
6e8ada44b5
[SSD1306] Add discovery ( #1505 )
2023-03-06 12:52:40 -06:00
Florian
578f522356
[RTL_433 Discovery] Add Govee water sensor Status entity ( #1499 )
...
* [RTL_433 Discovery] Add Govee water sensor Status entity
Add Govee water status sensor auto discovery as a binary_sensor, the entity will detect Water Leak Event and go back to Off state after 60seconds
* Format and comment
2023-03-03 14:51:55 -06:00
Florian
9850d1d5dd
[RN8209] Avoid power returning 0 ( #1497 )
...
don't return data when the read is unsuccessfull
2023-03-02 11:12:11 -06:00
Florian and Florian
588b1d6e3b
[RTL_433] Bump to 0.1.7 ( #1496 )
...
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2023-03-02 11:11:23 -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
Florian
fa636bae0f
[BT] Adaptive scan sequence change ( #1493 )
...
When reactivating adaptive scan, restore default
2023-03-01 17:09:18 -06:00
Florian
454a062b3b
[OTA] Enable 2 clicks OTA update / one simple MQTT command ( #1485 )
...
* [OTA] Add automatic OTA updates
This feature will enable to update the gateway with one button or a simple MQTT command.
* [CI] Enable automatic OTA for nightly development builds
And integrate the latest_version file creation into the CI
Enable to specify a particular version
and switch between dev and production builds
2023-02-27 12:54:30 -06:00
Florian
e83bfb0e4d
[DOCS] Add video link and fix existing one ( #1486 )
2023-02-25 11:06:18 -06:00
Florian
e3fca93e67
[DOCS] Support details ( #1466 )
2023-02-17 08:29:27 -06:00
Florian
8959e0cda8
[Discovery] Remove legacy entities ( #1463 )
...
To avoid a manual removal from the broker, remove legacy entities automatically
2023-02-16 16:33:40 -06:00
Florian
b9607fb70e
[DOCS] Replace video preview ( #1465 )
2023-02-16 13:54:07 -06:00
Florian
bf95ae13e8
[DOCS] Add media references ( #1464 )
2023-02-16 13:45:13 -06:00
Florian
091d8a4fa7
[BT] Fix for saving interval and intervalacts separately from the save keyword ( #1462 )
...
The interval and intervalacts were overwritten at startup when adaptive scan was deactivated
2023-02-15 15:27:29 -06:00
Florian
d09f13bf86
[CI] Add build as a prerequisite of the documentation ( #1457 )
...
So as to avoid empty upload page
2023-02-13 16:39:48 -06:00
Florian
b7e0872f05
[ONOFF] Set power indicator status at start ( #1456 )
...
So that it reflects the real state of the relay even if a restart of the board was done
2023-02-13 10:18:18 -06:00
Florian
37dfe8008c
[BT] Bump decoder to v1.2.0 ( #1454 )
2023-02-12 16:27:10 -06:00
Florian
52a13c4826
[DOCS] Add reset time and low power mode indications ( #1452 )
2023-02-10 18:49:50 -06:00
Florian
6dbcd0d888
[LED RGB] Enable ON OFF Led power display depending on actuator status ( #1451 )
...
Switch ON the power LED to green when the Actuator is ON and switch it OFF when the Actuator is OFF
2023-02-10 18:49:18 -06:00
Florian
115fdf80aa
[BT] Improve conditions of adaptive scanning ( #1450 )
...
To avoid setting several times the BLEinterval for one sensor
2023-02-10 17:54:56 -06:00
Florian
5bcf214d68
[LPM] Add capability to deactivate the function at build time ( #1449 )
...
To enable boards with the constant power supply to don't build this function.
Change the default behavior for the mode not to be built by default.
Only the boards with batteries are keeping it
2023-02-10 17:07:28 -06:00
Florian
7c0fafd48e
[BT] Continuous active scanning when adaptive scanning is false ( #1448 )
...
Set `interval` and `intervalacts` to the minimum when adaptive scanning is deactivated. When the user encounters a situation on which a device is not detected due to adaptive scanning, we set the gateway to continuous active to maximize the chance to detect the device.
2023-02-10 17:05:52 -06:00
Florian
159d362f2a
[TRIGGER] Enable reset at start when InputGPIO is used ( #1447 )
...
TimeToResetAtStart defines the start period
2023-02-10 17:04:58 -06:00
Florian
799d8e2e85
[WIFI] Increase delay between first wifi connection attempt ( #1446 )
...
This improves the chances of reconnection with this mode (before doing it with the wifi manager part)
2023-02-09 16:19:12 -06:00
Florian
1b0778dc0a
[LPM] - Update state ( #1445 )
...
When issuing a low power mode change update the state to the controller
2023-02-09 16:18:39 -06:00
Florian
26c0cca614
[LPM] - Fix reboot loop when low power is used ( #1444 )
...
By not deinitializing BLE at the start, if it has not been initialized. Setting the time between waking up from the macro rather than the config interval.
This one does not have a value at the start.
2023-02-09 15:19:09 -06:00
Florian
53e4473810
[HA Discovery] - Optimize low power mode discovery ( #1443 )
...
Merge the sensor and the switch in one entity
2023-02-09 14:45:18 -06:00
Florian
ec1731b566
[DOCS] - Add nightly builds link ( #1441 )
2023-02-08 11:22:45 -06:00
Florian and DigiH
f283327998
[BT] - Adaptive scan ( #1440 )
...
* [BT] Adaptive scan
Add adaptive scan to avoid users setting parameters and deduct automatically the scan requirements from the list of devices
---------
Co-authored-by: DigiH <github@digih.net >
2023-02-07 17:36:18 -06:00