Releases: 1technophile/OpenMQTTGateway
OpenMQTTGateway v1.8.0
What's Changed
New Features
- Embedded MQTT Broker: Thanks to @mlesniew and the PicoMQTT library, OpenMQTTGateway now supports an integrated MQTT broker. This feature reduces server dependencies and enables more localized use cases.
- Tracker Synchronization: @DigiH introduced a powerful enhancement for tracker synchronization across multiple gateways. Now, "away" messages are only triggered if no gateways detect the tracker, ensuring more accurate notifications.
- Serial Communication Mode: OpenMQTTGateway can now operate without MQTT! Modules can communicate over a Serial connection, making it easier to link multiple microcontrollers.
Theengs Plug and Theengs Bridge
- The WebUI is now available for Theengs Bridge
- Theengs Plug has now the capability to detect voltage changes and publish when the voltage changed more than 2V. This is useful when having time sensitive scenario that requires a trigger when there is a voltage change.
New BLE Devices
- SwitchBot Blind Tilt and Curtains control, in addition to the previously supported SwitchBot Bot.
- Bosch Nyon eBike tracker
- ShellyBLU H&T SBHT-003C
- Onset Hobo Water Level Sensor
- Add support for ShellyBLU Wall Switch4 and RC Button4 devices
- Teltonika FMT100 vehicle tracker
- Feasycom beacon model BP102
- New Feasycom beacon BP103B
- Tilt Brewing Hydro- Thermometer
- Amphiro/Oras/Hansa Faucet decoder
- Otodata RC1010 propane tank transponder
- Gigaset G-Tag added as device tracker
- Govee H5105 Thermo Hygrometer
- XOSS X2 heart rate sensor chest strap
- NodOn NIU smart button decoder
- MUE4094RT improvements
- Jaalee F51C model
- Mobvoi TicWatch GTH (Pro) added as tracker
- ClearGrass/Qingping Barometer Pro CGP23W
- Apple Watch decoder
- Aranet4 CO₂ Monitor
Boards
- Added compatibility for M5 Stamp S3 and S3.
Farewell to Arduino Boards and IDE
- To streamline development and focus on widely used boards, OpenMQTTGateway is discontinuing support for Arduino boards and the Arduino IDE. While we remain committed to the Arduino framework, shifting resources to ESP boards and the web flasher ensures better support for the majority of users.
Over the Air server change
- Unfortunately Github changed its root certificate without notice breaking the existing Over the Air mechanism, the OTA server is now hosted outside of Github to have more control over certificates update.
- To update your boards you can either:
- Flash from the Web upload
- Download the binary below and Update with WiFiManager (you need to erase the flash first by a long button press or with the Home Assistant devices command)
- Update with PlatformIO with an USB cable or OTA locally
Breaking
Category | Description |
---|---|
BOARD-BREAKING | Change of partition for esp32dev-pilight by @1technophile in #1952 |
BT-BREAKING | Change Switchbot API and add new commands by @1technophile in #2003 |
LED-BREAKING | Refactor LED handling by @1technophile in #2051 |
OTA-BREAKING | Switch cloud OTA server to ota.openmqttgateway.com by @1technophile in #1962 |
RF-BREAKING | Improve Home Assistant auto discoverability by @JamiePhonic in #2057 |
SERIAL-BREAKING | RS232 change to SERIAL GATEWAY by @1technophile in #2008 |
SYS-BREAKING | Add gateway state, offline mode and refactor sleep by @1technophile in #2020 |
LORA-BREAKING | Update LoRa env partition by @1technophile in #2110 |
Changes
Category | Description |
---|---|
BLUFI | Add Bluetooth timer, notifications and AP scan list by @1technophile in #2045 |
BLUFI | Add Blufi activation and deactivation at runtime by @1technophile in #2058 |
BLUFI | Enable larger notifications by @1technophile in #2107 |
BLUFI | Remove Blufi password visibility in the logs by @1technophile in #1976 |
BLUFI | Enable BluFi onboarding with other modules than BT gateway by @1technophile in #1982 |
BOARD | Add M5Stamp C3 by @1technophile in #1857 |
BOARD | Add Web Upload for ESP32-C3 family by @1technophile in #1861 |
BOARD | Activate WebUI for the bridge (beta) by @1technophile in #2000 |
BOARD | Add Theengs Plug environment by @1technophile in #2065 |
BOARD | add esp32s3-m5stack-stamps3 by @mhaberler in #2088 |
BOARD | Remove Arduino boards by @1technophile in #1929 |
BOARD | Remove unnecessaries ESP8266 ESP32 macros by @1technophile in #1931 |
BROKER | Allow running an MQTT broker within OMG by @mlesniew in #1988 |
BT | Bump Theengs Decoder to 1.6.7 & prmac conversion to RMAC by @DigiH in #1844 |
BT | prmac to RMAC discovery fix by @DigiH in #1849 |
BT | Timeout for MUE4094RT by @1technophile in #1871 |
BT | Tracker discovery and timeout by "track" tag by @DigiH in #1881 |
BT | presence publishing independent of pubOnlySensors by @DigiH in #1883 |
BT | Device Tracker & Room Presence separation and clarification by @DigiH in #1880 |
BT | Run presenceUseBeaconUuid check when device is close by @ayetee in #1915 |
BT | Prevent intervalacts from being lower than interval by @DigiH in #1932 |
BT | Enable to define MinimumRSSI from a macro in ini files by @1technophile in #1977 |
BT | Increase BLE task stack by @1technophile in #1984 |
BT | Add a build flag to define the default state of the BT gateway by @1technophile in #1985 |
BT | Switchbot Bot control fix by @1technophile in #2001 |
BT | Add Switchbot Blind Tilt control by @1technophile in #2002 |
BT | Add capability to remove the decoder when using BT by @1technophile in #2028 |
BT | Add Switchbot curtain control by @1technophile in #2049 |
BT | ctrl key included in Advanced Data by @DigiH in #2050 |
BT | HOBOMX2001 added to UNIQ Level display routine by @DigiH in #2055 |
BT | Clean KnownBTAction function by @1technophile in #2062 |
BT | Device Tracker sync across gateways by @DigiH in #2094 |
CERTS | Remove certificate display on WiFi manager and enable memory certificate usage for update check by @1technophile in #1967 |
CI | Add page speed measurement in the CI by @1technophile in #1891 |
CI | Update Github actions versions by @1technophile in #2047 |
CI | Implement changes to build against [email protected]. \n by @peshovec in #2083 |
CM | Git Ignore certificates by @1technophile in #2018 |
CM | Ignore pycache folder by @1technophile in #2019 |
DEV | Add automatic BT lib replacement for BLE environments by @1technophile in #1860 |
DISC | source_type discovery key fix by @DigiH in #1853 |
DISC | uv/uvi discovery fix and device classes added by @DigiH in #1923 |
DISC | Additional RF discovery keys and device classes by @DigiH in #1927 |
DISC | Add the capability to use the device BLE name by @1technophile in #1936 |
DISC | Nexa additional auto-discovery properties (#1953) by @DigiH in #1955 |
DISC | Consistent upper case discovery property names by @DigiH in #1957 |
DISC | battery_ok discovery differentiation by @DigiH in #1958 |
DISC | always auto-discover Presence/Tracker timeout by @DigiH in #1959 |
DISC | build flag dependant... |
OpenMQTTGateway v1.7.0
What's Changed
1 - New product We released the Theengs Bridge, an ESP32 based BLE gateway with an external antenna and an Ethernet RJ45 port. If you want to extend the range of your BLE network, the Theengs Bridge will help you reach further sensors than traditional embedded antennas. We used this opportunity to improve the support of Ethernet boards. You can onboard them through the WiFi portal and use Ethernet with WiFi as a backup network. With this evolution, there is no need to put your hands on a development environment or a configuration file!
Support our work by purchasing from our store !
2 - More RF devices supported OOTB Our users requested to decode RTL_433 FSK ( FSK is a radio frequency modulation) without building the environment. We now have Lilygo and Heltec environments supporting FSK (beta) from the web upload. And cherry on the cake, you can change the frequency directly from the WebUI. But that's not all. Users with a CC1101 will be pleased to see that they can change the frequency of their devices and the library they use from the WebUI!
3 - More BLE devices supported Over 90 BLE devices are now supported by OpenMQTTGateway and Theengs; look at this impressive devices list!
4 - DIY 🛠️ One of my favorite radio communication is LoRa. We added the capability to change the frequency, numerous parameters from the WebUI, and a new ESP32 temperature sender example #1742 . A great way to play with the protocol and build your nodes.
5 - Stability 🏋️BLE is not forgotten with a new, more stable controller. We also added a central queueing mechanism.
6 - User experience We simplified password management; now, you will have only one password for the WebUI, OTA, and WiFi portal connection. This password is defined during WiFi portal onboarding and is compulsory. If you upgrade from a previous version, the default password for the WebUI, the onboarding, and OTA will be OTAPASSWORD.
I invite you strongly to change it in the WebUI (Configure Gateway).
Also, at the first connection, the WiFi portal no longer needs a password (bye-bye 👋 "your_password").
7 - Integration Finally, @DigiH improved the discovery experience by tuning the Home Assistant MQTT discovery integration.
Theengs Plug
You can now change the brightness of the Theengs Plug LED with a slider. Suppose you use the plug in your bedroom; for example, you can program the LED to be OFF at night.
The BLE gateway can be deactivated if you want to use it solely as a smart plug.
New BLE devices
Devices | Model | Measurements |
---|---|---|
April Brother | N07 | temperature/humidity/battery/packet ID |
BM6 Battery Monitor | BM6 | battery |
GOVEE | H5100 | temperature/humidity/battery |
GOVEE | H5104 | temperature/humidity/battery |
GOVEE | H5179 | temperature/humidity/battery |
INKBIRD | IBS-TH12S | temperature/humidity/battery |
NUT | NUTALE | tracker |
Oral B | Toothbrush | state, mode, sector, pressure, time |
Lippert | BottleCheck | temperature/level/sync status/voltage/battery/reading quality/acceleration x/y-axis |
ShellyBlu | Button1 | button press type/battery/packet ID |
ShellyBlu | Door/Window | contact/rotation/battery/packet ID |
ShellyBlu | Motion | motion, illuminance, battery, packet ID |
ThermoPro | TP357s | temperature/humidity |
- Support for PVVX encryption
- Add mac extraction from data
- Add new devices as presence trackers
Board support
- [BOARD] Add M5Stack AtomS3U by @1technophile in #1740
- [BOARD] Add Theengs Bridge by @1technophile in #1799
- [BOARD] Differentiate Pilight from multi-receiver environment by @1technophile in #1785
- [BOARD] Olimex Gateway Use LED and button by @1technophile in #1784
- [BOARD] Add env for Lolin Wemos D1 mini with CC1101 by @vi7 in #1716
New features
- [BT] Add gateway deactivation/activation command by @1technophile in #1821
- [DISC] Add BT scan duration parameter auto-discovery by @1technophile in #1762
- [DISC] Additional device classes for HA discovery by @DigiH in #1810
- [DISC] Additional HA device classes by @DigiH in #1805
- [DISC] SYS: RSSI, SYS: Uptime and SYS: Free memory discovery device classes additions by @DigiH in #1803
- [LoRa] Allow LORA CUSTOM PINS by @nikito7 in #1712
- [LoRa] Improvements by @1technophile in #1742
- [RTL_433][BREAKING] Beta support for FSK modulation, webUI frequency and active receiver change by @1technophile in #1812
- [SYS] Add alpn by @1technophile in #1745
- [SYS] Add automaticaly / at the end of root topic if not present by @1technophile in #1772
- [SYS] Add global task watchdog timer by @1technophile in #1724 (reverted partialy)
- [SYS] Add save option to discovery and ohdiscovery key and remove discovery for Arduino boards by @1technophile in #1696
- [SYS] Add timestamp for messages by @dkneisz in #1677
- [SYS] Breaking - Password management improvements by @1technophile in #1787
- [SYS] Configuration portal for Ethernet board and HA link to config by @1technophile in #1761
- [SYS] Increase default portal timeout to 4 minutes by @1technophile in #1751
- [SYS] Increase mqtt username, base topic, otapassword , mqtt password max length to 64 by @1technophile in #1757
- [SYS] Publish the reboot reason with retain flag by @1technophile in #1802
- [SYS] Reduce default WiFi timeout when changing WiFi parameters by @1technophile in #1789
- [SYS] User friendly manual network configuration by @vi7 in #1715
- [SYS] Extend Wifi mode and power change to ESP8266 by @diepeterpan in #1680
- [SYS/BT] Semaphores and new BT Controller by @1technophile in #1819
- [Webui] Add Favicon.ico by @NorthernMan54 in #1703
- [Webui] Condition WebUI gateway password display to the use of Wifi manager by @1technophile in #1793
- [SYS] Better handling of certs and OTA checks by @1technophile in #1695
Breaking changes
- [RTL_433][BREAKING] Beta support for FSK modulation, webUI frequency and active receiver change by @1technophile in #1812
- [SYS][BREAKING] - remove version publication into /version by @1technophile in #1737
- [SYS][BREAKING] Optim json size for SYStoMQTT and BTtoMQTT by @1technophile in #1823
- [SYS][BREAKING] - Password management improvements by @1technophile in #1787
- [BT][BREAKING] Bump Theengs Decoder to 1.6.3 by @1technophile in #1811
Miscellaneous
- [BT] Bump decoder to v1.6.2 by @1technophile in #1797
- [BT] Avoid duplicates decoded messages with multiple servicedata by @1technophile in #1727
- [BT] BM2 adjustment to only require model_id by @DigiH in #1777
- [BT] BM2 Tracker addition and Discovery adjustment by @DigiH in #1765
- [BT] Bump decoder to 1.5.5 by @1technophile in #1699
- [BT][BREAKING] Bump Theengs Decoder to 1.6.3 by @1technophile in #1811
- [BT] Bump Theengs Decoder to 1.6.4 & NUTALE added as presence tracker by @DigiH in https://github.com/1tech...
OpenMQTTGateway v1.6.0
What's Changed
Significant features in this release include a webUI to control your gateway and directly see the sensor's data, access logs, and change the basic configuration without a controller!
Go to your gateway IP and type admin/OTAPASSWORD
. The password can be changed from the Wifi Manager portal.
Thanks, @NorthernMan54, for this add and to Tasmota as they inspired this feature and the code.
Note that the WebUI is unavailable with the Theengs plug in this version.
Also, now we can detect the appliance cycle start and end by leveraging the accelerometers of BLE beacons. The beacon needs to be configured to stop advertising when there is no movement, and the gateway will automatically publish a message to the broker to say that the beacon is offline. This is great for washing machines, dryers, or dishwashers' end-of-cycle announcements and notifications.
Finally, OpenHAB users can now use any build with autodiscovery. The specificities of OpenHAB HA convention processing can be set at runtime with an MQTT command
Theengs Plug
- The Theengs Plug will now detect changes of current superior to 0.1A and publishes a message to the broker to speed up the detection when a connected device is powered ON. This is useful to trigger actions when the plugged device starts.
- We also added a task watchdog to restart the plug if the energy monitoring and overcurrent detection task is stuck
- A FailSafe Mode also enables loading the wifi manager portal with a minimal setup.
New devices
- Decoder for ShellyBLU Button1 by @koenvervloesem in theengs/decoder#337
- Add Mopeka acceleration data by @DigiH in theengs/decoder#340
- BlueCharm BC04P and BC021 by @DigiH in theengs/decoder#332
- KKM K6P & K9 Beacons by @DigiH in theengs/decoder#347
- SwitchBot Outdoor Meter by @DigiH in theengs/decoder#333
New features
- [WebUI] - First Release by @NorthernMan54 in #1586
- [WebUI] Add Configure MQTT and Logging by @NorthernMan54 in #1592
- Add MQ2 Gas sensor & tweak DHT config to avoid editing source when PI… by @diepeterpan in #1576
- Add support for ESP8266 deep sleep and the sensor ds18b20 by @diepeterpan in #1591
- [INDICATORS] Neopixel 2leds by @mrickma in #1596
- [WebUI] Completion of WiFi and MQTT Configuration by @NorthernMan54 in #1603
- Update to version to RTL_433_ESP version 0.2.1 by @NorthernMan54 in #1612
- [RF] Added Pilight RAW packet return support by @V1pr in #1604
- [WebUI] Added Basic Authentication by @NorthernMan54 in #1618
- [RN8209] Publish on change detect and heap usage optim by @1technophile in #1630
- Added leak/water detection sensor with ESP32 deep sleep/sensor wake by @diepeterpan in #1615
- [BLE] Add moving beacon detection by @1technophile in #1636
- Add a sensor for esp32's touch sensing by @flo-x in #1650
- [DISC] Add runtime configuration for OpenHAB by @1technophile in #1658
- [BT] Enable the publication of non decoded servicedata when several are advertised by @1technophile in #1667
- [RF] rtl_433_ESP to version 0.3.0 by @NorthernMan54 in #1668
- [OTA] Capability to disable Firmware Update on ESP32 WEB by @bwynants in #1621
- WebUI Final Changes Pre Release by @NorthernMan54 in #1613
- Make fastled configurable via command-line defines by @flo-x in #1649
- [WebUI] WebUI design fixes and changes by @DigiH in #1607
- [SSL] Update MQTT cert size by @1technophile in #1600
- [SYS] Add failsafe mode by @1technophile in #1673
Miscellaneous
- [OTA] Add version_tag automatic replacement to workflow by @1technophile in #1578
- Removed forced 5.3.0 platform for Lolin C3 boards by @ilgrank in #1580
- [SSD1306] prefs start-up optimisation by @DigiH in #1579
- Fixing headers for gateway modules by @NorthernMan54 in #1554
- [SYS] Avoid nvs preferences errors by @DigiH in #1588
- Update gitpod.md by @marius-cornescu in #1595
- [BT] Application level Watchdog Timer to avoid scan_evt timeout by @1technophile in #1590
- Small WebUI design changes by @DigiH in #1594
- [OTA] Fix BLE memory release when not using "latest" version during an OTA update by @1technophile in #1599
- [SYS] Shorten gateway names by @1technophile in #1601
- Decoder Dev Branch by @DigiH in #1605
- [BT] Config Save typo fix by @DigiH in #1611
- [WebUI] Stack memory tuning by @NorthernMan54 in #1610
- [BT] Fixes for DT24 Triggering restart during homeassistant discovery by @NorthernMan54 in #1614
- [DISCOVERY] Improve method checks by @1technophile in #1620
- [BT] BLE Scan watchdog relying on scan count rather than msgs processed by @1technophile in #1622
- [RN8209] Fix processlock usage by @1technophile in #1623
- [WebUI] Use common methods for restart and erase by @1technophile in #1624
- [SYS] Refactor ESPrestart by @1technophile in #1625
- [BT] More aggressive memory release when stopping process by @1technophile in #1626
- [SYS] Change eraseAndRestart scope by @1technophile in #1627
- [IND] Fix red led display by @1technophile in #1629
- [RN8209] Fix publishing repeat by @1technophile in #1631
- [SYS] Optimize memory usage by @1technophile in #1632
- [LPM] Check preference key exist by @1technophile in #1634
- [BLE] When BLE watchdog is triggered, only deinit and reinit BLE by @1technophile in #1635
- [CFG] End preferences when key not found by @1technophile in #1640
- [SYS] Catch preferences operation returns by @1technophile in #1646
- Compare time differences instead of timestamps by @flo-x in #1648
- [BT] Assure Active Scan when same interval as Passive Scan interval by @DigiH in #1654
- Update ZmqttDiscovery.ino by @blakadder in #1661
- [RN8209] Add task WDT by @1technophile in #1657
- [CM] Add ps1 script ignore by @1technophile in #1666
- [BT] Avoid decoded duplicates if pubAdvData is false by @1technophile in #1670
- [RN8209] Adjust Task Watchdog timeout by @1technophile in #1674
Documentation
- [DOCS] Add JSONPath prerequisite by @1technophile in #1663
- [DOCS] formatting fix by @DigiH in #1651
- [DOCS] Add recommendation for EMQX by @tigercl in #1641
- [DOCS] Replaced with logo visible in dark mode by @tigercl in #1643
- [DOCS] Improve actuator documentation by @1technophile in #1645
- [DOCS] Add webUI warning by @1technophile in htt...
OpenMQTTGateway v1.5.1
What's Changed
This is a maintenance release to address an issue with the BLE scan being stuck with a scan_evt timeout
error
#1590
We implemented a bypass that will restart the ESP32 if specific criteria are met (see PR for details).
Full Changelog: v1.5.0...v1.5.1
OpenMQTTGateway v1.5.0
What's Changed
Introducing the latest update for OpenMQTTGateway! With over 75 changes done in just 40 days, this release is packed with exciting new features and improvements. One of the most noteworthy updates is the automatic creation and support of device trackers for presence detection, including popular devices like NUT, Tile, Mi Band, Amazfit, and RuuviTag.
Plus, the support for direct Over the Air updates from the controller means that you can easily stay up-to-date with future releases.
That's not all - we also made some significant changes to the SSD1306, allowing you to control it directly from the controller or by MQTT commands and even use it to display BLE sensor data. And, with the new logo acting as a screen saver, you can reduce screen burn-in while still enjoying all the information shown.
Also, the RTL_433 library has been updated to provide more sensitivity and support new devices. To avoid creating unnecessary entities, the auto-discovery control is available from the controller and will now work as a pairing mode. It will be automatically deactivated after 30 minutes after its activation.
Finally, the Theengs plug can now retain its state in case of power outages or restart.
Theengs Plug
- Create in use binary sensor for RN8209 Current sensor by @NorthernMan54 in #1474
- [ONOFF/RN8209] ESP32 Attempt to recover previous actuator state when power has been lost by @1technophile in #1494
New devices or new data published
- [BT] Add BM2 voltage by @1technophile in #1495
- [RTL_433 Discovery] Add Govee water sensor Status entity by @1technophile in #1499
- [BT] Added CGDK2 PVVX and ATC1441 support by @toomyem in theengs/decoder#313
- [BT] Skale I/II kitchen scale by @DigiH in theengs/decoder#290
- [RTL_433] Adding support for Oregon-CM160 device in NorthernMan54/rtl_433_ESP#52
New boards
- Add environment for board Wemos Lolin C3 mini by @Argafal in #1512
- Added WiPhone LoRa support by @xopr in #1458
New features
- New Logo for SSD1306 by @DigiH in #1471
- [BT] Known Random MAC address filtering by @DigiH in #1514
- [OTA] Enable two clicks OTA update / one simple MQTT command by @1technophile in #1485
- Allow for both BT and RTL_433 Gateways at the same time. by @SmittyHalibut in #1491
- Inverted position shifting idle logo by @DigiH in #1484
- BLE devices display on SSD1306 - Take 2 by @DigiH in #1492
- [SSD1306] Partial MAC address in BLE title by @DigiH in #1498
- [SSD1306] Save/load/init/erase SSD1306 configs by @DigiH in #1501
- [SSD1306] displaymetric - hyphen removal for discovery compatibility by @DigiH in #1504
- [SSD1306] Add discovery by @1technophile in #1505
- [BT] Scan_Duration as MQTT command by @DigiH in #1516
- [MQTT] Optional message retain flag by @ilgrank in #1534
- [HA Discovery] Auto Off timer by @1technophile in #1541
- Added macros for ESP - WifiGMode and WifiPower to reduce/eliminate Wifi interference on sensors like HC-SR501 by @diepeterpan in #1531
- [SYS] Add utc & unix timestamp options to SYStoMQTT and Sensor messages by @ilgrank in #1533
- [TEMT] Added Temt6000 light sensor using a d1 mini by @diepeterpan in #1550
- [BT] Device tracker presence detection by @1technophile in #1548
- [BT Discovery] Improve BM2 discovery by @1technophile in #1510
- [BUILD] Add gitpod to build the firmware by @1technophile in #1515
- HomeAssistant Status reporting improvements by @NorthernMan54 in #1460
- [Discovery] Remove legacy entities by @1technophile in #1463
- [RN8209] Add measurement class by @1technophile in #1507
- [BT Discovery] Deactivate/Activate sliders dynamicaly depending on adaptive scan state by @1technophile in #1502
Miscellaneous
- [CI] Add build as a prerequisite of the documentation by @1technophile in #1457
- [BT] Fix for saving interval and intervalacts separately from the save keyword by @1technophile in #1462
- Corrected device_class for DT24 Bluetooth Voltmeter by @NorthernMan54 in #1459
- Fix for failed build with ZsensorGPIOInput and ESPWifiManualSetup by @NorthernMan54 in #1479
- default_envs update by @DigiH in #1481
- [BT] Adaptive scan sequence change by @1technophile in #1493
- [RN8209] Avoid power returning 0 by @1technophile in #1497
- [RTL_433] Bump to 0.1.7 by @1technophile in #1496
- [Discovery] Re-add the discovery switch by @1technophile in #1506
- [SSD1306] MQTT confirmations removal by @DigiH in #1508
- [HA Discovery] Fix discovery switch scope by @1technophile in #1509
- [RTL_433 Discovery] Do not store the devices in memory if discovery off by @1technophile in #1518
- Fix for #1458: crash on sending LoRa data by @xopr in #1526
- [HA Discovery] Filter on type rather than model_id by @1technophile in #1535
- Bump TheengsDecoder to v1.3.0 by @1technophile in #1536
- [OTA] Add hourly update routine for update check by @1technophile in #1538
- [BT] Copy advertised device to avoid concurrent data access. by @1technophile in #1537
- [OTA] Improve user feedback and regorganize processing by @1technophile in #1540
- [OTA] Remove version_tag from title by @1technophile in #1546
- Fix for SSD1306 not working with latest ESP32 platform by @NorthernMan54 in #1551
- Update to rtl_433_ESP v0.1.8 by @NorthernMan54 in #1552
- Add inuse binary sensor for DT24 by @NorthernMan54 in #1553
- [BT] Fix discovery of device tracker Tile that adv name only by @1technophile in #1556
- [HA Discovery] Fix RMAC discovery of unwanted devices by @1technophile in #1557
- [BT] BM2 Fix discovery relying on MODEL_ID by @1technophile in #1560
- [OTA] Change topic for last update status by @1technophile in #1561
- [BT] "track" tag removal by @DigiH in #1562
- [RF] Update rtl_433_ESP to version 0.1.9 by @NorthernMan54 in #1566
- [OTA] Fix invalid json by @1technophile in #1568
- [NTP] Only check NTP when user requires timestamp by @1technophile in #1569
- [SYS] Bump ESP32 platform to v6.1.0 and ESP8266 to v4.1.0 by @1technophile in #1547
- [HA Discovery] Fix trackers being auto-discovered with all their properties by @1technophile in #1567
- [BT] Decoder dev branch by @1technophile in #1565
- [RF] Filter interlogix discovery by @1technophile in #1570
- [SSD1306] Give some time for the flash to start by @1technophile in https://github...
OpenMQTTGateway v1.4.0
What's Changed
Adaptive scanning
This release brings a very interesting feature for Bluetooth Low Energy scanning.
You may have already asked yourself, what should I set for the interval between my scans? Do I use passive or active scanning? Or how do these parameters impact the battery life of my sensors?
To remove these questions, @DigiH and I have integrated an innovative function - Adaptive scanning
Adaptive scanning will decide automatically following your devices if you need to use passive/active/continuous scanning.
For example, a door or a PIR sensor will require continuous scanning, so if detected, the gateway will reduce its time between scans to the minimum. Or your devices may also require active scanning to retrieve data. The gateway will trigger active scans at regular intervals in this case.
Behind the scenes, a big work on device categorization and analysis has been done in Theengs Decoder to enable this feature.
Why are we doing this?
Increase your sensors' battery life, decrease network traffic, and reduce gateway power consumption.
See below in Home Assistant how the interval is automatically adapted after the detection of a PIR sensor nearby.
This new feature is activated by default, you can deactivate it, and the gateway will go directly into continuous active scanning.
Consequently, the esp32ble-dev-cont
environment has been merged into esp32ble-dev
, and the "Active scan" command has been removed. You can remove the topic from your broker to delete it from the controller.
Theengs Plug
Also, this release brings support for the second RGB Led of the Theengs Plug alongside the capability to reset at the start. I encourage Theengs Plug users to update following this guide.
New boards
New BLE devices
Devices | Model | Measurements |
---|---|---|
Polar | H10 Chest strap | activity heart rate |
Features
- [HA Discovery] - Optimize low power mode discovery by @1technophile in #1443
- [ONOFF] Set power indicator status at start by @1technophile in #1456
- [LED RGB] Enable ON OFF Led power display depending on actuator status by @1technophile in #1451
- [BT] Adaptive scan by @1technophile in #1440
- [BT] Continuous active scanning when adaptive scanning is false by @1technophile in #1448
- [BT] Improve conditions of adaptive scanning by @1technophile in #1450
- [BT] Bump decoder to v1.2.0 by @1technophile in #1454
- [BT] Active Scan Interval by @DigiH in #1433
- [BT] BLE Tag properties visibility by @DigiH in #1432
- [BT] SwitchBot Contact Sensor Counters by @DigiH in theengs/decoder#283
- [BT] Polar H10 Heart Rate Sensor by @DigiH in theengs/decoder#274
Docs
- [DOCS] Add reset time and low power mode indications by @1technophile in #1452
- [DOCS] - Add nightly builds link by @1technophile in #1441
- First Pass - Added availability_topic support by @NorthernMan54 in #1442
Miscellaneous
- [LPM] Add capability to deactivate the function at build time by @1technophile in #1449
- [LPM] - Fix reboot loop when low power is used by @1technophile in #1444
- [LPM] - Update state by @1technophile in #1445
- [WIFI] Increase delay between first wifi connection attempt by @1technophile in #1446
- [TRIGGER] Enable reset at the start when InputGPIO is used by @1technophile in #1447
- Add missing ThingPulse envs by @marcelstoer in #1455
- Removed availability reporting for non-local sensors ie Bluetooth sensors by @NorthernMan54 in #1453
- [CI] Only build doc and binaries on owner repository by @1technophile in #1434
- Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #1435
New Contributors
- @xe5700 made their first contribution in #1429
- @marcelstoer made their first contribution in #1455
Full Changelog: v1.3.0...v1.4.0
OpenMQTTGateway v1.3.0
What's Changed
This release is dedicated to the Theengs Plug, our first device sold with OpenMQTTGateway!
Put your DIY Smart Home to the next level with this 3-in-1 Smart Plug, the Theengs Plug can:
- Act as a Bluetooth Gateway to retrieve data from sensors
- Be controlled remotely
- Measure the energy consumption of the plugged device
- Do presence detection (beta)
New BLE devices support:
Devices | Model | Measurements |
---|---|---|
BlueCharm | BC08 | acceleration x/y/z-axis/voltage/temperature |
Jaalee | JHT F525 | temperature/humidity/battery |
Features:
- [HA Discovery] Add a check on device id before concatenating it to the device name by @1technophile in #1398
- [ONOFF] Fix actuator manual control with button press and overheat protection by @1technophile in #1403
- [BLE] Simplify the publication of advertisement data by @1technophile in #1408
- Update platformio.ini - For rtl_433_ESP release 0.1.6 by @NorthernMan54 in #1413
- Enable OOK_PULSE_MANCHESTER_ZEROBIT modulation decoder
- Add Oregon-CM160 ( oregon_scientific.c ) device decoder
- Added board ESP32 DOIT DevKit V1 with SX1278 module Ai-Thinker Ra01 by @diepeterpan in #1411
- Add device_class to MQTT Discovery for rtl_433_ESP by @NorthernMan54 in #1419
- add JSON parsing and hardware serial support to RS232 gateway by @mreijnde in #1409
- Update to ZdisplaySSD1306 to reduce overall resource usage, and enable message queuing by @NorthernMan54 in #1417
- [BT] Regular BLE system parameter pub by @1technophile in #1422
- [BT] BT connect based on time by @1technophile in #1423
- [BT] Bump Theengs Decoder to v1.1.0 by @1technophile in #1425
- [ONOFF] Add overcurrent protection by @1technophile in #1426
- [ONOFF] Publish state at the start and a given frequency by @1technophile in #1427
- [ONOFF] Improve Led display by @1technophile in #1430
Documentation:
- [DOCS] Generate board documentation automatically from platformio.ini by @1technophile in #1405
- [DOCS] Update vuepress by @1technophile in #1407
- [DOCS] Add Theengs Plug links by @1technophile in #1416
CI:
- [CI] Enable sub workflow call by @1technophile in #1406
- [CI] Change environments ini name by @1technophile in #1414
- [CI] Update actions versions by @1technophile in #1420
- [CI] Point development to decoder development by @1technophile in #1421
- [CI] Run development portal building every night by @1technophile in #1415
New Contributors
- @diepeterpan made their first contribution in #1411
- @mreijnde made their first contribution in #1409
Full Changelog: v1.2.0...v1.3.0
OpenMQTTGateway v1.2.0
What's Changed
This one is huge. More boards supported, more devices, and some exciting changes to make your life easier 🎊
The auto-discovery is seeing new improvements to have better control of the gateway, but in particular, it now supports RTL_433 ESP32 !!
So with one binary flash in less than 5 minutes, you can retrieve your 433Mhz sensors, and OMG will automatically create the devices into your favorite Home Automation controller.
Here is an example with a 433Mhz weather station WS2032:
Added to this, you can also see the RTL_433 sensor messages on the screen. Thanks @NorthernMan54 .
We also reached a significant milestone of the Theengs Decoder with V1.0.0 thanks to @DigiH, more than 70 BLE devices supported 🚀
New boards:
- Added Thingpulse ESP32 gateways by @hallard in #1369
- Added tinypico RGB LED by @hallard in #1370
- Shelly plus 1 by @1technophile in #1349 , for TESTS only, WARNING - internal temperature sensor of the board not supported for the moment, no overheating management from this sensor at the firmware level
- Update to rtl_433_ESP 0.1.5 and support for LILYGO® LoRa32 V2.1_1.6.1 433 Mhz by @NorthernMan54 in #1371
New BLE devices and changes:
Devices | Model | Measurements |
---|---|---|
BlueMaestro | TempoDisc 1 in 1 | temperature/battery |
BlueMaestro | TempoDisc 4 in 1 | temperature/humidity/pressure/battery |
ClearGrass alarm clock | CGD1 | temperature/humidity/battery |
ClearGrass alarm clock | CGC1 | temperature/humidity/battery |
GOVEE | H5074 | temperature/humidity/battery |
GOVEE | H5101 | temperature/humidity/battery |
GOVEE | H5106 | PM2.5/temperature/humidity/battery |
GOVEE | H5174 | temperature/humidity/battery |
GOVEE | H5177 | temperature/humidity/battery |
Oria/Brifit/SigmaWit/SensorPro | TH Sensor T301 | temperature/humidity/battery |
Mopeka | Pro | temperature/level/sync status/voltage/battery/reading quality |
Sensirion | MyCO₂/CO₂ Gadget | temperature/humidity/carbon dioxide |
Sensirion | SHT4X TH sensor | temperature/humidity |
ThermoPro | TP393 | temperature/humidity |
Auto-discovery:
- [HA Discovery] - Transform switch discovery to button when relevant by @1technophile in #1356
- [HA Discovery] - Add numbers for interval and scans netween connects by @1technophile in #1357
- [HA Discovery] Save the BLE settings and change switch to optimistic false by @1technophile in #1364
- [HA Discovery] Remove auto discovery switch by @1technophile in #1365
- [BREAKING] Add RTL_433 discovery with Home Assistant convention by @1technophile in #1379 , if you add sensor for RTL_433 OMG you will have to update your topic structure as it changed with this PR.
Features:
- ssd1306 display of module messages by @NorthernMan54 in #1383
- Enable connection with encryption without certificate validation by @1technophile in #1386
- Add ESP32 internal temperature measurement and automatic Actuator switch Off by @1technophile in #1384
- Add BMP280 support, compiler directive support for oversampling by @melyux in #1344
- Add dynamic, active scan setting by @1technophile in #1360
Miscellaneous:
- Bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #1345
- [CI] Upload binaries and lib as Artifacts on PR/branches by @1technophile in #1347
- [CI] Remove unnecessary macro by @1technophile in #1348
- [CI] Update sha retrieval by @1technophile in #1352
- Add the possibility to set LOG_LEVEL_LCD and LOG_TO_LCD for M5 boards… by @1technophile in #1358
- Small typo fixes by @DigiH in #1359
- [CI] Fix bootloader and partition links by @1technophile in #1366
- Typo fixes by @DigiH in #1381
- Small fix on BME280 Config & CC1101-TXPower Throttle by @Dattel in #1382
- Bump decoder to v1.0.0 by @1technophile in #1387
Documentation:
- [DOCS] Add base directory by @1technophile in #1353
- [DOCS] Move base outside of ThemeConfig by @1technophile in #1354
- [DOCS] Update firmware_build dev path by @1technophile in #1355
- [DOCS] Fix bootloader and boot app bin link by @1technophile in #1367
- [CI and DOC] Add LilyGO RTL 433 by @1technophile in #1373
- [DOCS] Update package lock by @1technophile in #1361
- Add capability to build docs to a dev folder by @1technophile in #1351
New Contributors
Full Changelog: v1.1.1...v1.2.0
OpenMQTTGateway v1.1.1
What's Changed
Full Changelog: v1.1.0...v1.1.1
OpenMQTTGateway v1.1.0
What's Changed
Features
- Add RGB Led management for errors, infos, and send receive events by @1technophile in #1320
- Add RGB gpio powering pin by @1technophile in #1321
- Support LM75 temperature sensor by @davidfurey in #1327
- Handle OTA actively when MQTT is not connected by @ssalonen in #1307
- Wifi Manager AP name and password extracted from MAC by @1technophile in #1331
- Enable to configure the OTA password from the Wifi Manager portal by @1technophile in #1339
- RN8209 energy sensor support with watt, voltage and current. by @1technophile in #1337
- Enable to keep actuator on off state in case of restart by @1technophile in #1334
- Enable to set the WM pwd from the Mac by @1technophile in #1323
Miscelleanous
- DS1820 - fix RES payload by @rds76 in #1311
- Spi connectivity check for c1101 by @crasu in #1287
- fix rf gateway f strings by @crasu in #1313
- Update to rtl_433_ESP v0.1.4 by @NorthernMan54 in #1316
- ADC improvement & fix by @rds76 in #1314
- Update Arduino core and BLE/WiFiManager libs. by @h2zero in #1310
- Update default certificate of Github by @1technophile in #1322
- Update link to ESP boardmanager docs by @davidfurey in #1325
- Adc bugfix by @rds76 in #1328
- Bump Theengs Decoder to v0.9.7 by @1technophile in #1332
- Move the button check at start of the program by @1technophile in #1330
- Change Error color to orange on RGB by @1technophile in #1333
- Remove the devices that have Random Mac from the internal memory by @1technophile in #1335
- Enable to set Manufacturer and Model by @1technophile in #1336
- Improve reset mechanism when MQTT is not connected by @1technophile in #1338
Documentation
- Remove git license by @1technophile in #1303
- Add RadioLib mention by @1technophile in #1304
- Update RF module wiring by @1technophile in #1315
- Add a link to shop by @1technophile in #1317
- Update VuePress by @1technophile in #1319
- Typos and clarifications by @DigiH in #1340
New Contributors
- @rds76 made their first contribution in #1311
- @crasu made their first contribution in #1287
- @davidfurey made their first contribution in #1325
Full Changelog: v1.0.0...v1.1.0