samson0v
eab9597412
Divided wizard configuring into 2 groups
2023-09-19 15:36:58 +03:00
samson0v
7194e2559b
Fixe
2023-09-19 14:41:21 +03:00
samson0v
19e530270e
New Configuration Wizard
2023-09-19 14:38:14 +03:00
samson0v
1915afd2c7
Changed method acess
2023-09-18 15:29:18 +03:00
samson0v
52855baf58
Fixes
2023-09-18 15:12:05 +03:00
samson0v
6150be0acd
Fixed handling active connectors request
2023-09-18 13:43:50 +03:00
samson0v
9f98173b5a
Fixed gateway stopping
2023-09-12 09:31:50 +03:00
samson0v
d57021857e
Merge remote-tracking branch 'upstream/master' into feature/new-remote-configurator
2023-08-18 10:01:26 +03:00
samson0v
6277756197
Added basic auth env vars
2023-08-03 16:00:40 +03:00
samson0v
108856945b
Added custom logger
2023-08-03 14:49:47 +03:00
samson0v
843b9bb2b6
Changed updating remote configuration algorithm
2023-07-25 12:10:27 +03:00
samson0v
22293c803c
Added ts format check
2023-07-20 10:32:37 +03:00
samson0v
173555281c
Added backward compatibility for main configuration
2023-07-20 10:32:02 +03:00
imbeacon
7e80e2cea2
Updated tb mqtt client version
2023-06-28 12:41:31 +03:00
samson0v
7a2ac38d51
Update Remote Configurator
2023-06-26 12:19:43 +03:00
zhangzhx
0193532bd7
bug
2023-05-27 19:02:59 +08:00
imbeacon
65e756786a
Revert "Fixed version resolving"
...
This reverts commit f2bbe4e353 .
2023-05-26 11:57:02 +03:00
imbeacon
b7b5cbf7e3
improment requires additional architecture session
2023-05-18 08:17:03 +03:00
imbeacon
edeb999dbd
Revert "Small fix"
...
This reverts commit d11c2e37c9 .
2023-05-17 14:13:00 +03:00
imbeacon
d11c2e37c9
Small fix
2023-05-17 14:10:04 +03:00
imbeacon
5e4d830c1a
Refactoring for main service, added check is outgoing mqtt client queue is almost full and waiting for processing new events pack
2023-05-17 12:49:42 +03:00
Illia Barkov
eaabfb8114
Merge pull request #1113 from CouncilRockProducts/fix/slow-push
...
Remove sleep per data point pushed
2023-05-06 20:11:02 +03:00
Drew Young
77a5df3f73
Remove sleep per data point pushed
2023-05-05 10:45:56 -04:00
imbeacon
f7eaeba07d
Updated delays
2023-05-03 11:43:49 +03:00
samson0v
7b1d93959d
Added synchronizing method for converters config
2023-05-03 11:03:48 +03:00
devaskim
2a4d7cef61
Fixed KeyError for some edge cases.
2023-05-03 10:08:41 +05:00
samson0v
40a4a7858d
Fixed statistics sending period
2023-05-02 15:20:54 +03:00
samson0v
cc89caed09
Fixed FTP Converter
2023-05-02 13:54:21 +03:00
samson0v
0ca12e6125
Refactored Remote Configurator
2023-04-24 13:46:31 +03:00
Vitalii Bidochka
375be1ac73
Merge pull request #1100 from engix-ltd/connector_set_name_warning
...
Get rid of warning while setting connector name.
2023-04-17 11:29:45 +03:00
samson0v
6565d0bcc8
Fixed process_remote_converter_configuration_update method
2023-04-17 11:22:09 +03:00
samson0v
83fc6c24bd
Fixed process_remote_converter_configuration_update method
2023-04-17 11:08:41 +03:00
devaskim
fe498e14f6
Get rid of warning while setting connector name.
2023-04-15 12:08:12 +05:00
samson0v
2b87e82d0b
Changed Remote Configurator due to Widget Update
2023-04-14 13:32:46 +03:00
samson0v
dde57ab3b1
Added converter update request for MQTT, Modbus, OPC-UA Connectors
2023-03-30 15:47:06 +03:00
samson0v
41aa9c7d11
Added converter update from shared attr for MQTT Connector
2023-03-29 22:39:38 +03:00
samson0v
7433888cfc
Added Gateway Provisioning
2023-03-28 15:44:06 +03:00
samson0v
93b77279e0
Fixed TB Gateway Service reconnect
2023-03-14 16:31:21 +02:00
samson0v
d077944422
Fixed Shell connection for Windows
2023-03-06 10:42:10 +02:00
samson0v
bc26dafa45
Fixed starting Gateway with incorrectly closed manager
2023-02-16 12:06:59 +02:00
zbeacon
d3d3956717
Fix for getting sendOnlyOnChange parameter value
2023-02-09 08:52:29 +02:00
samson0v
08a68abef7
Added entrypoint for Gateway Shell
2023-01-24 18:35:05 +02:00
Illia Barkov
584a705c2b
Merge pull request #1017 from samson0v/feature/shell
...
Added Gateway Shell
2023-01-10 10:47:32 +02:00
samson0v
f2bbe4e353
Fixed version resolving
2023-01-05 11:19:42 +02:00
samson0v
5fdab962ff
Added device filtering
2023-01-03 13:18:27 +02:00
samson0v
04d2eaf898
Fixed AutoProxy and Manager
2022-12-19 11:36:21 +02:00
Vitalii Bidochka
c4c8e6eef8
Merge branch 'thingsboard:master' into feature/shell
2022-12-19 11:35:19 +02:00
devaskim
933eb34a20
Add documentation comment.
2022-12-16 17:37:58 +05:00
devaskim
12201978fc
Configuration parameter mistype
2022-12-16 17:34:44 +05:00
Vitalii Bidochka
a9dd56a64c
Merge branch 'master' into feature/shell
2022-12-14 11:45:21 +02:00
samson0v
425dabaab4
Updated Shell
2022-12-14 11:37:32 +02:00
Vitalii Bidochka
903da7c66f
Merge pull request #1019 from engix-ltd/ttl_for_duplicate_service
...
[Core] Support of TTL in duplicate filtering.
2022-12-12 12:17:50 +02:00
xunyu.wang
2f4a451078
Revert "Update tb_gateway_service.py"
...
This reverts commit 19de138d8c .
2022-12-11 22:13:31 +08:00
devaskim
5800c8b40f
Support of TTL in duplicate filtering.
2022-12-07 19:46:19 +05:00
samson0v
733e98a1ff
Added Gateway Shell
2022-12-05 14:36:55 +02:00
Vitalii Bidochka
cca2d24f90
Merge pull request #1000 from engix-ltd/duplicate_detector
...
[Core] Data duplicate detector feature.
2022-12-01 08:59:30 +02:00
Xunyu Wang
19de138d8c
Update tb_gateway_service.py
...
Fix statistics threading is blocking on rasperberry pi
2022-11-26 11:39:00 +08:00
devaskim
3384ecf1d8
Support device deletion and renaming.
2022-11-25 17:28:18 +05:00
devaskim
5c42f97c8a
Made changes according to review comments.
2022-11-22 14:41:48 +05:00
samson0v
c5a3ea2e73
Added parameter minEventsProcess
2022-11-21 13:16:52 +02:00
samson0v
c3fe8308b6
Added parameter minEventsProcess
2022-11-21 13:12:30 +02:00
samson0v
85caed47cf
Fixed RPC for Request Connector
2022-11-21 12:32:47 +02:00
samson0v
84d00ea784
Change ERROR to WARNING in statistics service log
2022-11-18 12:00:42 +02:00
samson0v
f43e9960cf
Added statistics file examples for different OS
2022-11-18 11:43:30 +02:00
devaskim
5819ba258d
Data duplicate detector feature.
2022-11-17 18:28:30 +05:00
samson0v
9f18264c4c
Fixed data-sending delay
2022-11-15 09:52:58 +02:00
samson0v
70750dcb10
Added cert config params to tb_gateway.yaml
2022-10-24 11:44:46 +03:00
Illia Barkov
3dc3d0ef3f
Merge pull request #938 from samson0v/connectors/ocpp
...
Added OCPP Connector
2022-10-17 11:18:39 +03:00
devaskim
13a53f5fae
Fixed out of range exception.
2022-10-12 14:18:33 +05:00
devaskim
2521e93507
Fix data repack algorithm.
2022-10-08 19:12:02 +05:00
samson0v
3c857d1c33
Init OCPP Connector
2022-09-22 11:07:47 +03:00
Illia Barkov
38852b3b02
Merge pull request #908 from samson0v/feature/sdk-submodule
...
Added SDK as a submodule
2022-09-07 15:48:38 +03:00
samson0v
bcd51e1640
Fixed get_env_variables function
2022-09-07 15:29:53 +03:00
samson0v
1f2ec0468d
Added ability to configure Gateway via Docker envs
2022-09-07 15:12:31 +03:00
samson0v
935655e0b1
Refactored Gateway initialization
2022-09-05 16:26:43 +03:00
samson0v
eaad65d0c6
Fixed import
2022-08-31 10:41:31 +03:00
samson0v
7fb4f3885b
Added git module
2022-08-29 10:23:34 +03:00
zbeacon
f7b2ab5811
Added ability to use clientId/username/password to connect to the ThingsBoard instance
2022-08-11 11:54:39 +03:00
Mirco Pizzichini
c2afbb41da
Fix devices list management after a delete_device RPC from thingsboard
2022-08-05 08:56:33 +02:00
samson0v
4d126270be
Fixed blocking statistics collecting
2022-08-01 13:43:25 +03:00
samson0v
2511ecf4d7
Expanded collection of statistics
2022-07-25 15:30:38 +03:00
samson0v
9757bc7e36
Decreased default value of maxPayloadSizeBytes parameter
2022-07-22 16:22:43 +03:00
samson0v
c0d9c388c2
Fixed calculating data size and optimized MQTT Connector
2022-07-22 13:18:09 +03:00
samson0v
a476487313
Changed certificate generation algorithm
2022-07-18 11:34:35 +03:00
samson0v
1317a7b603
Revert "Revert "Fixes for PR #880 ""
...
This reverts commit 53628473e1 .
2022-07-15 14:49:40 +03:00
samson0v
53628473e1
Revert "Fixes for PR #880 "
...
This reverts commit cdc532d9cf .
2022-07-15 14:47:51 +03:00
samson0v
cdc532d9cf
Fixes for PR #880
2022-07-15 14:02:38 +03:00
samson0v
558032e625
Added certificates end date checking
2022-07-15 12:19:44 +03:00
samson0v
9e9c9ccd59
Added exception log if connector not implemented
2022-06-30 12:52:34 +03:00
zbeacon
deebadb970
Added ability to request shared attributes for GRPC based connectors
2022-06-15 18:20:47 +03:00
zbeacon
0a6e79b759
Added ability to get devices from gateway to grpc connectors
2022-06-15 11:39:42 +03:00
samson0v
765ce710a6
Fixed statistics service stopping
2022-06-14 16:16:55 +03:00
samson0v
baf40b0633
XMPP Connector initial commit
2022-06-02 14:36:12 +03:00
Kevin Poole
8103fb6f76
Tweaks based on PR comments
2022-05-31 08:21:52 -04:00
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
samson0v
d06e270682
Added HotReloader
2022-05-24 11:37:20 +03:00
Vitalii Bidochka
c8d95a2a8b
Merge branch 'thingsboard:master' into dev/opcua-asyncio
2022-05-18 10:30:21 +00:00
samson0v
4d5de7d80b
Added timeout parameter
2022-05-17 16:53:54 +03: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
695b1a8ee7
Optimized grpc manager
2022-03-25 14:52:18 +02: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
eb4e71fa69
Fix for #692
2022-01-20 09:05:22 +02: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
5bdf668806
Refactored configuration wizard
2022-01-04 14:04:32 +02: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
c9092d7f92
Added connected devices constant
2021-12-07 13:17:16 +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