Skip to content

Releases: 1technophile/OpenMQTTGateway

OpenMQTTGateway v1.8.0

15 Nov 17:20
1f45a77
Compare
Choose a tag to compare

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 ArduinoJson@7.2.0. \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...
Read more

OpenMQTTGateway v1.7.0

14 Dec 16:57
c05a759
Compare
Choose a tag to compare

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!

image

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!

image

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.

image

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

New features

Breaking changes

Miscellaneous

Read more

OpenMQTTGateway v1.6.0

10 Jun 20:01
e27e055
Compare
Choose a tag to compare

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!

OpenMQTTGateway-webUI

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

New features

Miscellaneous

Documentation

Read more

OpenMQTTGateway v1.5.1

08 Apr 13:20
Compare
Choose a tag to compare

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

24 Mar 20:54
95896e0
Compare
Choose a tag to compare

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

New boards

New features

Miscellaneous

Read more

OpenMQTTGateway v1.4.0

13 Feb 17:42
b7e0872
Compare
Choose a tag to compare

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.

OpenMQTTGateway-adaptive-scan

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

Docs

Miscellaneous

New Contributors

Full Changelog: v1.3.0...v1.4.0

OpenMQTTGateway v1.3.0

27 Jan 21:27
e53c48d
Compare
Choose a tag to compare

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:

Documentation:

CI:

New Contributors

Full Changelog: v1.2.0...v1.3.0

OpenMQTTGateway v1.2.0

13 Jan 00:12
cc81b0b
Compare
Choose a tag to compare

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:
image

Added to this, you can also see the RTL_433 sensor messages on the screen. Thanks @NorthernMan54 .
image

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:

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:

Miscellaneous:

Documentation:

New Contributors

Full Changelog: v1.1.1...v1.2.0

OpenMQTTGateway v1.1.1

05 Dec 00:21
b9e6c4f
Compare
Choose a tag to compare

What's Changed

  • SECURITY FIX Workaround unsecured AP bug on restart. by @h2zero in #1343

Full Changelog: v1.1.0...v1.1.1

OpenMQTTGateway v1.1.0

01 Dec 19:30
4bbdead
Compare
Choose a tag to compare

What's Changed

Features

Miscelleanous

Documentation

New Contributors

Full Changelog: v1.0.0...v1.1.0