Releases: thingsboard/thingsboard-gateway
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
ThingsBoard IoT Gateway
Major features:
- Added report strategy for all connectors by default - strategy is
ON_RECEIVED
that keeps gateway data report behaviour not changed,sendDataOnlyOnChange
processing removed. By @imbeacon in #1554, by @samson0v #1576 - All converter refactored to return entities -
ConvertedData
, that containsTelemetryEntry
andAttributes
inside. Old format of data returning (in dicts is deprecated and no longer supported). - Statistics improvements - Changed information in statistics, added separated parameters to control statistics report periods:
statsSendPeriodInSeconds
andcustomStatsSendPeriodInSeconds
- Added Async Modbus connector (At the moment can be only manually chosen, will be added to UI after ThingsBoard 3.9) by @samson0v in #1567
- Connection stability to platform improved
- Improved data converting and splitting for batch sending to the platform.
- Added ability to configure custom RPC execution by @khalilKian in #1552
- Added
TB_GW_SECURITY_TYPE
env variable, it allows to set the type of security that you want to use, allowed values:accessToken
,usernamePassword
andtlsAccessToken
Minor features:
- Added
TB_GW_CONFIG
env variable - you can set it to configure location of config folder for the gateway. - Reduced CPU usage
- Refactored sending information about errors and logs
- Improved device management
- MQTT Connector improvements
- Socket connector improvements
- FTP connector improvements
- ODBC connector improvements
- General optimization
Bug fixes:
- Fixed looping reconnect on credentials type changed by @samson0v in #1586
- Fixed arguments order for MQTT Client by @samson0v in #1569
- Fixed processing gateway RPC by @samson0v in #1571, #1572
- Fixed devices removal handling by @samson0v in #1570
New Contributors
- @khalilKian made their first contribution in #1552
Full Changelog: 3.5.3...3.6
ThingsBoard IoT Gateway
The hotfix release of the gateway contains fixes for correct processing with rate limits.
Full Changelog: 3.5.2...3.5.3
ThingsBoard IoT Gateway
Minor release of ThingsBoard IoT Gateway
Features
- OPC-UA connector optimization
- Modbus connector optimization, added report strategies instead of send data only on change
- Allow filtering keys with dashes (-) by @phillipfickl in #1493
Bug fixes
- Added handling rpc methods to connectors on the new UI by @samson0v in #1452
- Fixed connectors finding by @samson0v in #1455
- Fixed device deleting method by @samson0v in #1457
- Reduced general remote logs number by @samson0v in #1458
- MQTT connector buffering by @palexandridis in #1465
- Adapted RPC handling for FTP connector by @samson0v in #1463
- Added collection of additional statistics by @samson0v in #1468
- Fixed coils writing by @samson0v in #1492
- OPC-UA release sessions when close by @ashdam in #1499
- docker python12 and cleanup by @smatvienko-tb in #1503
- Connectors/opcua/high load by @samson0v in #1501
- Fixed get_max_payload_size_bytes getter by @samson0v in #1508
- Renamed disableSubscriptions to enableSubscriptions param by @samson0v in #1509
- Updated rate limits parameters by @samson0v in #1512
- Added new statistics metrics by @samson0v in #1518
- Fix sqlite database is locked by @yhliyr in #1523
- Added metadata to messages by @samson0v in #1526
- Fixed loading mqtt handlers by @samson0v in #1531
- Fixed modbus device connecting by @samson0v in #1533
New Contributors
- @palexandridis made their first contribution in #1465
- @smatvienko-tb made their first contribution in #1502
- @ashdam made their first contribution in #1499
- @phillipfickl made their first contribution in #1493
- @yhliyr made their first contribution in #1523
Full Changelog: 3.5.1...3.5.2
ThingsBoard IoT Gateway
Minor release of ThingsBoard IoT Gateway.
Contains improvements for data processing and fixes.
What's Changed
- Added node browser name format support for OPC-UA by @samson0v in #1409
- Fixed getting device type in OPC-UA connector by @samson0v in #1412
- Tests improvement pr by @samson0v in #1366
- Fixed errors resetting by @samson0v in #1418
- Deleted deprecated OPC-UA connector and made OPC-UA async default connector by @samson0v in #1419
- Fixed handling logs configuration update by @samson0v in #1420
- Fixed SNMP data converting by @samson0v in #1423
- Fixed Socket connector data processing by @samson0v in #1424
- Fixed stoping OPC-UA connector by @samson0v in #1429
Full Changelog: 3.5...3.5.1
ThingsBoard IoT Gateway
Minor release of ThingsBoard IoT gateway.
Main feature of this release is a possibility to configure MQTT connector using dashboard form on UI, it is available in ThingsBoard 3.7 or above. Configuration structure for MQTT connector was changed, but it will be automatically converted from old structure to new. Also, this release contains a lot of bug fixes and improvements, the full list of changes is available below.
What's Changed
- Updated MQTT connector (new config format) by @samson0v in #1357
- Fixed logger init by @samson0v in #1364
- Fix issue 1316 and 1326 by @zwoabier in #1327
- Fixed sending device details by @samson0v in #1367
- Added enableRemoteLogging param for connectors by @samson0v in #1372
- Fixed creating logs handler files by @samson0v in #1373
- Deleted sending default connectors config feature by @samson0v in #1374
- [FIX] Added version file. by @devaskim in #1317
- Fixed getting connector id by @samson0v in #1379
- Fixed handling active connectors by @samson0v in #1382
- Fixed sending remote logging level by @samson0v in #1386
- Fixed BLE connector stopping by @samson0v in #1392
- Fixed getting connector id/name from remote config by @samson0v in #1393
- Fixed stopping gateway modbus slave thread by @samson0v in #1394
- Added MessageSecurityMode param for OPC-UA Async by @samson0v in #1395
- Added device connector name updating when connector name changed by @samson0v in #1397
- Added errors count resetting every 60 sec by @samson0v in #1398
- Fixed remote configs handle blocking by @samson0v in #1399
- Fixed device connector name updating by @samson0v in #1400
- Added log message on connection refused to TB by @samson0v in #1401
New Contributors
Full Changelog: 3.4.6...3.5
ThingsBoard IoT Gateway
Minor release of ThingsBoard IoT Gateway, contains fixes and improvements.
What's Changed
- Fixed custom serial connector by @samson0v in #1329
- Fixed exception handling tb_gateway_service by @devaskim in #1325
- Fixed TBClient reconnecting by @samson0v in #1337
- Fixed stopping remote logging by @samson0v in #1340
- Fixed update_device method by @samson0v in #1342
- Replaced OPC-UA as deprecated connector with OPC-UA AsyncIO by @samson0v in #1347
- Fix by @lgw666 in #1349
- Added missed getter for connector ID by @samson0v in #1350
- Fixed OPC-UA connector type resolving by @samson0v in #1351
New Contributors
Full Changelog: 3.4.5...3.4.6
ThingsBoard IoT Gateway
Minor release of ThingsBoard IoT gateway.
This release contains:
Improvements:
- General service improvements for remote configuration and general performance.
- Added rate limits, they are required to avoid issues with online ThingsBoard servers. In case of using the gateway with ThingsBoard on premise installation - rate limits can be changed using TB_GW_RATE_LIMITS environment variable. You can set the value for this variable to 1000:1; 60000:60 (Number before ":" - amount of the messages, Number after ":" - time in seconds), if you are using rate limits on ThingsBoard. Otherwise you can set the value of TB_GW_RATE_LIMITS to 10000:1. Rate limits will be received automatically in future releases
Fixes:
- Modbus connector fixes
- OPC-UA connector fixes
- MQTT connector fixes
- General service fixes
List of PRs:
- opcua: Fixes issues with computing "information" based on path by @wilterdinkrobert in #1270
- Minor fixes for Socket and REST connectors by @samson0v in #1273
- Bugfix/fix double slash by @wilterdinkrobert in #1274
- Feature/connector id instead of name identification by @imbeacon in #1276
- Added blackbox tests for Modbus connector by @samson0v in #1280
- fixbug:the rpc request in progress got replaced by the new rpc request by @donghbcn in #1242
- Added blackbox tests for Modbus attribute updates by @samson0v in #1285
- Added blackbox tests for Modbus RPC by @samson0v in #1289
- Fixed modbus server host by @samson0v in #1301
- Tests improvement by @imbeacon in #1302
- Fixed attributes request method for MQTT connector by @samson0v in #1306
- Fixed reading GUID nodes for OPC-UA connector by @samson0v in #1307
- Fixed reading base64string nodes for OPC-UA connector by @samson0v in #1308
- Fixed reading two same nodes for OPC-UA connector by @samson0v in #1309
- Fixed stopping REST connector by @samson0v in #1310
- Fixed stopping Modbus connector without exception raise by @samson0v in #1313
- Fixed connectors duplication start during gRPC config changed by @samson0v in #1315
- Fixed TbLogger initialization by @samson0v in #1320
- Increased timeout for Modbus RPC blackbox tests by @samson0v in #1321
- Added RATE_LIMITS env variable by @samson0v in #1324
Full Changelog: 3.4.4...3.4.5
ThingsBoard IoT Gateway
Minor release of ThingsBoard IoT Gateway.
Contains bug fixes and improvements.
Changes:
- Fixed OCPP Connector stopping by @samson0v in #1244
- Optimized sending logs and info by @samson0v in #1245
- Fixed config converting by @samson0v in #1246
- Changed log level from ERROR to WARNING when connectors were not found by @samson0v in #1248
- Fixed sending default connectors config by @samson0v in #1253
- Include sub variables by @samy4sam in #1251
- Fixed REST Connector stopping by @samson0v in #1259
- Fixed FTP RPCs processing by @samson0v in #1260
New Contributors
- @samy4sam made their first contribution in #1251
Full Changelog: 3.4.3.1...3.4.4