Releases: thingsboard/thingsboard-gateway
ThingsBoard IoT Gateway
🛠 Improvements
🧩 FTP connector:
🐛 Bug fixes
🐛 OPC-UA connector:
- Fixed delays during subscription recreation process (#2055) @Andry925
- Fixed resubscription for nodes (#2049) @Andry925
🐛 BACnet connector:
- Fixed devices adding with the same id (#2062) @samson0v
- Fixed binary scheduler (#2048) @BastiJoe
- Fixed incorrect mask handling (#2047) @Andry925
🐛 Request connector:
ThingsBoard IoT Gateway
🛠 Improvements
🧩 MQTT connector:
🧩 Modbus connector:
🧩 OPC-UA connector:
- Added ability to use relative path with identifier device node (#2038) @Andry925
- Added ability to use attribute updates/RPCs with absolute path to node that do not belong to device node pattern (#2036) @Andry925
- Added black-box tests (#2033) @Andry925
🧩 BACnet connector:
🧩 FTP connector:
🧩 REST connector:
ThingsBoard IoT Gateway
🛠 Improvements
⚙️ Core:
🧩 Modbus connector:
- Performance improvement (#2012) @samson0v
- Added required tag expression keys for a wide range requests (#2004) @samson0v
🧩 Request connector:
🧩 BACnet connector:
🧩 FTP connector:
🐛 Bug fixes
🐛 Core:
🐛 MQTT connector:
- Fixed MQTT two-way RPCs processing under high request amounts (#2014) @samson0v
- Adapted the custom mqtt convertor for default mqtt config (#2005) @Andry925
- Fixed bytes decoding (#2003) @Andry925
🐛 Modbus connector:
ThingsBoard IoT Gateway
🛠 Improvements
⚙️ Core:
🧩 Modbus connector:
- Added batch reading (#1984) @samson0v
- Added unit tests for RPC and attributes updates (#1957) @Andry925
🧩 BACnet connector:
🐛 Bug fixes
🐛 Core:
🐛 MQTT connector:
- Fixed reserved two-way RPC (#1998) @Andry925
- Fixed missing JSON dump for single-attribute request (#1977) @Andry925
🐛 Modbus connector:
- Fixed retries parameter parsing for Modbus (#1979) @samson0v
- Fixed retries parameter mismatch (#1978) @Andry925
🐛 OPC-UA connector:
- Added URI parameter to the configuration (#2001) @samson0v
- Fixed config parsing for certificate-based auth (#2000) @samson0v
- Fixed error with incorrect deviceNameExpression/deviceProfileExpression parsing from full path (#1993) @Andry925
- Fixed attribute updates and rpc processing after reconnect (#1981) @Andry925
🐛 BLE connector:
- Added more robust log on showMap (#2002) @Andry925
- Fixed discovering advertising beacons (#1975) @Andry925
🐛 BACnet connector:
🐛 REST connector:
ThingsBoard IoT Gateway
🛠 Improvements
⚙️ Core:
- Removed configuration wizard (#1967) @samson0v
- Added sqlite storage config validation and init guardrails (#1956) @Andry925
- Added proxy support (#1933) @BastiJoe
- Added environmental variables for gateway provisioning, improved provisioning mechanism (#1930) @imbeacon
🧩 MQTT connector:
- Added unit tests for attribute updates, attribute requests, connect and disconnect requests (#1943) @Andry925
🧩 BACnet connector:
- Added more robust error handling for incorrect values inside the application section (#1948) @Andry925
- Added unit tests for BACnet connector (#1914) @Andry925
- BACnet schedular support (#1931) @majuss
🐛 Bug fixes
🐛 Core:
- Added correct extension to identify file storage files (#1963) @Andry925
- Fixed parsing QoS parameter from config (#1962) @samson0v
🐛 MQTT connector:
🐛 OPC-UA connector:
- Fixed finding device base node by identifier (#1971) @samson0v
- Fixed finding device name/profile from relative node path (#1970) @samson0v
- Fixed data type conversion in RPC processing and method name parsing (#1958) @samson0v
- Corrected number of arguments for logger (#1940) @tijn-hedgehog
🐛 BLE connector:
🐛 BACnet connector:
🐛 KNX connector:
ThingsBoard IoT Gateway
🛠 Improvements
⚙️ Core:
- Updated python required version (#1883) @samson0v
- Added max file size config for log handlers (#1870) @apachler
🧩 Modbus connector:
🧩 OPC-UA connector:
- Add multiple attribute updates ability (#1922) @Andry925
- Added more explicit logic for incorrect device rpc types (#1918) @Andry925
- Added unit tests for RPC and attribute updates (#1895) @Andry925
🧩 BACnet connector:
- Added ability to use Object identifiers for device identification, added EDE parsing (#1859) @samson0v
🧩 Request connector:
Other:
🐛 Bug fixes
🐛 MQTT connector:
🐛 Modbus connector:
🐛 OPC-UA connector:
- Removed extra log and fixed condition for task_completion flag (#1928) @Andry925
- Fixed error with incorrect attribute update after OPC-UA server disconnnect (#1923) @Andry925
🐛 BACnet connector:
- Fixed device filtering by id (#1927) @samson0v
- Fixed reading wildcard object id (#1926) @samson0v
- Fixed data key filtering in uplink converter (#1884) @apachler
- Fixed adding extra datapoints and device filtering by device id (#1881) @samson0v
- Fixed handling of foreign application (#1871) @apachler
🐛 Request connector:
🐛 REST connector:
🐛 Other:
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,reconnectBackoffFactorto 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