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

680 Commits

Author SHA1 Message Date
zbeacon
47b06a2908 Merge branch 'master' of https://github.com/thingsboard/thingsboard-gateway into feature/grpc-api 2022-01-04 12:48:51 +02:00
samson0v
d1c5fb1ee9 Fixed forwarding connector type to BLE device 2021-12-31 11:20:23 +02:00
samson0v
5056f913d9 Added opportunity to load custom converter for BLE devices 2021-12-31 11:09:37 +02:00
samson0v
9b3638abe2 Fixed config file for BLE Connector 2021-12-30 16:00:51 +02:00
samson0v
ce525f893b Fixed data converting for BLE Connector 2021-12-30 15:59:15 +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
f6fb504345 Changed default wordOrder for Modbus connector to little-endian, changed default byteOrder for downlink modbus converter to little-endian 2021-12-29 14:28:37 +02:00
samson0v
5538b6890e Fixed imports 2021-12-29 14:17:51 +02:00
samson0v
8883357327 Fixed attributeUpdates processing for Modbus Connector 2021-12-29 14:16:49 +02:00
zbeacon
9901d6c1b5 Added RPC reply processing for GRPC API 2021-12-29 13:07:33 +02:00
Vitalii
4891bb39b7 Fixes of REST Connector (#665)
* Set SSL to false in REST Connector config file

* Fixed body section processing for REST Connector RPC

* Fixed REST Connector reloading error when changing config file

* Fixed body section processing for REST Connector RPC

* Fixed data section for REST RPC
2021-12-29 12:25:24 +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
samson0v
f7f9e5d0d0 Optimize imports in REST Connector 2021-12-28 12:46:26 +02:00
samson0v
ce0fee2f3c Fixed REST connector RPC processing 2021-12-28 12:43:49 +02:00
samson0v
fd5b57eb75 Added debug mode in config file for REST Connector 2021-12-20 14:29:47 +02:00
samson0v
ff241a71c7 Fixed AIOHTTP loop error 2021-12-20 13:41:32 +02:00
zbeacon
ced094db3d Merge branch 'master' of https://github.com/thingsboard/thingsboard-gateway 2021-12-17 15:24:27 +02:00
zbeacon
72f8f10f01 Added handling for device renaming/removing on ThingsBoard 2021-12-17 15:24:16 +02:00
Vitalii
1039a272d3 Fixed naming and saving config files for Modbus Adapter (#654)
* Fixed naming and saving config files for Modbus Adapter
2021-12-17 13:55:41 +02:00
Vitalii
859e6f2e80 BLE Connector Remastered (#653)
* Fixed stopping SQLite storage

* Changed the way of data reading and writing in SQLite Storage

* Changed stopping way for SQLite Storage

* Added Modbus Master Connector

* Created Modbus Server Connector

* Refactored Modbus connector

* Added backward compability adapter for modbus connector

* Fixed adapter

* Added license

* Added ASCII Framer support

* Added Modbus as a slave

* Added sub configuration to modbus slave

* Fixed modbus config file

* Fixed rpc and attributeUpdates for modbus slave

* Changed modbus config file

* Changed modbus config file

* Changed modbus config file

* Changed modbus config file

* Fixed modbus slave and config file

* Remake of BLE Connector

* Fixed logging

* Fixed imports

* Added passive scan mode for BLE Connector

* Optimized BLE Device
2021-12-16 16:07:24 +02:00
zbeacon
a7f99c0b9e Refactored shared attributes processing 2021-12-16 10:00:23 +02:00
zbeacon
19c72a6f32 Fix for default SSL value in REST Connector 2021-12-16 09:00:03 +02:00
zbeacon
66dbd12f68 Improved sending data in packs to TB 2021-12-13 16:04:24 +02:00
zbeacon
453dae38f7 Fix for wrong data for remote logging telemetry datapoint 2021-12-10 10:54:24 +02:00
zbeacon
c55927c0e7 Added statistics collecting in GRPC connector 2021-12-09 14:32:48 +02:00
zbeacon
a4d4245803 Repeating on broken pipe 2021-12-09 12:59:56 +02:00
Vitalii
96b75717b3 Fixed modbus slave and config file (#646)
* Fixed stopping SQLite storage

* Changed the way of data reading and writing in SQLite Storage

* Changed stopping way for SQLite Storage

* Added Modbus Master Connector

* Created Modbus Server Connector

* Refactored Modbus connector

* Added backward compability adapter for modbus connector

* Fixed adapter

* Added license

* Added ASCII Framer support

* Added Modbus as a slave

* Added sub configuration to modbus slave

* Fixed modbus config file

* Fixed rpc and attributeUpdates for modbus slave

* Changed modbus config file

* Changed modbus config file

* Changed modbus config file

* Changed modbus config file

* Fixed modbus slave and config file
2021-12-09 09:02:31 +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
Vitalii
95fcc14b48 Added Modbus as a slave (#640)
* Fixed stopping SQLite storage

* Changed the way of data reading and writing in SQLite Storage

* Changed stopping way for SQLite Storage

* Added Modbus Master Connector

* Created Modbus Server Connector

* Refactored Modbus connector

* Added backward compability adapter for modbus connector

* Fixed adapter

* Added license

* Added ASCII Framer support

* Added Modbus as a slave

* Added sub configuration to modbus slave

* Fixed modbus config file

* Fixed rpc and attributeUpdates for modbus slave

* Changed modbus config file

* Changed modbus config file

* Changed modbus config file

* Changed modbus config file
2021-12-03 12:13:00 +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
Vitalii
317b1b1e03 [WIP] Added Modbus Master Connector (#633)
* Fixed stopping SQLite storage

* Changed the way of data reading and writing in SQLite Storage

* Changed stopping way for SQLite Storage

* Added Modbus Master Connector

* Created Modbus Server Connector

* Refactored Modbus connector

* Added backward compability adapter for modbus connector

* Fixed adapter

* Added license

* Added ASCII Framer support
2021-11-29 14:29:01 +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
e22e50c63c Merge branch 'master' of https://github.com/thingsboard/thingsboard-gateway 2021-11-15 08:50:36 +02:00
zbeacon
ccb0faf174 Fix for processing invalid data 2021-11-15 08:50:27 +02:00
Vitalii
f4470251af Fixed stopping SQLite storage (#627)
* Fixed stopping SQLite storage

* Changed the way of data reading and writing in SQLite Storage

* Changed stopping way for SQLite Storage
2021-11-11 16:18:22 +02:00
zbeacon
994e404116 Merge branch 'master' of https://github.com/thingsboard/thingsboard-gateway 2021-11-11 13:04:11 +02:00
zbeacon
4ffd5e5c0a Fix for breaking processing of data 2021-11-11 13:03:51 +02:00
samson0v
9b5e2c9e7e Fixed database.py 2021-11-11 11:59:42 +02:00