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

179 Commits

Author SHA1 Message Date
Kevin Poole
2bae7d7f63 thingsboard-gateway was failing to call __send_data_pack_to_storage in multiple scenarios 2022-05-27 15:47:47 -04:00
Vitalii Bidochka
c8d95a2a8b Merge branch 'thingsboard:master' into dev/opcua-asyncio 2022-05-18 10:30:21 +00:00
samson0v
ba3c4e3c03 Added Statistics Service 2022-05-17 16:40:07 +03:00
samson0v
babc84b0c5 Updated OPC-UA AsyncIO Connector 2022-05-17 12:43:53 +03:00
samson0v
3d274c57b2 Added OPC-UA AsyncIO Connector 2022-05-06 13:34:12 +03:00
samson0v
33051c33c4 Added 'useGRPC' optional connector parameter 2022-03-28 15:02:25 +03:00
samson0v
5f5fb52db0 Added Grpc Socket Connector 2022-03-25 14:37:40 +02:00
samson0v
6e3d77ac55 Fixed proccesing adopted data 2022-03-14 14:20:23 +02:00
samson0v
eb5b60bfca Fixed processing adopted data 2022-03-10 15:29:18 +02:00
Vitalii
d8f2116167 Added functionality for checking devices idle time (#723)
* Added functionality for checking devices idle time

* Fixed creating timestamps

* Fixed props naming and added lock for saving persistent devices method

* Changed props naming in tb_gateway

* Fixed dict keys

* Changed default value in tb_gateway

* Changed default value in tb_gateway
2022-02-02 13:40:25 +02:00
Jeffrey Lau
6c1cb2af19 Updated after comments 2022-01-26 19:04:06 +08:00
jeffreylauck
45c39ed9b9 Merge branch 'thingsboard:master' into fix-remote-configurator 2022-01-26 17:59:44 +08:00
samson0v
81718e3102 Deleted redundant method in tb_gateway_service 2022-01-26 10:11:02 +02:00
jeffreylauck
0636e8e9e3 Merge branch 'thingsboard:master' into fix-remote-configurator 2022-01-26 11:35:45 +08:00
samson0v
e6c007fe7e Fixed path resolving for Modbus Compability Adapter 2022-01-25 14:36:14 +02:00
Jeffrey Lau
146b717103 Further fix for #692 2022-01-24 17:02:23 +08:00
zbeacon
5d66511b84 Fix for Status not found error 2022-01-18 14:19:00 +02:00
zbeacon
af968fee9d Set grpc to not required in code 2022-01-17 08:28:10 +02:00
samson0v
5dc80247ca Added Socket Connector 2022-01-12 16:04:07 +02:00
zbeacon
f9dc19796f Merge branch 'master' of https://github.com/thingsboard/thingsboard-gateway 2022-01-10 14:04:50 +02:00
zbeacon
2bccddea1d Updated copyright 2022-01-10 14:04:34 +02:00
zbeacon
f535369864 Updated requirements list, updated configurable parameter "handleDeviceRenaming" 2022-01-05 19:42:13 +02:00
ysimonx
ecb51cdded typo error
''2022-01-05 00:12:55' - ERROR - tb_gateway_service - 1007 - '>' not supported between instances of 'list' and 'int''
Traceback (most recent call last):
  File "/Users/ysimonx/Developpement/tb-gateway/env/lib/python3.9/site-packages/thingsboard_gateway/gateway/tb_gateway_service.py", line 1001, in __load_persistent_devices
    if len(devices[device_name] > 2) and device_name not in self.__renamed_devices:
TypeError: '>' not supported between instances of 'list' and 'int'

) seems to be at a wrong place
2022-01-05 00:21:23 +01:00
zbeacon
47b06a2908 Merge branch 'master' of https://github.com/thingsboard/thingsboard-gateway into feature/grpc-api 2022-01-04 12:48:51 +02:00
zbeacon
01321d5056 Changed method for deliviring renamed device and deleted device notification from shared attributes update to RPC 2021-12-30 11:41:41 +02:00
zbeacon
9901d6c1b5 Added RPC reply processing for GRPC API 2021-12-29 13:07:33 +02:00
zbeacon
d25e746ba0 Merge branch 'master' of https://github.com/thingsboard/thingsboard-gateway into feature/grpc-api 2021-12-29 11:21:58 +02:00
zbeacon
72f8f10f01 Added handling for device renaming/removing on ThingsBoard 2021-12-17 15:24:16 +02:00
zbeacon
a7f99c0b9e Refactored shared attributes processing 2021-12-16 10:00:23 +02:00
zbeacon
66dbd12f68 Improved sending data in packs to TB 2021-12-13 16:04:24 +02:00
zbeacon
c55927c0e7 Added statistics collecting in GRPC connector 2021-12-09 14:32:48 +02:00
zbeacon
dec13f723e Changed processing from stream-stream model to unary-unary in order to improve performance, like it is described in Best GRPC practics for Python 2021-12-08 11:15:58 +02:00
zbeacon
5314f153eb Merge branch 'master' of https://github.com/thingsboard/thingsboard-gateway into feature/grpc-api 2021-12-06 14:12:28 +02:00
zbeacon
8492130a0c Moved connected device filename to constants 2021-12-06 14:09:52 +02:00
zbeacon
8c02b07a09 returned accidentaly removed dictionary for connected devices on initialization 2021-12-06 14:02:24 +02:00
zbeacon
5545f9f953 Merge branch 'master' of https://github.com/thingsboard/thingsboard-gateway into feature/grpc-api 2021-12-06 13:58:16 +02:00
zbeacon
647de03c01 Added processing for more messages in during GRPC session 2021-12-06 13:56:03 +02:00
zbeacon
0233980065 Added processiong for GRPC connector (PostTelemetryRequest and PostAttributesRequest) 2021-12-01 16:09:28 +02:00
zbeacon
9affaab677 Added convertors for GRPC and processing for connect message from connector 2021-11-30 15:40:29 +02:00
zbeacon
e9f5950f43 Fix for saving and loading for persistent devices with device type 2021-11-30 15:24:25 +02:00
zbeacon
eb86e2598f Added registration/unregistration processing 2021-11-29 15:07:28 +02:00
zbeacon
e15e11049c Added connector registration processing and condiguration send logic 2021-11-25 16:03:16 +02:00
zbeacon
884305d803 Improvements 2021-11-24 14:47:34 +02:00
zbeacon
e584e92dda Init for GRPC API 2021-11-24 14:11:08 +02:00
zbeacon
26e7299047 Removed redundant if #634 2021-11-18 14:23:54 +02:00
zbeacon
ccb0faf174 Fix for processing invalid data 2021-11-15 08:50:27 +02:00
samson0v
d7d56dc8c9 Fixed high load CPU usage by connectors 2021-11-02 11:35:38 +02:00
samson0v
83ef704f75 Fixed higt load CPU usage 2021-11-01 17:08:23 +02:00
zbeacon
bf859d1626 Removed breaking log and updated format for logging messages. Contains fix for #607 2021-10-28 08:28:11 +03:00
zbeacon
95112f9422 Added lock for converter workers and for general message processing in order to avoid duplicating of message processing 2021-10-27 18:50:57 +03:00