samson0v
e21f84c6f1
Added setup wizard and updated setup.py
2021-08-31 15:06:07 +03:00
samson0v
8bf417e96d
Added multithreading converting data for bacnet connector
2021-08-30 15:18:07 +03:00
samson0v
8e7be4bdf8
Added multithreading converting data for modbus connector
2021-08-30 13:34:11 +03:00
samson0v
9c5d3d3a47
Added multithreading converting data for mqtt connector
2021-08-27 15:50:28 +03:00
samson0v
33b8c3918a
Fixed path resolving for opcua connector
2021-08-26 15:46:31 +03:00
samson0v
44642e4ef9
Added multithreading converting data for request connector
2021-08-26 12:44:37 +03:00
zbeacon
21b896caa5
Fix for modbus connector in case of connecting to several devices over serial port
2021-08-25 13:08:28 +03:00
samson0v
8da2ae58ac
Change data_types init place
2021-08-13 11:47:21 +03:00
samson0v
5d4d3557bf
Added timer import
2021-08-13 11:34:46 +03:00
samson0v
1b18885b7c
Fixed issues from PR
2021-08-13 11:11:14 +03:00
samson0v
da14844c29
Added config files
2021-08-12 15:01:30 +03:00
samson0v
fa451572fd
Fixed filtering file function
2021-08-12 14:27:09 +03:00
samson0v
6b2bf6611f
Added on_attributes_update method for FTP connector
2021-08-12 12:31:53 +03:00
samson0v
0c68e77880
Fixed duplicate send on_attributes_update callback
2021-08-12 11:20:36 +03:00
samson0v
3030dfd4f6
Added check for rescanning files in the path
2021-08-11 16:37:37 +03:00
samson0v
c86c04ac6b
Added on timer call paths function
2021-08-11 16:29:30 +03:00
samson0v
366838cfe1
Added server side rpc handler
2021-08-11 14:47:45 +03:00
samson0v
3f6ac2d1fd
Fixed calling send_rpc_reply function for rpc handler
2021-08-11 14:46:50 +03:00
samson0v
5b2e7fa0cc
Fixed issues from PR
2021-08-11 09:53:07 +03:00
samson0v
1938f323ef
Added json converter function for ftp connector
2021-08-10 13:11:37 +03:00
samson0v
ecc7b1b109
Refactored process_paths function and fixed get_files function
2021-08-10 12:06:49 +03:00
samson0v
398a1e63d5
Added partial reading mode
2021-08-10 10:47:42 +03:00
samson0v
4f3a0edcec
Added sliced reading mode for txt files
2021-08-10 10:09:59 +03:00
samson0v
6853d1e565
Added sliced reading mode for txt files
2021-08-09 13:33:54 +03:00
samson0v
8f3d09363b
Added txtFileDataView prop for converting ftp files
2021-08-06 16:18:47 +03:00
samson0v
ef35b4c25b
Done ftp converter for txt files
2021-08-06 14:50:51 +03:00
samson0v
ca1d73c1bb
Added txt file uplink converter and fixed tb_utility validate_converted_data function
2021-08-06 13:58:54 +03:00
Vitalii
0a666e1581
Merge branch 'thingsboard:master' into master
2021-08-06 10:21:26 +03:00
Vitalii
c07e71cfef
Revome mandatory key attributeRequest from mqtt connector ( #546 )
...
* Revome mandatory key attributeRequest from mqtt connector
* Added to load_handlers function optional argument
* Added to load_handlers function optional argument
* Added to load_handlers function optional argument
Co-authored-by: vitalii.bidochka <vitalii.bidochka@becausewhynot.dev >
2021-08-06 10:20:52 +03:00
vitalii.bidochka
1e2ee56819
Added ftp uplink converter
2021-08-05 15:21:50 +03:00
vitalii.bidochka
1ac3bc43b7
Added file class and reading files function
2021-08-05 12:05:01 +03:00
vitalii.bidochka
52c18b56dd
Added path class and refactored ftp connector
2021-08-04 15:45:37 +03:00
vitalii.bidochka
775d0c8862
Added sorting files by date for get_files function
2021-08-04 12:46:52 +03:00
vitalii.bidochka
7791e8a2d6
Added process_path function for finding all parseable files for ftp connector
2021-08-04 12:30:05 +03:00
vitalii.bidochka
02b3d4a327
Added ftp connector
2021-08-03 10:23:58 +03:00
vitalii.bidochka
d5035c16dc
Fixed converting array of objects for MQTT converter ( #544 )
2021-08-02 13:03:47 +03:00
Simone Libutti
9c7fd004a9
Set a maximum wait for rpc sub requests, which may hang
...
Signed-off-by: Simone Libutti <simone.libutti@ibtsystems.it >
2021-06-17 18:11:45 +02:00
Simone Libutti
8e9058e347
Substituted pass with sleep while waiting for RPC setup completed
...
Signed-off-by: Simone Libutti <simone.libutti@ibtsystems.it >
2021-06-17 18:09:23 +02:00
Simone Libutti
8a4897ae3b
[mqtt] Server-side RPC refactor with 2 bug-fixes
...
- Refactored Server-side RPC function
- Added some logging
- Wait for MQTT client to be actually subscribed to response topic
before publishing the request (this sometimes did not happen)
- Wait for gateway to actually register the RPC response
before publishing the request (this sometimes did not happen)
Signed-off-by: Simone Libutti <simone.libutti@ibtsystems.it >
2021-06-10 18:09:07 +02:00
Simone Libutti
b9ef14d3f0
[mqtt] Fix: RPC subscription topics never removed from __subscribes_sent
...
__subscribes_sent is used to store the topics for which subscription
has been requested for. Those topics should be tracked until the client
gives a feedback (i.e., subscription request succeeded or failed),
then they should be removed. Else, in case of RPCs, that dict would grow
indefinitely!
Topics were removed only on subscription failure; now they are removed
also in case of success.
Signed-off-by: Simone Libutti <simone.libutti@ibtsystems.it >
2021-06-10 18:09:07 +02:00
Simone Libutti
e01bf80784
[mqtt] Added some required configuration keys for RPC handlers
...
Note: they were implicitly required, as their presence was checked
in the handler function. It makes sense to discard invalid handlers
when application starts, rather than checking them and fail every time.
- requestTopicExpression
- valueExpression
Signed-off-by: Simone Libutti <simone.libutti@ibtsystems.it >
2021-06-10 18:09:07 +02:00
zbeacon
5f7970b6dd
Changed imports
2021-05-24 15:44:07 +03:00
zbeacon
080ac5987c
Fix for integers value in SNMP connector ( #404 )
2021-05-24 09:14:34 +03:00
zbeacon
52494dc39a
Added passing config folder path to client.
2021-05-14 10:43:51 +03:00
Illia Barkov
028a9f3c92
Merge pull request #520 from slibutti/master
...
Bugfix: validation always fails: 'str' object has no attribute 'get'
2021-05-14 10:28:32 +03:00
Simone Libutti
a7836d4a82
[utility][bigfix] Validation: attributes are stored in dict, not list
...
Signed-off-by: Simone Libutti <simone.libutti@ibtsystems.it >
2021-05-13 15:01:32 +02:00
Simone Libutti
9765b40cda
[utility] Solved some PIP warnings
...
Signed-off-by: Simone Libutti <simone.libutti@ibtsystems.it >
2021-05-13 15:00:57 +02:00
Illia Barkov
37cbf0e509
Merge pull request #521 from slibutti/rpc-fix
...
[MQTT] Rpc fixes
2021-05-13 14:49:30 +03:00
zbeacon
6c56762f06
Added parameter for checking connectors configuration time (auto-reload)
2021-05-13 14:41:08 +03:00
zbeacon
c92301eb5c
Removed redundant code
2021-05-13 14:31:10 +03:00