Upgrade for Liberty
This commit is contained in:
@@ -40,7 +40,7 @@ allowed_name_characters.append('.')
|
||||
logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s', filename='data_config_debug.log', filemode='w', level=logging.DEBUG, datefmt='%Y%m%d%H%M%S')
|
||||
|
||||
dir_name = 'I-Sight_Generated_Files'
|
||||
input_datamodel = 'DATAMODEL_1.0.6_BEI.xlsx'
|
||||
input_datamodel = 'DATAMODEL_1.0.6_LIBERTY.xlsx'
|
||||
shell_script_name = dir_name + '/I-Sight_Configuration_'
|
||||
global_shell_script_name = dir_name + '/I-Sight_Global_Configuration.sh'
|
||||
|
||||
@@ -204,7 +204,7 @@ def jq_filter(current_device, dsh, dsh_global, row_device):
|
||||
if filter in jq_filter_set and filter != "bitfield":
|
||||
logging.debug("Creating standard telemetry topic " + filter + ".")
|
||||
jq_data = {}
|
||||
jq_data["enable"] = True
|
||||
jq_data["enable"] = False
|
||||
jq_data["properties"] = [{"key": "deviceType", "value": "AC_GATEWAY"}, {"key": "cdid", "value": current_device}]
|
||||
jq_data["outputTopic"] = filter
|
||||
jq_data["sendOutThreshold"] = {"mode": "bySize", "size": int(128000), "time": int(30), "sizeIdleTimer": {"enable": True, "time": int(30)}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
pandas==1.4.3
|
||||
openpyxl==3.1.0
|
||||
pandas
|
||||
openpyxl
|
||||
requests
|
||||
dotenv-python
|
||||
python-dotenv
|
||||
|
||||
Reference in New Issue
Block a user