Commit Graph
613 Commits
Author SHA1 Message Date
DigiH b884ee8883 [DISC] Additional RF discovery keys and device classes (#1927) 2024-04-05 17:34:02 +02:00
DigiH 781f7af90c [DISC] uv/uvi discovery fix and device classes added (#1923) 2024-04-04 20:00:14 +02:00
h2zeroandh2zero ffe88feddc [SYS] Add Blufi support (#1913)
* First build with IDF, tested with esp32dev-ble only.

* Fix frameworks for non-esp32 boards

* Add blufi support.

* Adds an environment to use esp-idf and Arduino as a component to facilitate incorporating blufi for onboarding and configuration.

---------

Co-authored-by: h2zero <powellperalata@gmail.com>
2024-03-15 07:53:13 -05:00
Sami Salonen e55431ad94 [SYS] Log Theengs props deserilization failures (#1907)
* Log Theengs props deserilization failures

Now we log failing theengs json props deserialization failures.
Note: the rest of the function implementation is kept as is, with
no null/data-validity checks, and it is likely to encounter a crash
later in the strcmp conditionals like in #1905.

Related to #1905

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* formatting fix for logging

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

---------

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2024-03-05 10:06:04 -06:00
Sami Salonen 5432016c29 ESP32 JSON buffer size fixed for RuuviTag_RAWV2 (#1906)
816 bytes is just enough for parsing RuuviTag_RAWV2
json properties.

Resolves #1905

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2024-03-04 12:46:49 -06:00
Die Peter Pan 46160c64d0 Fix HCSR501 not logging (#1897)
When we move HCSR501data["origin"] = subjectHCSR501toMQTT; to inside the if we must adjust the size check ;-)
2024-02-14 19:08:31 -06:00
Florian c70590fb02 [SYS] Avoid AP generation if no WiFi and config already entered (#1888)
For security reason do not generate an Access Point if the configuration has been entered and if the WiFi is not detected at start
2024-02-07 15:35:05 -06:00
DigiH 60a571ebb2 [BT] Device Tracker & Presence separation and clarification (#1880) 2024-02-01 21:21:29 +01:00
DigiH 491111ff31 [BT] presence publishing fix independent of pubOnlySensors (#1883) 2024-01-29 07:15:03 -06:00
DigiH f6ed62636a [BT] Tracker discovery and timeout by "track" tag (#1881) 2024-01-29 07:14:27 -06:00
Florian ef07a339ab [SYS] Avoid logging sensitive information on serial (#1879)
WiFi Manager log level to Notify
Remove MQTT information to serial
Remove system information to serial when changing with WebUI
2024-01-27 17:32:29 -06:00
Florian a7f43eda87 [SYS] Avoid transmission of MQTT password to the web page (#1878)
This commit avoid transmitting the saved MQTT user password to the web page for security reasons.
Instead we send the init password and check if it has been modified prior saving
2024-01-24 16:05:56 -06:00
Die Peter Pan 674b0b48b8 [HCSR501] Update sensor only on change (#1846)
Improve performance by avoiding unnecessary calls to handleJsonEnqueue when the HCSR501 sensor's state did not change
2024-01-24 15:57:23 -06:00
Florian 71389438d3 [LORA] Fix message without json not being transmitted (#1875)
Fix LoRa not processing message that are not JSON
Add also a non-JSON-message to the example
2024-01-21 19:28:23 -06:00
Ian Taylor b2dbc2d581 [RF] Use exponential backoff delay in initCC1101() (#1874) 2024-01-20 16:54:44 -06:00
Florian 4e44874149 [BT] Timeout for MUE4094RT (#1871) 2024-01-18 09:57:56 -06:00
Florian f548351ea4 [SYS] Increase WiFi timeout (#1864)
Enable to have a more reliable connection with some AP like TP-LINK EAP225
2024-01-11 11:46:27 -06:00
Florian 702925d7d0 [DISC] Fix empty topic publication (#1858) 2024-01-09 07:46:17 -06:00
DigiH 26fab01f7b [DISC] "source_type" discovery key fix (#1853) 2024-01-07 19:57:02 +01:00
Jouni PaulusandJouni Paulus d58e3f469d Generic SSD1306 display support for ESP32 added (#1847)
* add oled support for esp32_rtl433

* add generic ssd1306 usage into documentation

* remove additiona environment with the oled

---------

Co-authored-by: Jouni Paulus <paulus@nuppu.eternal>
2024-01-05 12:17:51 -06:00
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