Skip to content

Releases: thingsboard/thingsboard-gateway

ThingsBoard IoT Gateway

08 Jul 06:30
Compare
Choose a tag to compare

What's Changed

⚛ Core improvements

  • Added ability to limit database files size in SQLite storage (#1822) @Andry925

🔗 Connectors improvements

BACnet

MQTT

  • Support for PAHO client keepalive in MQTT connector (#1865) @apachler
  • Added special attribute to converter (SUPPORTS_BYTES_PAYLOAD) if present in converter object it changes type of data that passed to converter to raw bytes (8c1748f) @imbeacon

Request

  • Added ability to define different hosts in the same connector (#1856) @apachler

REST

  • Added ability to use SSL client certificates for outgoing request (#1856)
  • Added ability to use query string parameters with request methods other than GET (#1856) @apachler
  • Added ability to use URL matching info like "endpoint": "/myapi/{someKey:.*}" (#1856) @apachler

OPC-UA

  • Added device states synchronization on device connect (#1843) @samson0v
  • Added identifier support for device name/profile expression (#1815) @samson0v
  • Added reconnectRetriesCount, reconnectBackoffInitialDelay, reconnectBackoffFactor to get ability to control reconnection (bc15f4f) @imbeacon

FTP

  • Added ability to use "tsField" like in MQTT and REST connectors (1509189) @imbeacon

🐛 Bug fixes

  • Fixed constant device profile expression parsing failure in MQTT connector (#1860) @wallevex
  • Fixed processing data in arrays in MQTT JSON uplink converter (1a485e1) @imbeacon
  • Fixed RPC commands to Modbus connector (#1839) @samson0v
  • Fixed processing serial devices in Modbus connector (#1864) @samson0v
  • Fixed devices deleting in OPC-UA connector (#1858) @samson0v
  • Fixed device objects discovering, added logs in BACnet connector (#1847) @samson0v
  • Fixed FTP backwards compatibility adapter (#1840) @samson0v
  • Fixed code that prevented usage of custom timestamp (#1835) @trya2l
  • Fixed factory protocol connect callback called while connected for Modbus (#1816) @samson0v
  • Fixed ability to use "useReceivedTs" parameter in MQTT connector (34e9a40) @imbeacon

ThingsBoard IoT Gateway

03 Jun 04:37
Compare
Choose a tag to compare

What's Changed

Improvements

BACnet connector

MQTT connector

  • Add QoS parameter support for MQTT publish methods by @mircopz in #1787

Modbus

SQLite storage

  • Added OperationalError handling for SQLite storage by @samson0v in #1781

Bug fixes

  • Fix custom serial access errors by @Xsakura1314 in #1776
  • Fixed get_address_regex method for BACnet connector by @samson0v in #1792
  • Fix/fix bug with device after renaming by @Andry925 in #1801
  • Fixed returning BACnet device details if parameters are none by @samson0v in #1810
  • Remove deprecated functions to process configs from mqtt, opcua and t… by @Andry925 in #1775

New Contributors

Full Changelog: 3.7.4...3.7.5

ThingsBoard IoT Gateway

08 May 05:25
Compare
Choose a tag to compare

Minor release of ThingsBoard IoT Gateway.

This release contains part of planned improvements for BACnet connector, fixes for bugs and some features.

BACnet connector contains new feature - automatic device discovering, based on broadcasts and data mapping. It is added in beta mode and may work slow now, expecting to improve this in next release. To try it - you can set host to * and port to * - it is an equivalent for global broadcast request.
To automatically map values to time series or attributes - you need to set "*" instead of [] in advanced configuration for BACnet connector.
BACnet connector with using broadcasts in Docker can work only in Linux OS, also you need to set network_mode:host in docker-compose.yml file. In other OS, if you want to use broadcasts - we recommend to use different setup options.

OPC-UA connector has fixes, for attribute updates and RPC, now you can use paths instead of identifiers to send RPC requests and attribute updates to OPC-UA servers.
Service get RPC was improved for OPC-UA connector, you can read current value from node, using attribute or time series key. Example of usage:
Let's assume you have attribute key configuration for device. Attribute key name is "valve1state".
RPC to device to get current value from the node looks like:
get valve1state
In the next release we are going to extend this functionality to have ability to write values to the node in the same way.

What's Changed

  • Added ability to use additional placeholders in MQTT connector by @Andry925 in #1723
  • Added float rounding to Modbus Uplink Converter by @Andry925 in #1725
  • KNX connector improvements by @samson0v in #1726
  • Added info to display logs to rest convertor by @Andry925 in #1729
  • Fixed syntax of response.content by @di4k in #1733
  • Added address pattern support for BACnet by @samson0v in #1732
  • FTP connector new configuration support and added backward compatibility adapter by @Andry925 in #1742
  • Added debugpy by @samson0v in #1740
  • Fixed CAN connector clean up reason by @samson0v in #1751
  • Added functionality to parse timestamp from different connectors by @Andry925 in #1755
  • Added more logs, improved existing logs messages by @Andry925 in #1750
  • Fix for incorrect response for set rpc method inside BACnet connector by @Andry925 in #1758
  • Added BACnet device objects autodiscovery by @samson0v in #1757
  • Improved BACnet device filtering by @samson0v in #1760
  • Added ability to use both relative and absolute paths in RPC for OPCUA connector by @Andry925 in #1759
  • BACnet connector improvements by @samson0v in #1763
  • Added device name retrieving method for BACnet connector by @samson0v in #1764
  • Optimised confirmation handling and fixed confirmation lock for BACnet by @samson0v in #1766
  • Removed unnecessary discovery result handling by @samson0v in #1767
  • Fix for rpc methods in ftp connector by @Andry925 in #1765
  • BACnet connector improvements by @samson0v in #1768
  • Update configs, add, additional helper fields by @Andry925 in #1752

New Contributors

Full Changelog: 3.7.3...3.7.4

ThingsBoard IoT Gateway

09 Apr 09:40
Compare
Choose a tag to compare

What's Changed

  • Improved gateway service stability
  • Fixed messages processing for connection to platforms with configured rate limits
  • Fixed memory leak in logging
  • Added new GET/SET RPC by @samson0v in #1714
  • Fix RPC request in MQTT Connector by @rroemhild in #1717
  • Add useReceivedTs option for consistent timestamp handling by @rroemhild in #1718
  • Reduced CPU usage for ModBus connector.

New Contributors

Full Changelog: 3.7.2...3.7.3

ThingsBoard IoT Gateway

20 Mar 07:00
Compare
Choose a tag to compare

Minor release of ThingsBoard IoT Gateway.

Contains:

  • Updated version of ThingsBoard Python SDK to avoid Queue size exceeded error
  • Minor improvements for Modbus connector
  • REST connector new configuration (For new REST connector UI form) with backward compatibility adapter.
  • Updated libraries in requirements.
  • Logs messages improvements

Full Changelog: 3.7.1...3.7.2

ThingsBoard IoT Gateway

13 Mar 05:53
Compare
Choose a tag to compare

What's Changed

  • Exclude everything except needed files from docker build context by @mbotezatu in #1671
  • Fixed TLS authentication for MQTT connector by @tolap22 in #1686
  • Fixes in REST connector
  • Improvements for processing messages to storage.
  • Minor fixes in other connectors

New Contributors

Full Changelog: 3.7.0...3.7.1

ThingsBoard IoT Gateway

06 Feb 08:46
Compare
Choose a tag to compare

Minor release of ThingsBoard IoT Gateway.

What’s new

Features:

  • KNX Connector - Initial implementation for connector, that allows you to retrieve a data and control devices connected to KNX bus.
  • Shared attributes logic changed - starting from this release - on device connecting - gateway requests shared attributes for this device from the platform and send their as updates to the connected device to synchronise states between the device and platform.
    This functionality is enabled by default, but can be disabled by setting attribute syncDevicesSharedAttributesOnConnect to false in thingsboard section of general configuration.
    For this release shared attributes state synchronisation added only for Modbus connector, for other connectors - it will be implemented in future releases.
  • Added service GET/SET methods for SNMP and BLE connectors.

Fixes:

New Contributors

Full Changelog: 3.6.3...3.7.0

ThingsBoard IoT Gateway

09 Jan 07:59
392b09d
Compare
Choose a tag to compare

Minor release of ThingsBoard IoT Gateway

Contains bug fixes and improvements for service, connectors, and converters.

What's Changed

Full Changelog: 3.6.2...3.6.3

ThingsBoard IoT Gateway

10 Dec 05:49
Compare
Choose a tag to compare

Minor release of ThingsBoard IoT Gateway.

Improvements:

  • Remastered BACnet connector, migrated to bacpypes3 library by @samson0v in #1607
    Major features, like reading/writing, works. We have tested it with YABE.
    At the moment some objects readings/writings may be unstable, please try and feel free to write issues, we are going to make it stable in nearest version.
    Also, we have added two new parameters to configuration:

    • altResponsesAddresses - for devices (on the same level with address) it may be useful in case of usage in docker, when data may arrive not from address that set as main address for device. Expected value for altResponsesAddresses is an array of alternative ip addresses e.g. [“172.12.1.1”]
    • devicesDiscoverPeriodSeconds - in general/application section, may be useful to periodically rescan devices from devices list, default is 30 seconds.
  • Added additional information to regular statistics.

  • Environmental variables have priority over even received configuration, so it is not recommended to change credentials, after connecting the gateway, to avoid issues with connection. If you want to change credentials - you will need to update credentials in environmental variables.

Fixes:

  • Fixed issue with remote logging for connectors.
  • Fixes for ModBus connector - #1605, #1608
  • Fixes for RPC processing.
  • Other minor fixes.

Full Changelog: 3.6.1...3.6.2

Thingsboard IoT Gateway

14 Nov 08:40
Compare
Choose a tag to compare

Minor release of ThingsBoard IoT Gateway.

This release contains fixes:

  1. File storage race condition issue, that cause situation when state file points to removed file.
  2. Fixes for loggers, their displaying on UI and locally. connector.log and converter.log files are deprecated, in future release logs for each connector will be in separated file. In this release logs of connector/converter can be found in stdout (regular output in console or journalctl, docker logs, etc.) or on UI, if remote logging is enabled.
  3. Minor fixes for Report Strategy feature.

Full Changelog: 3.6...3.6.1