Commit Graph
100 Commits
Author SHA1 Message Date
DigiH e47c145bad [RF] Fix discovery for negative Ids (#2194) (#2196) 2025-05-23 19:27:34 -05:00
DigiH a4ba937553 [DOCS] image optimisation (#2192) 2025-05-21 16:30:29 +02:00
DigiH 828f0a226e [DISC] device class added and Units sorted (#2189)
device class added and Units sorted alphabetically for easier lookup and adding missing units
2025-05-18 20:35:44 +02:00
DigiH 6175e03bc8 [DISC] Additional device classes (#2185) 2025-05-17 01:42:40 +02:00
DigiH f0491e188c [BT] MQTT corruption fix (#2183)
Storing a copy of the ID instead of a pointer to a local variable to avoid MQTT publishing id topic and id property corruption.
2025-05-16 22:15:57 +02:00
DigiH 4bf43f5695 [DISC] Removal of openHAB specific MQTT discovery patch (#2153)
Removal of openHAB specific MQTT discovery patch "ohdisc", as it is no longer required with openHAB 4.3 and later, and with openHAB before 4.3 MQTT discovery never was fully implemented anyway.
2025-01-25 14:14:22 -06:00
DigiH d8c0f0f9c5 [BT] Small typo fix (#2147) 2025-01-07 17:14:49 +01:00
DigiH 5e1860abd9 [DISC] rtl_433 UV amendments (#2144) 2025-01-02 14:56:18 +01:00
DigiH 1b50c8ec02 [WEBUI] Fix for TH1 external probe in display routine (#2127)
Fix for TH1 external probe in display routine only actually showing when connected.
2024-12-05 15:33:28 +01:00
DigiH 2cce06ed4e [DISC] Defined boolean values (#2126)
Defined boolean values in discovery message for cross platform discovery in HA and OH for binary_sensors.
2024-12-04 01:04:56 +01:00
DigiH 9bb7751b8d [BT] Decoder development link (#2120) 2024-11-24 13:13:57 +01:00
DigiH ba9506c022 [DISC] Additional HA discovery device class (#2097) 2024-11-04 00:17:56 +01:00
DigiH 044182460c [DOCS] SwitchBot Curtain clarification & device tracker updates (#2096)
• SwitchBot Curtain clarification, as these commands work with all three - original, 2 and 3 - versions of the SwitchBot Curtain.

• Device tracker updates.
2024-11-03 18:06:51 +01:00
DigiH 67e50642dd [BT] Device Tracker sync across gateways (#2094)
Device Tracker sync across gateways - OpenMQTTGateway & Theengs Gateway
2024-10-28 11:25:38 -05:00
DigiH 20af9ccf11 HOBOMX2001 added to UNIQ Level display routine (#2055) 2024-09-13 16:52:04 +02:00
DigiH caea021ca9 "ctrl" key included in Advanced Data (#2050) 2024-09-07 02:30:15 +02: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
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
DigiH b5e0223602 [WebUI] Specific Gravity SG added to BLE display routine (#1939) 2024-05-05 14:43:45 -05:00
DigiH f27855527e [DOCS] RETAIN option clarification only for white/black-list (#1937) 2024-04-25 07:11:28 -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
DigiH c85f5bec37 Differentiation between OOK and FSK modulation in default environments (#1934) 2024-04-16 20:40:10 +02:00
DigiH a52296a97d [DOCS] BLE compatible devices clarification (#1921)
BLE compatible devices clarification and link to listing
2024-04-08 10:18:20 -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
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
DigiH 26fab01f7b [DISC] "source_type" discovery key fix (#1853) 2024-01-07 19:57:02 +01:00
DigiH 36659309b1 [DOCS] info container fix (#1851)
info container fix to ::: tip INFO
2024-01-05 12:13:34 -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
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
DigiH 5421f0e995 [DOCS] typo fixes (#1816) 2023-11-26 13:07:18 -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
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
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
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
DigiH 592dcd3be6 BM2 name extension (#1750) (#1754)
BM2 name extension for connection
2023-09-22 18:23:33 +02:00
DigiH ba1877fc30 [DOCS] ota_password WebUI mention (#1749)
* [DOCS] ota_password WebUI mention

* Update portal.md
2023-09-21 11:38:42 -05:00
DigiH c7a8ec3b4f WiF i and MQTT manual setup details added (#1726)
WiFi and MQTT manual setup details added to [env:esp32dev-all-test]
2023-08-05 21:43:55 +02:00
DigiH 7405499f15 [RF] rain_rate_mm_h fix (#1713) 2023-07-14 17:23:06 +02:00
DigiH 9d8a96a5af Bump decoder to 1.5.7 (#1707) 2023-07-02 18:14:45 +02: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
DigiH 01a9cdfa2a Favicon transparency (#1702) 2023-06-28 16:04:12 +02:00
DigiH 561de90c94 [DOCS] Typo fixes (#1688) 2023-06-16 20:45:31 +02:00
DigiH a5549ee346 [DOCS] WebUI default ota_password added (#1687)
WebUI default ota_password added and typo fixes
2023-06-16 19:07:10 +02:00
DigiH 88fc5643e8 [BT] Force Active Scan when same interval as as Passive Scan (#1654) 2023-05-24 13:20:09 -05:00
DigiH 7df72f6983 [DOCS] formatting fix (#1651) 2023-05-22 14:52:05 -05:00
DigiH de07e46494 Config Save typo fix (#1611) 2023-04-17 18:01:50 +02:00
DigiH c7b6be385c [WebUI] WebUI design fixes and changes (#1607)
* [WebUI] WebUI design fixes, harmonisation and changes

* Variation 1

* Extend minimum width
2023-04-15 16:53:18 -05:00
DigiH 8c7c8cc437 Decoder Dev Branch (#1605) 2023-04-12 15:12:36 +02:00
DigiH 4fa74e31ba [WebUI] Small WebUI design changes (#1594)
• Display view with fixed height and light text on dark background and content centred
• Non-breaking spaces used for MAC part in heading
2023-04-06 19:51:40 -05:00
DigiH e560bd7904 [SYS] Avoid nvs errors (#1588)
Avoid nvs errors when trying to load or erase non-existent nvs preferences.
2023-04-05 14:18:59 -05:00
DigiH 08279baf65 [SSD1306] prefs start-up optimisation (#1579)
Avoid
[ 137][E][Preferences.cpp:483] getString(): nvs_get_str len fail: SSD1306Config NOT_FOUND
error during start-up when no save preferences have been found
2023-03-27 19:14:59 -05:00
DigiH 85d6494d62 [BT] "track" tag removal (#1562)
"track" tag removal when pubAdvData is false
2023-03-22 13:01:49 -05:00
DigiH df020efd8b [DOCS] RF documentation addions (#1524) 2023-03-12 12:17:51 -05:00
DigiH c7547044fe Scan_Duration as MQTT command (#1516)
Scan_Duration as runtime MQTT command 'scanduration'
2023-03-10 15:12:08 -06:00
DigiH 95b749833c [BT] Known Random MAC address filtering (#1514)
* [BT] Random MAC address filtering

Random MAC address filter with runtime boolean setting
randommacs

* APPLE_CONT added to discovery and data process
2023-03-09 09:35:16 -06:00
DigiH f91e82df41 [SSD1306] MQTT confirmations removal (#1508)
MQTT confirmations removal for consistency with other modules
2023-03-06 19:50:52 -06:00
DigiH 113ce15643 [SSD1306] displaymetric (#1504)
display-metric; removed hyphen to displaymetric, for discovery compatibility.
2023-03-06 12:16:48 -06:00
DigiH 3b6b758098 [SSD1306] Save/load/init/erase SSD1306 configs (#1501)
* Save/load/init/erase SSD1306 configs

Save/load/init/erase SSD1306 configs to stick across restarts, overwrite defaults

* SSD1306 combinable
2023-03-06 10:19:31 -06:00
DigiH 1b5215de42 [SSD1306] Partial MAC address in BLE title (#1498)
* partial MAC in title

• Last three octets of MAC address in title to differentiate devices with the same model name.
• fixed memory leak
• process optimisation

* lcd to oled

lcd to oled renaming
2023-03-03 14:53:07 -06:00
DigiH 84f5029b14 [DOCS] LilyGo LoRa32 V2.1 driver (#1500)
LilyGo LoRa32 V2.1 driver addition with link
2023-03-03 11:29:41 -06:00
DigiH c77a16867d [SSD1306] BLE devices display - Take 2 (#1492)
* BLE Display - THB, THBX, PLANT, AIR, BATT, BODY

* SCALE

* BBQ

* Filter MS-CDP, GAEN and IBEACON

* Mopeka & Smart Dry

* ACEL

ACEL sensor, as most also have temp and hum, but no acceleration info display included so far.

* Only display when properties are present

Only display when properties are present, to avoid model only display for devices which require active scanning at a larger interval, e.g. Mi Band and similar.

* LilyGo-BLE environment

* BLE display relocated

BLE display relocated to have pubadvdata "type" in message, required for the different type display functions.
2023-03-01 15:09:45 -06:00
DigiH a6e0f6094c Inverted position shifting idle logo (#1484)
* Inverted idle logo

Back on white background start-up logo.
Inverted idle logo with random positioning.

* Idle Logo display default true

DISPLAY_IDLE_LOGO true as burn-in screens saver, especially fo the constant heading and line

* Display Brightness added

* SSD1306toMQTT / MQTTtoSSD1306

Additional "onstate" and "brightness" setting and regular display state reporting

Docs - separate Displays section
2023-03-01 14:36:05 -06:00
DigiH d124cd53a4 default_envs update (#1481)
default_envs in platformio.ini updated to contain all environments of environments.ini in the respective order
2023-02-23 13:55:08 -06:00
DigiH 7510e7a273 [DOCS] Manual Wifi correction and clarification (#1476) 2023-02-22 07:14:45 -06:00
DigiH bc9311828a [DOCS] Adaptive scanning addition (#1468) 2023-02-22 07:13:50 -06:00
DigiH 350e1b69b6 Decoder Dev Branch (#1478)
Setting the Decoder URL to the Dev branch again for nightly OMG Dev builds
2023-02-21 20:57:47 +01:00
DigiH 7ffdb51d1f New Logo for SSD1306 (#1471)
* New Logo for SSD1306

New Logo Display hard coded coordinates and vectors for SSD1306.

* Improved Lines
2023-02-20 13:05:35 -06:00
DigiH 05f83c5f80 Active Scan Interval (#1433) 2023-02-07 12:25:40 -06:00
DigiH bd9dcf1ec8 Tag properties visibility (#1432)
Tag properties visibility to be included with "pubadvdata" setting
2023-02-01 19:41:01 -06:00
DigiH 8a767cf4b8 Typo fixes (#1381) 2023-01-08 07:43:15 -06:00
DigiH 807c668489 Small typo fixes (#1359)
A few small typo fixes
2022-12-12 22:58:51 +01:00
DigiH 07b2a051ec Typo and clarification (#1340) 2022-11-30 20:13:45 -06:00
DigiH 8c7c1146f8 adding-protocols BLE clarification (#1279) 2022-10-10 15:22:02 +02:00
DigiH 765ec8415b Additional units from decoders (#1271) 2022-09-22 17:55:36 +02:00
DigiH 5c07e7ef9d CGDN1 classes & units (#1268) 2022-09-10 16:25:54 -05:00
DigiH b16fbcbef2 valueAsASubject to valueAsATopic inconsistency fix (#1260) 2022-09-03 18:51:52 -05:00
DigiH 25029c7c85 Devices Clarification (#1252) 2022-08-08 23:01:53 +02:00
DigiH 3088d800e0 undecoded env renaming (#1247)
environment/binary build env:esp32dev-ble-mqtt-decode renamed to esp32dev-ble-mqtt-undecoded for clarification
2022-07-24 03:25:37 +02:00
DigiH c4300a002f MQTT-MAC-IP-mDNS (#1245) 2022-07-19 12:10:51 -05:00
DigiH 1c62d74e56 Typo-fixes (#1244) 2022-07-19 07:53:38 +02:00
DigiH 0f57eddb01 typo fixes (#1243) 2022-07-18 11:30:37 -05:00
DigiH c04c62916f ble-datatest-environment (#1235) 2022-07-15 04:37:04 -05:00
DigiH 0d4909d44d Typo fixes (#1233) 2022-07-13 04:49:08 -05:00
DigiH a388f14e75 Publishing/receiving inconsistencies fix (#1229)
* Publishing/receiving inconsistencies

* General platformio.ini changes

General platformio.ini changes to allow for publishing/receiving settings to be defined in User_cofig.h instead of them only working if defined in the environments. Kept separate so far for discussion.
2022-07-01 07:17:02 -05:00
DigiH d62083a788 Lora band define (#1231) 2022-06-29 12:14:18 -05:00
DigiH f8918c73ff NimBLE-Arduino version update (#1208)
NimBLE-Arduino version update
2022-05-03 16:08:46 -05:00
DigiH 3fd075b750 Disable MQTTsetMQTT and MQTT_HTTPS_FW_UPDATE to allow OTA for Avatto (#1046)
* Disable MQTTsetMQTT and MQTT_HTTPS_FW_UPDATE to allow OTA for Avatto Bakery IR

Trying to update my Avattos with the currently released 0.9.8 I found that OTA wasn't possible any longer as the build was now to large

0.9.8
Checking size .pio/build/avatto-bakeey-ir/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [====      ]  42.4% (used 34772 bytes from 81920 bytes)
Flash: [======    ]  55.2% (used 528716 bytes from 958448 bytes)

this goes back to 0.9.7, where WiFi, MQTT and firmware update was introduced over MQTT commands

0.9.7
Checking size .pio/build/avatto-bakeey-ir/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [====      ]  42.4% (used 34772 bytes from 81920 bytes)
Flash: [======    ]  55.2% (used 528716 bytes from 958448 bytes)

Going back to building 0.9.6 I was able to OTA update again with the much smaller build

0.9.6
Checking size .pio/build/avatto-bakeey-ir/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [====      ]  39.7% (used 32512 bytes from 81920 bytes)
Flash: [====      ]  41.4% (used 396804 bytes from 958448 bytes)

Building 0.9.8 with the flags brings the build back to OTAable size

0.9.8 with
	'-UMQTTsetMQTT'
	'-UMQTT_HTTPS_FW_UPDATE'
Checking size .pio/build/avatto-bakeey-ir/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [====      ]  39.9% (used 32684 bytes from 81920 bytes)
Flash: [====      ]  42.3% (used 405024 bytes from 958448 bytes)

Similar to the flag setting in [env:rfbridge]

I'm not even sure if MQTT_HTTPS_FW_UPDATE would even work on the Avatto, with the limited flash memory. 

Should we also add

board_build.ldscript = eagle.flash.1m64.ld

as a default, as it's required for OTA updates on the Avattos as discussed in https://github.com/1technophile/OpenMQTTGateway/issues/763#issuecomment-698864712 ?

* Doc addition for restricted MQTT options

Doc addition for https://github.com/1technophile/OpenMQTTGateway/pull/1046 and https://github.com/1technophile/OpenMQTTGateway/pull/986
2021-08-02 15:51:13 -05:00
DigiH 2d82cacd05 Suggestion to also allow BLE WRITE procedures for characteristics which are only WriteWithoutResponse (#1037)
While playing with the new BLE READ/WRITE feature for my Playbulb Candles I found that writing was not possible for characteristics which are WriteWithoutResponse only.

I implemented this quick fix which might be useful for others with devices for which they want to write to WriteWithoutResponse characteristics.

Alternatively a more slective option could be possible for a future release, i.e. adding an additional WRITE tag like "ble_write_withoutresponse": true/false
2021-07-26 19:40:37 -05:00
DigiH ac41f95cfc Typo fix (#924)
Type in sending status command to MQTTtoRTL_433. "-1" should be "1" as it produces an error otherwise.
2021-04-14 20:02:48 -05:00