1
0
mirror of https://github.com/thingsboard/thingsboard-gateway synced 2025-10-26 22:31:42 +08:00
Commit Graph

1255 Commits

Author SHA1 Message Date
imbeacon
b199d2cf2a Adopted to new library response on error during reading/writing to device and add lock for RPC processing 2024-06-10 15:32:03 +03:00
imbeacon
09edec0582 Moved RPC to devicesprocessing to separated thread, to avoid hidden locking and refactored device connector addition 2024-06-10 14:50:20 +03:00
imbeacon
f13e4665d5 Avoid using limitation for device connection for tests 2024-06-10 12:04:48 +03:00
imbeacon
4fa3e35aa9 Added check is device connected for adding device 2024-06-10 10:39:06 +03:00
imbeacon
bdfa87a745 Added handle for bad string encoding error, data will be send in HEX instead of not sending at all 2024-06-10 10:12:57 +03:00
imbeacon
6d70e63874 General improvements for logging and device connection message, to avoid sending device connected messages less then each minute 2024-06-10 09:28:00 +03:00
imbeacon
d53fcc1700 Changed logging for failed sending to TB 2024-06-06 15:34:49 +03:00
imbeacon
89395e197b Added disconnecting device on TB in case if connection to device was lost 2024-06-06 15:10:45 +03:00
imbeacon
28f1d387d9 Added additional logging for incoming configuration update processing in case of processing failed 2024-06-06 10:36:09 +03:00
imbeacon
a186613697 Refactoring 2024-06-06 10:35:28 +03:00
imbeacon
38492a94fb Added caching for connections, to avoid several connections to the same master 2024-06-06 10:35:05 +03:00
samson0v
5759176d6b Fixed handling logs configuration update 2024-06-03 13:29:13 +03:00
samson0v
7e06c8a767 Fixed TimedRotatingFileHandler 2024-06-03 12:47:03 +03:00
imbeacon
9b322b185a Fix for process deleted gateway device rpc in case of duplicate detector is disabled 2024-06-03 11:41:42 +03:00
samson0v
d7ba7b1e1f Deleted deprecated OPC-UA connector and made OPC-UA async default connector 2024-06-03 09:44:31 +03:00
samson0v
b83d08f80a Fixed errors resetting 2024-06-03 09:19:38 +03:00
imbeacon
56a9a7b6a8 Added creation for directories in SQLite storage if they are not exist 2024-06-03 08:36:10 +03:00
imbeacon
c70e2a45cd Fix for #1411, thanks @YuanqZh 2024-05-30 11:39:44 +03:00
Vitalii Bidochka
91d16d7679 Merge branch 'thingsboard:master' into tests-improvement-pr 2024-05-29 10:45:07 +03:00
imbeacon
1bfaece135 Updated init 2024-05-29 10:44:25 +03:00
samson0v
c7ac0c3ad9 Merge remote-tracking branch 'upstream/master' into tests-improvement-pr
# Conflicts:
#	tests/blackbox/connectors/modbus/test_modbus_attributes_updates.py
#	tests/test_utils/gateway_device_util.py
#	thingsboard_gateway/connectors/opcua_asyncio/opcua_connector.py
#	thingsboard_gateway/gateway/tb_gateway_service.py
2024-05-29 09:56:34 +03:00
imbeacon
6bce24f5ff Merge branch 'master' of github.com:thingsboard/thingsboard-gateway 2024-05-29 09:50:23 +03:00
imbeacon
d2ed04e8bc Moved variables initialization to the beggining of gateway init, refactoring 2024-05-29 09:50:10 +03:00
Vitalii Bidochka
10f62b8f1a Merge branch 'thingsboard:master' into master 2024-05-29 09:31:50 +03:00
samson0v
dfe0724d11 Fixed getting device type in OPC-UA connector 2024-05-29 09:31:35 +03:00
imbeacon
b4c9ce06f3 Improvement to avoid issues with timezones 2024-05-29 08:58:51 +03:00
imbeacon
81e3eb62d5 Improvement for stopping in case of first connection failed 2024-05-29 08:58:04 +03:00
imbeacon
27f5852388 Replaced time with monotonic in OPCUA async to avoid issues with timezones 2024-05-28 08:47:44 +03:00
imbeacon
6de5868c9c Added ability to request client attributes in MQTT connector, using parameter "scope" in configuration or in the incoming message from device. Expected values - "shared" and "client" 2024-05-28 08:34:29 +03:00
imbeacon
5a2ac46189 Improved usage of conflicting env variable on Windows 2024-05-28 08:06:47 +03:00
imbeacon
c84c1767b3 Removed conflicting env variables (username and password) 2024-05-28 07:53:27 +03:00
samson0v
8bc323e3ea Fixes 2024-05-27 15:58:09 +03:00
samson0v
eec4f3b2ad Added node browser name format support for OPC-UA 2024-05-27 15:34:08 +03:00
imbeacon
5e64f36d0b For release 2024-05-14 15:52:14 +03:00
samson0v
d01defe02d Added log message on connection refused to TB 2024-05-14 15:42:18 +03:00
samson0v
affad5db2d Fixed device connector name updating 2024-05-14 14:51:15 +03:00
Vitalii Bidochka
e32aac914e Fixed remote configs handle blocking (#1399)
* Fixed remote configs handle blocking
2024-05-14 14:21:21 +03:00
imbeacon
48874ec0d0 Changed device update 2024-05-14 12:16:22 +03:00
samson0v
9056bf9a1c Added errors count resetting every 60 sec 2024-05-14 08:33:45 +03:00
samson0v
c4acd3aa2f Added device connector name updating when connector name changed 2024-05-13 12:38:38 +03:00
samson0v
00c0724bc4 Added MessageSecurityMode param for OPC-UA Async 2024-05-13 08:33:08 +03:00
samson0v
b52f9026b9 Changed is_connected_gateway method 2024-05-10 15:54:45 +03:00
samson0v
f6f5b910c8 Fixed stopping gateway modbus slave thread 2024-05-10 14:07:43 +03:00
Vitalii Bidochka
1a84efbbf4 Merge branch 'thingsboard:master' into tests-improvement-pr 2024-05-10 12:01:16 +03:00
samson0v
d0ad1fe7b1 Added disconnect before gateway restarting 2024-05-10 10:06:20 +03:00
Vitalii Bidochka
3e33810f92 Merge branch 'thingsboard:master' into master 2024-05-09 15:16:36 +03:00
samson0v
883ed79e82 Fixed getting connector id/name from remote config 2024-05-09 15:16:17 +03:00
samson0v
b212d0933c Fixed BLE connector stopping 2024-05-09 14:02:12 +03:00
samson0v
9659a167ac Fixed BLE connector stopping 2024-05-09 13:53:46 +03:00
samson0v
ccf54197eb Fixed sending remote logging level 2024-05-02 14:41:25 +03:00