Commit Graph
1299 Commits
Author SHA1 Message Date
DigiH 7df72f6983 [DOCS] formatting fix (#1651) 2023-05-22 14:52:05 -05:00
flo-x a06ab76c26 [FASTLED] Make fastled configurable via command-line defines (#1649) 2023-05-22 14:47:41 -05:00
flo-x 5b85c74230 Compare time differences instead of timestamps (#1648)
Comparing two results of millis() can result in erroneous
behavior when the value of millis() wraps around, which
happens after around 25 days of uptime. Comparing time
difference (by subtracting two timestamps) works well, provided
timestamps are not too old (less than 25 days old).
2023-05-22 14:45:50 -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
zhouzb b3a6559b87 [DOCS] Replaced with logo visible in dark mode (#1643) 2023-05-17 07:26:57 -05:00
zhouzb 624243d0dc [DOCS] Add recommendation for EMQX (#1641)
* [DOCS] Add recommendation for EMQX

* [DOCS] Adjust the position and size of the sponsor logo
2023-05-16 09:52:07 -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
FlorianandNorthern 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
bwynantsandBert Wynants 9bb322daf8 [OTA] Capability to disable Firmware Update on ESP32 WEB (#1621)
* disabling  Firmware Update on ESP32

---------

Co-authored-by: Bert Wynants <bwynants+drupal-git@gmail.com>
2023-05-02 08:07:07 -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
Northern Man acc0d91ca8 [WebUI] Added Basic Authentication (#1618)
* [WebUI] Added Basic Authentication

* Make the security option a MACRO to avoid typos in future updates
2023-04-27 16:49:09 -05:00
Die Peter Pan abeef870c7 [HM-RD] Added leak/water detection sensor with ESP32 deep sleep / sensor wake (#1615)
Added leak/water detection sensor with ESP32 deep sleep / sensor wake
2023-04-25 17:14:49 -05:00
Tamas DAJKA e3e700449b [RF] Added Pilight RAW packet return support (#1604)
* Added Pilight RAW packet return support - can be enabled in User_config.h
2023-04-25 17:13:01 -05:00
Northern Man 5927259db6 [BT] Fixes for DT24 Triggering restart during discovery (#1614) 2023-04-24 07:47:02 -05:00
Northern Man 8d5c2c4d58 [WebUI] Final Changes Pre Release (#1613)
Description:
1 - Fix nextDisplayPage/nextWebUIPage sync with SSD1306
2 - Discovery message name is SS1306
3 - Stack size tuning - ARDUINO_LOOP_STACK_SIZE=9600

With this change, in your personal ESP32 platformio environments you need to change ${com-esp.build_flags} to ${com-esp32.build_flags} and ${com-esp.lib_deps} to ${com-esp32.lib_deps}
4 - On information page, fix module display
5 - Set OTA URL to String systemUrl = RELEASE_LINK + latestVersion + "/" + ENV_NAME + "-firmware.bin";
6 - Allow back level espressif32 framework support
2023-04-24 07:46:30 -05:00
Florian 57651334dc [DOCS] - Add ElectroMaker video (#1617)
* [DOCS] - Add ElectroMaker video
2023-04-24 07:40:41 -05:00
Northern Man 04d7a205d1 Update to version to RTL_433_ESP version 0.2.1 (#1612)
* Update to version 0.2.1

* Lint
2023-04-19 10:58:33 -05:00
Northern Man 7d80508fef [WebUI] Stack memory tuning (#1610)
Reduce WebUI Stack by 800 Bytes during firmware upgrade
2023-04-19 10:57:58 -05:00
DigiH de07e46494 Config Save typo fix (#1611) 2023-04-17 18:01:50 +02:00
DigiH c7b6be385c [WebUI] WebUI design fixes and changes (#1607)
* [WebUI] WebUI design fixes, harmonisation and changes

* Variation 1

* Extend minimum width
2023-04-15 16:53:18 -05:00
Northern Man 479ac5d343 [WebUI] Completion of WiFi and MQTT Configuration (#1603)
* Configure WiFi - 1/2 working

* WiFi and MQTT Configuration

* Refactor MQTTtoSYS

* Firmware Upgrade is Wired
2023-04-12 13:29:03 -05:00
DigiH 8c7c8cc437 Decoder Dev Branch (#1605) 2023-04-12 15:12:36 +02: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
mrickma 4f3bb432e5 [INDICATORS] Neopixel 2leds (#1596)
* Add Adafruit NeoPixel library #defines

* Currently FastLED causes rapid reboots on ESP32C3 boards when OMG signals.
  Onboard RGB LEDs can be adressed more reliably with the NeoPixel library.
  Define RGB_INDICATORS=2 to use this addition.
* rebase fix: adapt to "Bump ESP32" changes in development

* Add build environments for the Espressiv ESP32-C3-DevKitC-02 board

* esp32c3-dev-c2-ble and esp32c3-dev-c2-ble-no-serial environments both
  use the Adafruit NeoPixel library for the onboard RGB LED as FastLED
  causes rapid reboots.

* Only occasional reboots of this board occure when serial output is not
  read. The -no-serial version further improves stability.

* Add a build environment for the Espressiv ESP32-C3-DevKitC-02 board

* The esp32c3-dev-c2-ble offers a reasonable compromise between logging
  and stability of OMG on this board.
2023-04-10 10:44:04 -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
Die Peter Pan 4e51d9ec45 [LPM] ESP8266 and DS1820 DeepSleep (#1591)
Add support for the ESP8266 deep sleep and required change for DS1820 sensor used in my project.

Allow defining DS1820_RESOLUTION and DS1820_INTERVAL_SEC in ENVIRON without editing config file.

Allow DTimeBetweenReadingmq2 Env. MACRO change without editing source config file.

Added some an example ENVIRONMENTS

Add ESP8266_DEEP_SLEEP_IN_US to nodemcuv2-all-test
2023-04-09 17:03:13 -05:00
Florian ac0215b5be [OTA] Fix BLE memory release when not using "latest" version (#1599) 2023-04-08 10:27:55 -05:00
DigiH 4fa74e31ba [WebUI] Small WebUI design changes (#1594)
• Display view with fixed height and light text on dark background and content centred
• Non-breaking spaces used for MAC part in heading
2023-04-06 19:51:40 -05:00
Northern Man 1c367fd325 [WebUI] Add Configure MQTT and Logging (#1592)
* Configure MQTT and Loggin

* Configure MQTT speed up

* Lint
2023-04-06 19:51:14 -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
Marius Cornescu 8ee3da4073 [DOCS] Update gitpod.md (#1595) 2023-04-06 15:06:50 -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
Northern Man bf004b078b Fixing headers for gateway modules (#1554)
* Fixing red squiggles in VSCode/PlatformIO

* Lint issues
2023-03-28 10:33:16 -05:00
DigiH 08279baf65 [SSD1306] prefs start-up optimisation (#1579)
Avoid
[ 137][E][Preferences.cpp:483] getString(): nvs_get_str len fail: SSD1306Config NOT_FOUND
error during start-up when no save preferences have been found
2023-03-27 19:14:59 -05:00