Commit Graph
593 Commits
Author SHA1 Message Date
Florian a84df78a33 [RN8209] Detect voltage changes (#1850)
Voltage changes > 2V will trigger a data sending
2024-01-05 09:33:25 -06:00
DigiH 5f1463e6ab [BT] prmac to RMAC discovery fix (#1849)
prmac to RMAC discovery fix so as not to create discoveries for these as well as not publishing them
2024-01-05 14:58:28 +01:00
DigiH f2d3239350 [BT] Bump Theengs Decoder to 1.6.7 & prmac conversion to RMAC (#1844)
• Bump Theengs Decoder to 1.6.7
• Conversion of prmac decoders to RMAC, for RMAC filtering of random MAC devices, until and if OpenMQTTGateway gets Identity MAC/IRK functionality.
•HA discovery lock class added
2023-12-22 13:18:14 +01:00
Florian b317063cc4 [RTL_433] Temporary fix for installations with numerous sensors (#1843)
See #1836
2023-12-18 15:10:30 -06:00
Florian c05a759fa9 [SYS] Change OTAPASSWORD for devices using a part of the MAC as the password (#1834)
To keep the same password as previously, if it was not changed
2023-12-14 10:43:29 -06:00
Florian 296248f64b [DISC] Add statistics to relevant sensors (#1832) 2023-12-09 11:56:47 -06:00
Florian a0919bbba4 [WEBUI] Minimum gateway password length to 8 (#1831) 2023-12-08 09:18:16 -06:00
Florian 6a4b38a0cb [BT] Fix scan continue even disconnected from network (#1829)
and cause an undesired restart
2023-12-07 16:59:06 -06:00
Florian 8c8dc6b6f6 [ONOFF] ON OFF behavior fixes (#1828)
-Avoid plug restart in case of OverCurrent detection, introduced with central queue add
-publish uselaststate value
-if uselaststate is false we switch off the relay at restart
2023-12-07 15:48:06 -06:00
Florian f4a03c39e0 [IR] Fix hex and protocol_name (#1826)
Fix hex and protocol name field value persistence during the json object lifecycle
2023-12-07 07:42:25 -06:00
DigiH 4c633da151 [BT] Bump Theengs Decoder to 1.6.4 & NUTALE added as presence tracker (#1818)
• Bump Theengs Decoder to 1.6.4
• NUTALE added as presence tracker
• Small doc changes
2023-12-06 10:56:47 -06:00
Florian 8b204f2911 [SYS] Fix default adjustable setting when not using discovery and boolean init (#1825) 2023-12-06 10:56:05 -06:00
Florian 5a07020144 [SYS][BREAKING] Optim json size (#1823) 2023-12-05 08:05:19 -06:00
Florian 25af43bdeb [SOMFY] Remove unnecessary macro (#1822) 2023-12-04 12:20:34 -06:00
Florian 7f9f042f7c [BT] Add gateway deactivation/activation command (#1821) 2023-12-04 12:20:10 -06:00
Florian 771b792484 [SYS] Fix ESP8266 reboot loop (#1820) 2023-12-01 18:28:52 -06:00
Florian 7db2e93c28 [RTL_433][BREAKING] Beta support for FSK modulation, webUI frequency and active receiver change (#1812)
* [FSK] Add Lilygo Heltec environment with FSK modulation

Enable RTL_433 frequency and active receiver change with WebUI
Add FSK environment for Heltec and Lilygo
2023-12-01 13:16:03 -06:00
Florian eb5b8fa291 [SYS/BT] Semaphores and new BT Controller (#1819)
Add semaphore to the enqueue calls to avoid concurrency issues
Add new BT controller to avoid scan evt timeout bug
2023-12-01 07:15:07 -06:00
DigiH 5421f0e995 [DOCS] typo fixes (#1816) 2023-11-26 13:07:18 -06:00
Ian Taylor fb42293631 [DISC] Set "retain":false within autodiscovery messages for Home Assistant and OpenHAB discovery switch. (#1814)
As discovery state is stored in flash memory and there is an auto off timer,
we don't want discovery turned back on by a retained MQTT message when device
reboots.
2023-11-21 04:49:04 -06:00
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