Commit Graph
642 Commits
Author SHA1 Message Date
Florian 2d5b8b403e [BT] Enable to define MinimumRSSI from a macro in ini files (#1977) 2024-06-21 14:03:34 -05:00
Florian 9af5a2aca0 [ONB] Remove Blufi password visibility in the logs (#1976) 2024-06-21 08:24:08 -05:00
Florian 6a5d3a3da7 [RN8209] Enable RN8209 task size override (#1973) 2024-06-18 12:52:08 -05:00
Florian aa5fd3cb0b [ONB] Fix max buffer size (#1972) 2024-06-18 12:51:48 -05:00
DigiH 4bb7c5502d [DISC] reorder UVI for correct auto-discovery (#1968)
To avoid auto-discovery issues due to substring comparison at
https://github.com/1technophile/OpenMQTTGateway/blob/development/main/ZgatewayRTL_433.ino#L128

strcmp instead of substring only strstr
2024-06-17 13:37:39 -05:00
DigiH 57d1105ba8 [DISC] build flag dependant discovery of HTTP firmware update UI (#1969) 2024-06-13 12:25:43 -05:00
Florian e4e4814c28 [CERTS] Remove certificate display on WiFi manager and enable memory certificate usage for update check (#1967)
* [SYS] Do not display certificates on WiFi Manager

And save them only if the size is more than the minimum

* Enable to use memory cert for update checks
2024-06-12 13:53:24 -05:00
Florian 0a1ee69a72 [SYS] Fix default connection (#1966) 2024-06-12 12:17:12 -05:00
Florian 676a62fecb [OTA] Add Github Digicert cert hash check (#1965)
to avoid loading a deprecated certificate
2024-06-12 12:16:48 -05:00
Florian a74a6ebc06 [SYS] Add serial self test feature (#1964)
Add self testing for Theengs Bridge v1.1 (TBRIDGE02)
This feature enables factory testing
2024-06-12 08:02:34 -05:00
Florian e321448db0 [OTA] Switch OTA server to ota.openmqttgateway.com (#1962)
due to Github cert change
2024-06-12 07:50:41 -05:00
riegelbrau 23b3123b97 [RTL] Correct string handling for type key in NAMING_KEYS (#1960)
* Correct string handling for type key in NAMING_KEYS

Extend class structure RTL_433device and modify code to create correct state topic in discovery message to support sensors, that send type key as well as sensors, that don't. Actually only TPMS sensors use type=TPMS.

* Try to correct format failure.

* Remove trailing spaces
2024-06-12 06:11:02 -05:00
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