Commit Graph
562 Commits
Author SHA1 Message Date
Florian 673a895d44 [WEBUI] Do not display gateway password if using WifiManualSetup (#1793) 2023-11-08 11:15:14 -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
Florian ca9ef664ab [SYS] Reduce default WiFi timeout when changing it (#1789)
To avoid the WDT to trigger before the end of the connect result
2023-11-02 11:24:16 -05:00
Florian ca51136d26 [SYS] Remove WebUI passwords display and sending to client (#1788) 2023-11-02 11:23:46 -05:00
Florian 99de6ef4a6 [SYS] Password management improvements (#1787)
* Use one single password for Access point, OTA and WebUI access
* Enable to change the password during WM onboarding, with the WebUI, and MQTT command
* Remove the default password during the first configuration to connect to the AP
* When using the last 8 digits of the MAC as the password, it can now be changed
* Remove gateway password sending to client
2023-11-02 09:10:20 -05: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
Florian c6394b241b [SYS] Add automaticaly / at the end of root topic if not present (#1772)
To avoid concatenation with the gateway name and a non working auto discovery
2023-10-12 15:37:35 -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
Florian dd5e565788 [SYS] Configuration portal for Ethernet board and HA link to config (#1761)
* [SYS] Configuration portal for Ethernet board

Enable Wifi Manager as a configuration portal for Ethernet boards, also leverage the Wifi Access point as a fallback connectivity method

Add link to the WebUI from HA and reduce key length

* Remove unnecessary environment

Now that one environment cans support wifi and ethernet, merge the 2
2023-10-03 07:33:47 -05:00
lulol f3216171e3 Fix Pilight_rawEnabled log string type bug (#1764)
* Fix Pilight_rawEnabled log string type bug

Fixes #1763
2023-09-30 21:15:19 -05:00
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