Releases: thingsboard/thingsboard-gateway
ThingsBoard IoT Gateway
What's Changed
⚛ Core improvements
🔗 Connectors improvements
BACnet
- Added device states synchronization on device connect(#1843) @samson0v
- Added ability to use priority in downlinks (#1844) @samson0v
- Added ability to connect to foreign device (#1856) @apachler
- Add rechecking for objects reading when they failed (#1813) @samson0v
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
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
🐛 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
What's Changed
Improvements
BACnet connector
- BACnet connector improvements by @samson0v in #1771, #1782
- Add ability to use router vars for BACnet devices connected through router by @samson0v in #1802
- Added routers cache for BACnet connector by @samson0v in #1811
- Added support for new BACnet properties by @samson0v in #1796
MQTT connector
Modbus
SQLite storage
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
- @Xsakura1314 made their first contribution in #1776
Full Changelog: 3.7.4...3.7.5
ThingsBoard IoT Gateway
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
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
- @rroemhild made their first contribution in #1717
Full Changelog: 3.7.2...3.7.3
ThingsBoard IoT Gateway
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
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
- @mbotezatu made their first contribution in #1671
- @tolap22 made their first contribution in #1686
Full Changelog: 3.7.0...3.7.1
ThingsBoard IoT Gateway
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 attributesyncDevicesSharedAttributesOnConnect
to false inthingsboard
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:
- Fixes for BACnet connector by @samson0v in #1650, @samson0v in #1656
- Fixed issue with logger on Windows by @tGallimberti-Kerberos in #1667
- Minor fixes in service and connectors.
New Contributors
- @tGallimberti-Kerberos made their first contribution in #1667
Full Changelog: 3.6.3...3.7.0
ThingsBoard IoT Gateway
Minor release of ThingsBoard IoT Gateway
Contains bug fixes and improvements for service, connectors, and converters.
What's Changed
- [FIX] Use path separator, instead of separator of paths. by @devaskim in #1612
- Fixed CPU usage counting by @samson0v in #1609
- Fixed BACnet error handling and getting default values from config by @samson0v in #1621
- Added ability to two attributes point out to same node by @samson0v in #1622
- Fixed reserved GET/SET rpc method by @samson0v in #1629
- Fixed gateway as a slave init by @samson0v in #1633
- Added reserved get/set rpc methods by @samson0v in #1632
- Fixed remote logging by @samson0v in #1638
- Fixed Gateway slave stopping by @samson0v in #1639
- Fixed TLS + Access Token connection type by @samson0v in #1645
- Remastered extension example, can be used as a fully functional connector.
Full Changelog: 3.6.2...3.6.3
ThingsBoard IoT Gateway
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 foraltResponsesAddresses
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
Minor release of ThingsBoard IoT Gateway.
This release contains fixes:
- File storage race condition issue, that cause situation when state file points to removed file.
- Fixes for loggers, their displaying on UI and locally.
connector.log
andconverter.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. - Minor fixes for Report Strategy feature.
Full Changelog: 3.6...3.6.1