Skip to content

Releases: 1technophile/OpenMQTTGateway

OpenMQTTGateway v0.9.8

31 Jul 20:01
7f296ff
Compare
Choose a tag to compare

A little release to bring some features and bug fixes. Among others, the support of Tire Pressure Monitoring System with ESP32 so that you can monitor your vehicle tires pressure, a bug fix regarding the RF gateway, and the possibility to set into the JSON OTA command the server binary certificate.

New devices:

New features:

Under the hood:

Docs:

OpenMQTTGateway v0.9.7

18 Jul 19:25
c06a6c9
Compare
Choose a tag to compare

Release time!

This one brings a lot of features and improvements to BLE and TLS functions.

  • The support of a generic BLE connection to devices, you can now trigger a READ/WRITE to a BLE device through your ESP32 with MQTT. The gateway will initiate a connection to the device and acts on the service and characteristic given. For a value reading or writing. This opens a lot of integration possibilities, among others the control of actuators, valves, light, relays...
    It could also be a good way to test a value retrieval with a BLE connection before asking for a native integration into the gateway.

Example MQTT message format:

mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{
  "ble_write_address":"AA:BB:CC:DD:EE:FF", 
  "ble_write_service":"cba20d00-224d-11e6-9fb8-0002a5d5c51b",
  "ble_write_char":"cba20002-224d-11e6-9fb8-0002a5d5c51b", 
  "ble_write_value":"TEST",
  "value_type":"STRING",
  "ttl":4 }'
  • Efforts have been made around the security connection functions, the TLS connection can now be configured within the configuration web page by adding the server root certificate (copy&paste) and checking a box.
    You can alternatively use self-signed certificates and even several sets of them, if you want to handle several MQTT servers. With this comes also the ability to change the MQTT server by MQTT, with automatic return to the previous configuration if not working.

  • So as to make the update of the gateway you are now able to trigger it through MQTT, if the version is different than the current one and if the password is OK, the gateway will download and install the linked firmware.

mosquitto_pub -t "home/<gateway_name>/commands/firmware_update" -m
'{
  "version": "test",
  "password": "OTAPASSWORD",
  "url": "https://github.com/1technophile/OpenMQTTGateway/releases/download/v0.9.6/esp32-m5stack-ble-firmware.bin"
}'

But that's not all, let's take a deeper look at all the new devices and features!

New devices:

New features:

Under the hood:

Breaking:

Docs:

Deprecate - functions that will be removed or modified on the next release:

  • The default gateway name for ESP will be generated automatically from the MAC address per default, OpenMQTTGateway in the AP name and the topic will be replaced:
    AP Name: OMG_112233445566
    Topic: home/112233445566/BTtoMQTT
    Setting the Gateway_name will not be needed anymore unless you want to do it explicitely.

  • SimplePublishing and simpleReceiving methods will be removed see why here

OpenMQTTGateway v0.9.7beta

14 Jul 22:26
ebe17c8
Compare
Choose a tag to compare
Pre-release

release for testing only

OpenMQTTGateway v0.9.6

05 Apr 01:13
e1aef48
Compare
Choose a tag to compare

Big release time, I hope you enjoy it!

This one brings a lot of features and improvements.

  • In particular the support of RTL_433 library to ESP32 thanks to @NorthernMan54. This is a huge addition to the community as this library enables to support a lot of new protocols. More than 75 433Mhz protocols supported with an ESP32 + a CC1101!
    Here is an example with a weather station:
home/OpenMQTTGateway_RTL_433_ESP/RTL_433toMQTT
{"model":"WS2032","id":38553,"battery_ok":1,"temperature_C":22.3,"humidity":65,"wind_dir_deg":90.0,"wind_avg_km_h":0,"wind_max_km_h":0,"rain":256,"flags":0,"mic":"CRC","protocol":"WS2032 weather station","rssi":-52,"duration":511982}
  • Also, @csiki2 improved the BLE gateway by adding a queue mechanism, bringing more stability to the gateway, and improving the number of BLE packets transmitted. Thanks to this, the gateway can now be configured for the continuous scan (TimeBtwRead:0, Scan_duration:1000) and catch easily BLE PIR and door/window sensors events.

  • Regarding the BLE gateway, sensor devices are now created automatically in Home Assistant so as to gather their entities. You can add directly these devices from configuration->devices into your Lovelace UI. Thanks, @titilambert, and @francisp.

