Commit Graph
550 Commits
Author SHA1 Message Date
Florian 3470882da0 [DISC] Add BT scan duration parameter auto discovery (#1762)
* [DISC] Add BT scan duration parameter auto discovery

* Add doc
2023-09-30 07:26:57 -05:00
Florian 246423a8a8 [LORA] Improvements, change frequency, webUI, Oled support, add boards (#1742)
* [LORA] Capability to change LORA frequency and Add OLED

Merge of the 2 environments for TTGO V1

* Merge messages keys with upper level json

* Id as a sub topic

* Add display and state measures

* Add frequency configuration through WebUI

* Add parameters

* Add auto discovery

* Add node example for ttgo lora32 v1

* Add environments and fix scope

* Support for sync word as a byte

* Fix TX Power setting

* Add LoRa gateway description

* Add onlyknown filter
2023-09-27 11:12:55 -05:00
Florian 8a124c8841 [SYS] Increase mqtt username, base topic, otapassword and mqtt password max length (#1757)
fix #1746
2023-09-24 10:10:06 -05:00
DigiH 592dcd3be6 BM2 name extension (#1750) (#1754)
BM2 name extension for connection
2023-09-22 18:23:33 +02:00
Florian 46616d9fa8 [SYS] Increase default portal timeout to 4 minutes (#1751) 2023-09-21 16:10:59 -05:00
Florian bfca747d4b [SYS] Add alpn (#1745) 2023-09-14 18:11:46 -05:00
Florian 84e6f46206 [SYS] Breaking remove version publication (#1737)
Redundant with the publication into SYStoMQTT and also inconsistent with the main publication format used by the project (json)
2023-08-31 12:53:43 -05:00
Florian d1e92137dd [OTA] Fix http timeout (#1736)
Time should be in milli seconds not in seconds
2023-08-28 16:54:16 -05: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
Vitaliy DandDigiH 2aa4368538 [SYS] User friendly manual network configuration (#1715)
* User friendly manual network configuration

* Add manual network config to the docs

* Add manual network config to the test env

Co-authored-by: DigiH <github@digih.net>
2023-08-05 13:41:57 -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 375ce91ece [SYS] Add global task watchdog timer (#1724) 2023-08-03 06:48:25 -05:00
Florian e673788da5 [OTA] Fix macro check to avoid having the regular new update check (#1723) 2023-08-02 08:45:41 -05:00
Norbert Schulze 4a6838a491 [INA226] JSON do not output leading spaces (#1714)
* INA226 JSON output no trailing spaces

* INA226 JSON do not output leading spaces
2023-07-31 10:05:45 -05:00
Florian a6c0a3b1d4 [SYS] Add save option to discovery and ohdiscovery key and remove discovery for Arduino boards (#1696)
Enabling to keep discovery off if required

Remove Mqtt discovery for Arduino UNO and ATMEGA
2023-07-30 17:34:58 -05:00
DigiH 7405499f15 [RF] rain_rate_mm_h fix (#1713) 2023-07-14 17:23:06 +02:00
nikito7 0d8275b499 [LORA] Allow LORA CUSTOM PINS (#1712)
* Add LORA_CUSTOM_PINS
2023-07-11 23:32:49 +02:00
Northern Man 954e077d05 [WEBUI] Add Favicon.ico (#1703)
* Add Favicon.ico to the WebUI

* Update config_WebContent.h

* Update ZwebUI.ino
2023-07-10 04:13:38 -05:00
nikito7 b10c96ee32 LoRa ESP8266 fix (#1711)
* LoRa ESP8266 fix

* Update ZgatewayLORA.ino
2023-07-10 04:11:19 -05:00
DigiH a210d5462b [WebUI] WebUI command fix (#1705)
• renamed command displaymetric to displayMetric for consistency with reported displayMetric
• added WebUI to receivingMQTT to be able to receive commands
2023-07-02 17:34:12 +02: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
Die Peter Pan 959c3afc6f [SYS] Extend Wifi mode and power change to ESP8266 (#1680)
Extend Wifi mode and power change to ESP8266
 (Fix the spelling of setESPWifiProtocolTxPower)
2023-06-22 14:17:24 -05:00
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
Dave 126aa86aec fix wrong time format for UTC timestamp (#1686) 2023-06-16 16:18:43 +02: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 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 02d3b11a89 [BT] Avoid decoded duplicates (#1670) 2023-06-08 08:41:06 -05:00
Northern Man 7f7eed8812 [RF] rtl_433_ESP to version 0.3.0 (#1668)
Update to rtl_433_ESP 0.3.0
Resolves issue with sx127x chipset and receiving higher frequencies
Includes support for receiving FSK signals, requires compiler directive OOK_MODULATION=false to switch to FSK mode
Adds unit of measure for rtl_433/battery_ok devices RTL_433_ESP Battery Auto Discovery Missing Unit of Measurement #1644
Updates value template for rtl_433/battery_ok in openHab mode
Resolves out of stack space crash lilygo-rtl_433 crash after chacon remote control button pressed #1655
2023-06-08 08:40:38 -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
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
blakadder d940ed0f60 [DOCS] Update ZmqttDiscovery.ino (#1661)
Typo fix
2023-05-30 08:14:04 -05:00
flo-x 73913a33a2 [TOUCH] Add a sensor for esp32's touch sensing (#1650) 2023-05-24 13:22:10 -05:00
DigiH 88fc5643e8 [BT] Force Active Scan when same interval as as Passive Scan (#1654) 2023-05-24 13:20:09 -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 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 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