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

661 Commits

Author SHA1 Message Date
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
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
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
453dae38f7 Fix for wrong data for remote logging telemetry datapoint 2021-12-10 10:54:24 +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
c9092d7f92 Added connected devices constant 2021-12-07 13:17:16 +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
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
e9f5950f43 Fix for saving and loading for persistent devices with device type 2021-11-30 15:24:25 +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
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
samson0v
55e3bef752 Changed messages_ttl_check_in_hours 2021-11-11 11:51:58 +02:00
samson0v
75072d0bcd Added argumets for SQLite Storage 2021-11-11 11:49:20 +02:00
zbeacon
21a6b47f2b Refactored regex 2021-11-11 09:17:47 +02:00
samson0v
e256a84d27 Fixed get_values function 2021-11-05 12:46:52 +02:00
samson0v
2116ec9b94 Change args processing for OPCUA service RPC methods 2021-11-05 10:42:23 +02:00
samson0v
0255c43b53 Optimized imports 2021-11-04 15:10:28 +02:00
samson0v
211737e53e Added service RPC methods for OPCUA Connector 2021-11-04 15:08:35 +02:00
samson0v
1517a3def7 Fixed Modbus downlink converter 2021-11-04 13:15:57 +02:00
samson0v
272c16b417 Fixed Modbus downlink converter 2021-11-03 15:32:23 +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
Matthew Bernet
39e2e9fc20 Fix connector type issue in all connectors that have it 2021-11-01 02:13:11 -04:00
zbeacon
9e8777ac5e Removed sending logs after gateway stopped 2021-10-28 17:00:14 +03:00
zbeacon
8236dfe632 Changed default configuration for bacnet connector and removed warning 2021-10-28 16:57:22 +03: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
cccd410917 Merge branch 'master' of github.com:thingsboard/thingsboard-gateway 2021-10-27 18:51:35 +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
samson0v
b72cbe60ed Added opportunity to combine values in Request RPC 2021-10-26 14:02:23 +03:00
samson0v
b9101d722d Added opportunity to combine values in REST RPC 2021-10-26 13:49:25 +03:00