But that's not all, let's take a deeper look at all the new devices, boards, and features!

New devices:

New boards:

New features:

Under the hood:

Docs:

Breaking:

Deprecate - items that will be removed on the next release:

  • SimplePublishing and simpleReceiving methods will be removed see why here

OpenMQTTGateway v0.9.6-beta

26 Mar 21:43
cd55f0d
Compare
Choose a tag to compare
Pre-release

beta version for testing purposes

OpenMQTTGateway v0.9.5

18 Sep 22:34
Compare
Choose a tag to compare

Plenty of new stuff for this v0.9.5, I hope you will enjoy it,
A big thank you to @jmw6773 & @Legion2 for their numerous contributions!

--Here is the content--
New devices:

New boards:

New features:

Aside from the code:

  • A new way to retrieve the compatible devices, boards and parts, through a website

Under the hood:

Breaking:

Deprecate - items that will be removed on the next release:

OpenMQTTGateway v0.9.5-beta

09 Sep 21:47
Compare
Choose a tag to compare
Pre-release

Woow v0.9.5 is gonna be huge in terms of functionalities so let's begin by testing a beta before outgoing the official release.

OpenMQTTGateway v0.9.4

22 Jun 15:41
Compare
Choose a tag to compare

v0.9.4 adds the following features/fixes:

Under the hood:

Thanks to the numerous contributors to this version!

Breaking changes:

  • Home assistant discovery of luminance value is now with lx unity instead of lu
  • Protocol name has changed for IR, now the IR_ is removed in the json input or output
  • actuatorONOFF API has been modified, see docs, pin is replaced by GPIO
  • all system attributes published to SYStoMQTT are now lower case, example:
{"uptime":260,"version":"version_tag","freemem":50012,"rssi":-30,"SSID":"omgap","ip":"192.168.1.23","mac":"24:0A:C4:24:90:98","wifiprt":0,"lowpowermode":0,"interval":55555,"modules":"BTHADiscovery"}

OpenMQTTGateway v0.9.4beta

27 Apr 19:25
Compare
Choose a tag to compare
Pre-release

This is a beta of v0.9.4, this version can be used for tests only.

It adds the following features/fixes, thanks to the numerous contributors to this version:

OpenMQTTGateway v0.9.3

11 Jan 15:59
Compare
Choose a tag to compare

Gateway

  • Set gateway name and base topic by wifi manager
  • Publish gateway HA discovery message once with retain flag
  • Add network advanced setup macro (no need anymore to modify the code)
  • Wifi automatic reconnection improvments for ESP32

BLE

  • Add M5stack, M5stick-c and M5stick boards into platformio.ini
  • Add Vegtrug (Mi Flora like) BLE sensor
  • Add of cleargrass temperature, humidity and air pressure BLE sensor
  • Add Xiaomi MiLamp Night led on BLE gateway
  • Add Mi band steps reading
  • Add Unit of Measurement for MiFlora Fertility and Fix MiJia BT thanks to @kanttti
  • Add Ble Xiaomi scales compatibility, thanks to @pavon87 & @kanttti
  • Implement minimum rssi filtering for BLE devices

Others

  • Make ON OFF actuator more flexible (set the pin into json payload)
  • ESP IR library update
  • Add support for HC-SR04 sensor thanks to @mpember
  • Name of the wifi AP is now the gateway name
  • Vuepress powered documentation
  • Avoid spam of buffer message in hcsr501 thanks to @chesterbr
  • Continuous integration improvments