Commit Graph
573 Commits
Author SHA1 Message Date
Florian 87b26c867f [BT] Bump Theengs Decoder to 1.6.3 (#1811) 2023-11-20 15:56:27 -06:00
DigiH 2fcfc0f6d2 [DISC] Additional device classes for HA discovery (#1810)
* Restart Button

* BME280 pressure

* BH1750 irradiance

* MQ2 gas

* TEMT6000 & TSL2561 irradiance

* Voltage & Current

* HCSR501 motion

* M5STACK battery
2023-11-16 12:08:54 -06:00
Ian Taylor e015173530 [RF] Fix crash on transmit with CC1101/ESP32 (#1809)
* Disable active receiver before setting transmit power or frequency.

* Fixed formatting.
2023-11-16 10:56:11 -06:00
DigiH f3be6b0153 [DISC] SYS: LED Brightness fix & SYS: Internal temperature single decimal (#1806) 2023-11-15 14:45:42 -06:00
DigiH 3c1bd83227 [DISC] Additional HA device classes (#1805)
Additional HA device classes and alphabetical sorting
2023-11-15 07:17:58 -06:00
DigiH 28b97183be [DISC] SYS: RSSI, SYS: Uptime and SYS: Free memory discovery device classes (#1803)
SYS: RSSI, SYS: Uptime and SYS: Free memory discovery device classes additions
2023-11-14 15:13:05 -06:00
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 cf285fba15 [INDICATOR] Dimmable RGB (#1801) 2023-11-14 07:34:55 -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 811bc1f608 [WM] Check input fields content before saving (#1795)
Avoid entering nonvalid data into the input fields by checking their content, also hiding passwords, and making the relevant fields compulsory
2023-11-09 20:22:14 -06:00
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