Commit Graph
630 Commits
Author SHA1 Message Date
Florian db8e850570 [SYS] Fix wrong connection index record during onboarding (#1961)
and no connection validation if CNT_DEFAULT_INDEX is different than 0
2024-06-10 12:46:24 -05:00
DigiH d538316e03 [DISC] always auto-discover Presence/Tracker timeout (#1959)
auto-discover Presence/Tracker timeout even when HASS presence is not active

Also inject an additional placeholder rssi key and value into the BM2 voltage connection message to avoid the message being registered as a device tracker AWAY

https://community.openmqttgateway.com/t/bm2-home-and-away/3315
2024-06-10 11:50:08 -05:00
DigiH 6e906702ed [DISC] battery_ok discovery differentiation (#1958)
Differentiation between 0%-100% float battery_ok devices' discovery and binary_sensor devices battery_ok
2024-06-10 11:49:43 -05:00
DigiH 417d28fb20 [DISC] Consistent upper case discovery property names (#1957)
And property name change of 'light' and 'lux' to Illuminance
2024-05-30 19:52:33 +02:00
DigiH 33511b5b25 [DISC] Nexa additional auto-discovery properties (#1953) (#1955)
* [DISC] Nexa additional discovery properties (#1953)

* State as binary_sensor ON/OFF

* Alphabetical sorting
2024-05-29 21:55:56 +02:00
Florian 0db67f75aa [SYS] Add connection fallback capability (#1950)
This feature enable to rotate among the connection parameters index to find a valid one when the current MQTT connection is not working
2024-05-22 05:48:48 -05:00
Florian 819d3c2d91 [SYS] Change log level when publication is canceled (#1949) 2024-05-20 17:03:10 -05:00
Florian f98474bed0 [SYS] Multiple connections management (#1947)
Enable the management of different connections at runtime with a set of certs for each.
Add parameters to the WiFi Manager onboarding, client certificates, and certificate validation
2024-05-20 09:30:49 -05:00
Florian 743083cbfe [ONBOARD] Use Gateway short name macro (#1943) 2024-05-06 11:29:52 -05:00
Vito Ammirata bae4364e41 [LORA] Add water counter sensor with example (#1941)
* Add water counter example
2024-05-05 14:45:33 -05:00
DigiH b5e0223602 [WebUI] Specific Gravity SG added to BLE display routine (#1939) 2024-05-05 14:43:45 -05:00
Florian 68fd4dc17e [DISC] Add the capability to use the device BLE name (#1936) 2024-04-25 07:11:02 -05:00
Sami Salonen d721567adb [DISC] Do not deactive autodiscovery on reconnect-repub (#1933)
Specifically, do not deactive autodiscovery in certain cases
when discovery_republish_on_reconnect is enabled

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2024-04-17 08:34:21 -05:00
DigiH 115a17cbcc [BT] Prevent intervalacts from being lower than interval (#1932)
Prevent intervalacts from being lower than interval to avoid untrue non-sensical intervalacts values.
2024-04-17 08:32:27 -05:00
Florian 2645928dbd [SYS] Remove unnecessaries ESP8266 ESP32 macros (#1931) 2024-04-12 17:13:11 -05:00
Florian 2065d57e11 [BOARDS] Remove Arduino boards (#1929) 2024-04-10 15:48:05 -05:00
ayetee 30f8264878 [BT] Update PublishDeviceData to run presenceUseBeaconUuid check when device is close (#1915) 2024-04-10 13:46:25 -05:00
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