--
-- Host: 172.31.36.35    Database: e3t
-- ------------------------------------------------------

 SET NAMES utf8 ;

--
-- Table structure for table `PARTITIONS_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `PARTITIONS_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `TS` datetime DEFAULT NULL,
  `table_name` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idmode` tinyint DEFAULT NULL,
  `date` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `step` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `table_name` (`table_name`),
  KEY `idmode` (`idmode`),
  KEY `step` (`step`),
  KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='		';

--
-- Dumping data for table `PARTITIONS_log`
--


--
-- Table structure for table `TEMP_device_measure_inputtype_DIFF`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `TEMP_device_measure_inputtype_DIFF` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `idinput_type` int DEFAULT NULL,
  `DIFF` decimal(20,2) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `TEMP_device_measure_inputtype_DIFF`
--


--
-- Table structure for table `Temp_Table_DEVICES_SENDINGS_LAST_7_DAYS`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_DEVICES_SENDINGS_LAST_7_DAYS` (
  `iddevice` int NOT NULL DEFAULT '0',
  `sendings_7` int DEFAULT '0',
  `sendings_6` int DEFAULT '0',
  `sendings_5` int DEFAULT '0',
  `sendings_4` int DEFAULT '0',
  `sendings_3` int DEFAULT '0',
  `sendings_2` int DEFAULT '0',
  `sendings_1` int DEFAULT '0',
  `sendings_0` int DEFAULT '0',
  `date` longtext CHARACTER SET latin1,
  `online` int NOT NULL DEFAULT '0',
  `offline_24h` int NOT NULL DEFAULT '0',
  `RSSI_avg` decimal(12,6) DEFAULT NULL,
  `RSSI_min` decimal(8,2) DEFAULT NULL,
  `RSSI_max` decimal(8,2) DEFAULT NULL,
  `RSRQ_avg` decimal(12,6) DEFAULT NULL,
  `RSRQ_min` decimal(8,2) DEFAULT NULL,
  `RSRQ_max` decimal(8,2) DEFAULT NULL,
  `RSRP_avg` decimal(12,6) DEFAULT NULL,
  `RSRP_min` decimal(8,2) DEFAULT NULL,
  `RSRP_max` decimal(8,2) DEFAULT NULL,
  `SINR_avg` decimal(12,6) DEFAULT NULL,
  `SINR_min` decimal(8,2) DEFAULT NULL,
  `SINR_max` decimal(8,2) DEFAULT NULL,
  `TXpower_avg` decimal(12,6) DEFAULT NULL,
  `TXpower_min` decimal(8,2) DEFAULT NULL,
  `TXpower_max` decimal(8,2) DEFAULT NULL,
  `BND` int DEFAULT NULL,
  `labels` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '',
  `online_today` int NOT NULL DEFAULT '0',
  `parameters` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `measurements_date_last` datetime DEFAULT NULL,
  `device_params` text COLLATE utf8mb4_unicode_ci,
  `version_firmware` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `Battery_Level` int DEFAULT NULL,
  `idtype` int DEFAULT NULL,
  `meters_number` int DEFAULT NULL,
  KEY `sendings_0` (`sendings_0`),
  KEY `sendings_1` (`sendings_1`),
  KEY `TXpower_avg` (`TXpower_avg`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_DEVICES_SENDINGS_LAST_7_DAYS`
--

INSERT INTO `Temp_Table_DEVICES_SENDINGS_LAST_7_DAYS` VALUES (485096706,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2024-12-15',0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'4,',0,'<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:07:34</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>3</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>3</mbus_num><mbus_add>240411279215B20,240411279215B207,240411279215B207</mbus_add></parameters>',NULL,NULL,NULL,NULL,NULL,NULL),(485104772,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2024-12-15',0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'4,',0,'<parameters><Gateway-ID>485104772</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>50,25</PSM><rt1>7,14,15</rt1><rt2>14,18,15</rt2><rt3>18,23,15</rt3><st>0,4,8,9,10,21,22,23</st><srt>0,23,180</srt><srt2>9,10,30;28-10;15</srt2><sst>0,4,8,9,10,21,22,23</sst><mbrt>7,14,900</mbrt><mbrt2>14,18,900</mbrt2><mbrt3>18,23,900</mbrt3><mbst>0,4,8,9,10,21,22,23</mbst><pst>0,4,8,9,10,21,22,23</pst><oversensor_alarm>1,10.5;2,10.5;3,2000;4,0</oversensor_alarm><lowsensor_alarm>1,0.0;2,0.0;3,0;4,1</lowsensor_alarm><oversensor_condition>0</oversensor_condition><lowsensor_condition>0</lowsensor_condition><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V10.02</firmware_version><local_port>0</local_port><reed_activation>2</reed_activation><input_alarm_sensor>0</input_alarm_sensor><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>15</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>1</sync_read><timeout_connection>300</timeout_connection><timeout_server>40</timeout_server><reset_time>20:34:42</reset_time><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>0</mqtt_dc_on><keepalive>1800</keepalive><meter_type>3</meter_type><type_comm>0</type_comm><loglive_level>99</loglive_level><synch_meters>0</synch_meters><slow_meter>1</slow_meter><mbus_frame>0</mbus_frame><input_pulse_as_sensor_num>2</input_pulse_as_sensor_num><i2c_sensor>1</i2c_sensor><i2c_sensor_addr>108,108</i2c_sensor_addr><gensensor_warm_time>0</gensensor_warm_time></parameters>',NULL,NULL,NULL,NULL,NULL,NULL),(485105051,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2024-12-15',0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'4,',0,'<parameters><Gateway-ID>485105051</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>24D5105051</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version></firmware_version><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>60</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>1</sensor_log><reset_time>11:01:04</reset_time><pressure_meter_id>85105051</pressure_meter_id><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>30</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>250</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size></parameters>',NULL,NULL,NULL,NULL,NULL,NULL),(584617388,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2024-12-15',0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2,6,',0,'<parameters><Gateway-ID>584617388</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.44.149</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>20:02:09</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','2024-11-29 11:14:09','{\"Server\":\"172.31.44.149\",\"APN\":\"e3tcity.movistar.es\",\"RSSI\":\"-51\",\"RSRQ\":\"-14\",\"RSRP\":\"-79\",\"PCI\":\"113\",\"SINR\":\"106\",\"TX Power\":\"0\",\"Cell Id\":\"707A41E\",\"Band\":\"3\",\"Gateway Id\":\"584617388\",\"Middleware Id\":\"XXE0XXXXXX\",\"Read Intervals\":\"\",\"Send Intervals\":\"\",\"Battery Level\":\"3556\",\"Local Port\":\"1\",\"Firmware Version\":\"07.22\",\"Firmware Update\":\"0\",\"time_reset\":\"1732910613\",\"UNE82326-Bus Readings\":\"89\",\"NBIoT Transmissions completed\":\"79\",\"NBIoT Transmissions failed\":\"143\",\"ERROR_SIM\":\"ERR:0\",\"ERROR_CSQ\":\"0\",\"ERROR_CEREG\":\"0\",\"ERROR_TSO\":\"0\",\"ERROR_TSE\":\"88\",\"ERROR_IP\":\"0END_ERR\",\"Release Assistance\":\"0\",\"Reed Activation\":\"0\",\"Delete Memory\":\"0\",\"Reset Statistical Meters\":\"0\",\"PSM\":\"10,25\",\"eDRX\":\"0\",\"rtt_mean\":\"0\",\"connection_time\":\"18146\",\"port\":\"80\",\"period_on\":\"1\",\"read_time\":\"900\",\"send_time\":\"900\",\"disable_meter\":\"0\",\"file_size\":\"0\",\"tamper\":\"0\",\"IMSI\":\"214074308940594\",\"M-BUS_Size\":\"63\",\"DL_info\":\"1,0x2000,0x2000\",\"DL_sensor_info\":\"\",\"DL_modbus_info\":\"\",\"Meter-ID\":\"XXXXXXXX\",\"pulse_on\":\"\",\"counter_factor\":\"\",\"k1_factor\":\"\",\"k2_factor\":\"\",\"wq\":\"0\",\"sync_read\":\"0\",\"overpressure_alarm\":\"10\",\"lowpressure_alarm\":\"0\",\"timeout_connection\":\"220\",\"retries_socket\":\"3\",\"timeout_server\":\"30\",\"mbus_baudrate\":\"2400\",\"retries_server\":\"3\",\"max_datalogger_size\":\"96\",\"max_datalogger_msgs\":\"-1\",\"sensor\":\"0\",\"sensor_log\":\"1\",\"sformat\":\"1\",\"sprotocol\":\"1\",\"snbpower\":\"1\",\"cert\":\"00000000\",\"srt\":\"\",\"sst\":\"\",\"pst\":\"\",\"Pinst\":\"0.000\",\"Pavg\":\"0.000\",\"Pmin\":\"0.000\",\"Pmax\":\"0.000\",\"gWip\":\" 10.0.4.242\",\"mst\":1,\"command_idmeters\":\"\"}','07.22',3556,110,0),(678912345,NULL,NULL,NULL,14,NULL,NULL,NULL,NULL,'2024-12-15',0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'4,',0,'<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `Temp_Table_DEVICES_parameters`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_DEVICES_parameters` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `RSSI` decimal(8,2) DEFAULT NULL,
  `RSRQ` decimal(8,2) DEFAULT NULL,
  `RSRP` decimal(8,2) DEFAULT NULL,
  `SINR` decimal(8,2) DEFAULT NULL,
  `TXpower` decimal(8,2) DEFAULT NULL,
  `BND` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_DEVICES_parameters`
--


--
-- Table structure for table `Temp_Table_DEVICES_params`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_DEVICES_params` (
  `iddevice` int DEFAULT NULL,
  `version_firmware` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `measurements_date_last` datetime DEFAULT NULL,
  `Server` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `RSSI` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `RSRQ` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `RSRP` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `PCI` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `SINR` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `TXPOWER` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `CELLID` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `BND` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number_ok_readings` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number_ok_sendings` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number_nok_sendings` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ICC` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `IMEI` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `IMSI` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `snbpower` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `device_params` text COLLATE utf8mb4_unicode_ci,
  `Battery_Level` int DEFAULT NULL,
  `Battery_Level_prev` int DEFAULT NULL,
  `idtype` int DEFAULT NULL,
  `meters_number` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_DEVICES_params`
--

INSERT INTO `Temp_Table_DEVICES_params` VALUES (584617388,'07.22','2024-11-29 11:14:09','172.31.44.149','-51','-14','-79','113','106','0','707A41E','3','89','79','143','ICC','IMEI','214074308940594','0','{\"Server\":\"172.31.44.149\",\"APN\":\"e3tcity.movistar.es\",\"RSSI\":\"-51\",\"RSRQ\":\"-14\",\"RSRP\":\"-79\",\"PCI\":\"113\",\"SINR\":\"106\",\"TX Power\":\"0\",\"Cell Id\":\"707A41E\",\"Band\":\"3\",\"Gateway Id\":\"584617388\",\"Middleware Id\":\"XXE0XXXXXX\",\"Read Intervals\":\"\",\"Send Intervals\":\"\",\"Battery Level\":\"3556\",\"Local Port\":\"1\",\"Firmware Version\":\"07.22\",\"Firmware Update\":\"0\",\"time_reset\":\"1732910613\",\"UNE82326-Bus Readings\":\"89\",\"NBIoT Transmissions completed\":\"79\",\"NBIoT Transmissions failed\":\"143\",\"ERROR_SIM\":\"ERR:0\",\"ERROR_CSQ\":\"0\",\"ERROR_CEREG\":\"0\",\"ERROR_TSO\":\"0\",\"ERROR_TSE\":\"88\",\"ERROR_IP\":\"0END_ERR\",\"Release Assistance\":\"0\",\"Reed Activation\":\"0\",\"Delete Memory\":\"0\",\"Reset Statistical Meters\":\"0\",\"PSM\":\"10,25\",\"eDRX\":\"0\",\"rtt_mean\":\"0\",\"connection_time\":\"18146\",\"port\":\"80\",\"period_on\":\"1\",\"read_time\":\"900\",\"send_time\":\"900\",\"disable_meter\":\"0\",\"file_size\":\"0\",\"tamper\":\"0\",\"IMSI\":\"214074308940594\",\"M-BUS_Size\":\"63\",\"DL_info\":\"1,0x2000,0x2000\",\"DL_sensor_info\":\"\",\"DL_modbus_info\":\"\",\"Meter-ID\":\"XXXXXXXX\",\"pulse_on\":\"\",\"counter_factor\":\"\",\"k1_factor\":\"\",\"k2_factor\":\"\",\"wq\":\"0\",\"sync_read\":\"0\",\"overpressure_alarm\":\"10\",\"lowpressure_alarm\":\"0\",\"timeout_connection\":\"220\",\"retries_socket\":\"3\",\"timeout_server\":\"30\",\"mbus_baudrate\":\"2400\",\"retries_server\":\"3\",\"max_datalogger_size\":\"96\",\"max_datalogger_msgs\":\"-1\",\"sensor\":\"0\",\"sensor_log\":\"1\",\"sformat\":\"1\",\"sprotocol\":\"1\",\"snbpower\":\"1\",\"cert\":\"00000000\",\"srt\":\"\",\"sst\":\"\",\"pst\":\"\",\"Pinst\":\"0.000\",\"Pavg\":\"0.000\",\"Pmin\":\"0.000\",\"Pmax\":\"0.000\",\"gWip\":\" 10.0.4.242\",\"mst\":1,\"command_idmeters\":\"\"}',3556,3556,110,0);

--
-- Table structure for table `Temp_Table_DEVICES_push_pending`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_DEVICES_push_pending` (
  `iddevice` int NOT NULL DEFAULT '0',
  `sendings` bigint NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_DEVICES_push_pending`
--


--
-- Table structure for table `Temp_Table_METERS`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_METERS` (
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idmetering` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `BUS_type` int DEFAULT NULL,
  `iddevice_date_last` datetime DEFAULT NULL,
  `measurements_date_last` datetime DEFAULT NULL,
  `profile_date_last` datetime DEFAULT NULL,
  `protocolConfig` json DEFAULT NULL,
  `labels` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_METERS`
--


--
-- Table structure for table `Temp_Table_TD0`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TD0` (
  `iddevice` int NOT NULL,
  `sendings` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TD0`
--


--
-- Table structure for table `Temp_Table_TD1`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TD1` (
  `iddevice` int NOT NULL,
  `sendings` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TD1`
--


--
-- Table structure for table `Temp_Table_TD2`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TD2` (
  `iddevice` int NOT NULL,
  `sendings` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TD2`
--


--
-- Table structure for table `Temp_Table_TD3`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TD3` (
  `iddevice` int NOT NULL,
  `sendings` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TD3`
--


--
-- Table structure for table `Temp_Table_TD4`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TD4` (
  `iddevice` int NOT NULL,
  `sendings` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TD4`
--

INSERT INTO `Temp_Table_TD4` VALUES (678912345,14);

--
-- Table structure for table `Temp_Table_TD5`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TD5` (
  `iddevice` int NOT NULL,
  `sendings` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TD5`
--


--
-- Table structure for table `Temp_Table_TD6`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TD6` (
  `iddevice` int NOT NULL,
  `sendings` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TD6`
--


--
-- Table structure for table `Temp_Table_TD7`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TD7` (
  `iddevice` int NOT NULL,
  `sendings` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TD7`
--


--
-- Table structure for table `Temp_Table_TLASTRAWT`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TLASTRAWT` (
  `iddevice` int DEFAULT NULL,
  `serial_number` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `MeterID` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `DewaID` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `manufacturer` varchar(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `version` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `DATA_PARAMETERS` bigint DEFAULT NULL,
  `RawTelegram_parser` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TLASTRAWT`
--


--
-- Table structure for table `Temp_Table_TT0`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TT0` (
  `iddevice` int DEFAULT NULL,
  `sendings` decimal(23,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TT0`
--


--
-- Table structure for table `Temp_Table_TT1`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TT1` (
  `iddevice` int DEFAULT NULL,
  `sendings` decimal(23,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TT1`
--


--
-- Table structure for table `Temp_Table_TT2`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TT2` (
  `iddevice` int DEFAULT NULL,
  `sendings` decimal(23,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TT2`
--


--
-- Table structure for table `Temp_Table_TT3`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TT3` (
  `iddevice` int DEFAULT NULL,
  `sendings` decimal(23,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TT3`
--


--
-- Table structure for table `Temp_Table_TT4`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TT4` (
  `iddevice` int DEFAULT NULL,
  `sendings` decimal(23,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TT4`
--


--
-- Table structure for table `Temp_Table_TT5`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TT5` (
  `iddevice` int DEFAULT NULL,
  `sendings` decimal(23,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TT5`
--


--
-- Table structure for table `Temp_Table_TT6`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TT6` (
  `iddevice` int DEFAULT NULL,
  `sendings` decimal(23,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TT6`
--


--
-- Table structure for table `Temp_Table_TT7`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_TT7` (
  `iddevice` int DEFAULT NULL,
  `sendings` decimal(23,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_TT7`
--


--
-- Table structure for table `Temp_Table_Tp`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `Temp_Table_Tp` (
  `iddevice` int DEFAULT NULL,
  `RSSI_avg` decimal(12,6) DEFAULT NULL,
  `RSSI_min` decimal(8,2) DEFAULT NULL,
  `RSSI_max` decimal(8,2) DEFAULT NULL,
  `RSRQ_avg` decimal(12,6) DEFAULT NULL,
  `RSRQ_min` decimal(8,2) DEFAULT NULL,
  `RSRQ_max` decimal(8,2) DEFAULT NULL,
  `RSRP_avg` decimal(12,6) DEFAULT NULL,
  `RSRP_min` decimal(8,2) DEFAULT NULL,
  `RSRP_max` decimal(8,2) DEFAULT NULL,
  `SINR_avg` decimal(12,6) DEFAULT NULL,
  `SINR_min` decimal(8,2) DEFAULT NULL,
  `SINR_max` decimal(8,2) DEFAULT NULL,
  `TXpower_avg` decimal(12,6) DEFAULT NULL,
  `TXpower_min` decimal(8,2) DEFAULT NULL,
  `TXpower_max` decimal(8,2) DEFAULT NULL,
  `BND` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Temp_Table_Tp`
--


--
-- Table structure for table `actions`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `actions` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `actions`
--


--
-- Table structure for table `actions_commands`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `actions_commands` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idaction` int DEFAULT NULL,
  `on_off` int DEFAULT '1',
  `output_number` int NOT NULL,
  `output_idmode` int DEFAULT NULL,
  `command` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idplatform` int DEFAULT NULL,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `parameters` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `idaction` (`idaction`),
  KEY `output_number` (`output_number`),
  KEY `on_off` (`on_off`),
  KEY `output_idmode` (`output_idmode`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `actions_commands`
--


--
-- Table structure for table `actions_commands_querys`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `actions_commands_querys` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idactions_commands` int DEFAULT NULL,
  `query` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `result` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `actions_commands_querys`
--


--
-- Table structure for table `addc_emails`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `addc_emails` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `data` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `addc_emails`
--


--
-- Table structure for table `baltoro_alerts_type`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_alerts_type` (
  `id` int NOT NULL,
  `description` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `baltoro_alerts_type`
--


--
-- Table structure for table `baltoro_devices`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_devices` (
  `iddevice` int unsigned NOT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_local` datetime DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  `date_local_prev` datetime DEFAULT NULL,
  `values_prev` text COLLATE utf8mb4_unicode_ci,
  UNIQUE KEY `unique_iddevice_bus` (`iddevice`,`BUS_iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `baltoro_devices`
--


--
-- Table structure for table `baltoro_historization_data_flash`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_historization_data_flash` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` datetime NOT NULL,
  `idtype` int DEFAULT NULL,
  `data` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`,`date`),
  KEY `date` (`date`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `baltoro_historization_data_flash`
--


--
-- Table structure for table `baltoro_magnitudes_values`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_magnitudes_values` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  `date_local` datetime NOT NULL,
  PRIMARY KEY (`id`,`date_local`),
  KEY `idx_iddevice_date` (`iddevice`,`date_local`),
  KEY `date_local` (`date_local`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/*!50100 PARTITION BY RANGE (to_days(`date_local`))
SUBPARTITION BY HASH (to_days(`date_local`))
SUBPARTITIONS 31
(PARTITION p202401 VALUES LESS THAN (739282) ENGINE = InnoDB,
 PARTITION p202402 VALUES LESS THAN (739311) ENGINE = InnoDB,
 PARTITION p202403 VALUES LESS THAN (739342) ENGINE = InnoDB,
 PARTITION p202404 VALUES LESS THAN (739372) ENGINE = InnoDB,
 PARTITION p202405 VALUES LESS THAN (739403) ENGINE = InnoDB,
 PARTITION p202406 VALUES LESS THAN (739433) ENGINE = InnoDB,
 PARTITION p202407 VALUES LESS THAN (739464) ENGINE = InnoDB,
 PARTITION p202408 VALUES LESS THAN (739495) ENGINE = InnoDB,
 PARTITION p202409 VALUES LESS THAN (739525) ENGINE = InnoDB,
 PARTITION p202410 VALUES LESS THAN (739556) ENGINE = InnoDB,
 PARTITION p202411 VALUES LESS THAN (739586) ENGINE = InnoDB,
 PARTITION p202412 VALUES LESS THAN (739617) ENGINE = InnoDB,
 PARTITION pmax VALUES LESS THAN MAXVALUE ENGINE = InnoDB) */;

--
-- Dumping data for table `baltoro_magnitudes_values`
--


--
-- Table structure for table `baltoro_magnitudes_values_day`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_magnitudes_values_day` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `baltoro_magnitudes_values_day`
--


--
-- Table structure for table `baltoro_magnitudes_values_month`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_magnitudes_values_month` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `baltoro_magnitudes_values_month`
--


--
-- Table structure for table `baltoro_magnitudes_values_old`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_magnitudes_values_old` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  `date_local` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_iddevice_date` (`iddevice`,`date_local`),
  KEY `date_local` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `baltoro_magnitudes_values_old`
--


--
-- Table structure for table `baltoro_magnitudes_values_template`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_magnitudes_values_template` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  `date_local` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_iddevice_date` (`iddevice`,`date_local`),
  KEY `date_local` (`date_local`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `baltoro_magnitudes_values_template`
--


--
-- Table structure for table `baltoro_magnitudes_values_test`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_magnitudes_values_test` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  `date_local` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_iddevice_date` (`iddevice`,`date_local`),
  KEY `date_local` (`date_local`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `baltoro_magnitudes_values_test`
--


--
-- Table structure for table `baltoro_magnitudes_values_test_partitioned`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_magnitudes_values_test_partitioned` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  `date_local` datetime NOT NULL,
  PRIMARY KEY (`id`,`date_local`),
  KEY `idx_iddevice_date` (`iddevice`,`date_local`),
  KEY `date_local` (`date_local`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/*!50100 PARTITION BY RANGE (to_days(`date_local`))
(PARTITION p20240201 VALUES LESS THAN (739282) ENGINE = InnoDB,
 PARTITION p20240202 VALUES LESS THAN (739283) ENGINE = InnoDB,
 PARTITION p20240203 VALUES LESS THAN (739284) ENGINE = InnoDB,
 PARTITION p20240204 VALUES LESS THAN (739285) ENGINE = InnoDB,
 PARTITION p20240205 VALUES LESS THAN (739286) ENGINE = InnoDB,
 PARTITION p20240206 VALUES LESS THAN (739287) ENGINE = InnoDB,
 PARTITION p20240207 VALUES LESS THAN (739288) ENGINE = InnoDB,
 PARTITION p20240208 VALUES LESS THAN (739289) ENGINE = InnoDB,
 PARTITION p20240209 VALUES LESS THAN (739290) ENGINE = InnoDB,
 PARTITION p20240210 VALUES LESS THAN (739291) ENGINE = InnoDB,
 PARTITION p20240211 VALUES LESS THAN (739292) ENGINE = InnoDB,
 PARTITION p20240212 VALUES LESS THAN (739293) ENGINE = InnoDB,
 PARTITION p20240213 VALUES LESS THAN (739294) ENGINE = InnoDB,
 PARTITION p20240214 VALUES LESS THAN (739295) ENGINE = InnoDB,
 PARTITION p20240215 VALUES LESS THAN (739296) ENGINE = InnoDB,
 PARTITION p20240216 VALUES LESS THAN (739297) ENGINE = InnoDB,
 PARTITION p20240217 VALUES LESS THAN (739298) ENGINE = InnoDB,
 PARTITION p20240218 VALUES LESS THAN (739299) ENGINE = InnoDB,
 PARTITION p20240219 VALUES LESS THAN (739300) ENGINE = InnoDB,
 PARTITION p20240220 VALUES LESS THAN (739301) ENGINE = InnoDB,
 PARTITION p20240221 VALUES LESS THAN (739302) ENGINE = InnoDB,
 PARTITION p20240222 VALUES LESS THAN (739303) ENGINE = InnoDB,
 PARTITION p20240223 VALUES LESS THAN (739304) ENGINE = InnoDB,
 PARTITION p20240224 VALUES LESS THAN (739305) ENGINE = InnoDB,
 PARTITION p20240225 VALUES LESS THAN (739306) ENGINE = InnoDB,
 PARTITION p20240226 VALUES LESS THAN (739307) ENGINE = InnoDB,
 PARTITION p20240227 VALUES LESS THAN (739308) ENGINE = InnoDB,
 PARTITION p20240228 VALUES LESS THAN (739309) ENGINE = InnoDB,
 PARTITION p20240229 VALUES LESS THAN (739310) ENGINE = InnoDB,
 PARTITION p20240301 VALUES LESS THAN (739311) ENGINE = InnoDB,
 PARTITION p20240302 VALUES LESS THAN (739312) ENGINE = InnoDB,
 PARTITION p20240303 VALUES LESS THAN (739313) ENGINE = InnoDB,
 PARTITION p20240304 VALUES LESS THAN (739314) ENGINE = InnoDB,
 PARTITION p20240305 VALUES LESS THAN (739315) ENGINE = InnoDB,
 PARTITION p20240306 VALUES LESS THAN (739316) ENGINE = InnoDB,
 PARTITION p20240307 VALUES LESS THAN (739317) ENGINE = InnoDB,
 PARTITION p20240308 VALUES LESS THAN (739318) ENGINE = InnoDB,
 PARTITION p20240309 VALUES LESS THAN (739319) ENGINE = InnoDB,
 PARTITION p20240310 VALUES LESS THAN (739320) ENGINE = InnoDB,
 PARTITION p20240311 VALUES LESS THAN (739321) ENGINE = InnoDB,
 PARTITION p20240312 VALUES LESS THAN (739322) ENGINE = InnoDB,
 PARTITION p20240313 VALUES LESS THAN (739323) ENGINE = InnoDB,
 PARTITION p20240314 VALUES LESS THAN (739324) ENGINE = InnoDB,
 PARTITION p20240315 VALUES LESS THAN (739325) ENGINE = InnoDB,
 PARTITION p20240316 VALUES LESS THAN (739326) ENGINE = InnoDB,
 PARTITION p20240317 VALUES LESS THAN (739327) ENGINE = InnoDB,
 PARTITION p20240318 VALUES LESS THAN (739328) ENGINE = InnoDB,
 PARTITION p20240319 VALUES LESS THAN (739329) ENGINE = InnoDB,
 PARTITION p20240320 VALUES LESS THAN (739330) ENGINE = InnoDB,
 PARTITION p20240321 VALUES LESS THAN (739331) ENGINE = InnoDB,
 PARTITION p20240322 VALUES LESS THAN (739332) ENGINE = InnoDB,
 PARTITION p20240323 VALUES LESS THAN (739333) ENGINE = InnoDB,
 PARTITION p20240324 VALUES LESS THAN (739334) ENGINE = InnoDB,
 PARTITION p20240325 VALUES LESS THAN (739335) ENGINE = InnoDB,
 PARTITION p20240326 VALUES LESS THAN (739336) ENGINE = InnoDB,
 PARTITION p20240327 VALUES LESS THAN (739337) ENGINE = InnoDB,
 PARTITION p20240328 VALUES LESS THAN (739338) ENGINE = InnoDB,
 PARTITION p20240329 VALUES LESS THAN (739339) ENGINE = InnoDB,
 PARTITION p20240330 VALUES LESS THAN (739340) ENGINE = InnoDB,
 PARTITION p20240331 VALUES LESS THAN (739341) ENGINE = InnoDB,
 PARTITION p20240401 VALUES LESS THAN (739342) ENGINE = InnoDB,
 PARTITION p20240402 VALUES LESS THAN (739343) ENGINE = InnoDB,
 PARTITION p20240403 VALUES LESS THAN (739344) ENGINE = InnoDB,
 PARTITION p20240404 VALUES LESS THAN (739345) ENGINE = InnoDB,
 PARTITION p20240405 VALUES LESS THAN (739346) ENGINE = InnoDB,
 PARTITION p20240406 VALUES LESS THAN (739347) ENGINE = InnoDB,
 PARTITION p20240407 VALUES LESS THAN (739348) ENGINE = InnoDB,
 PARTITION p20240408 VALUES LESS THAN (739349) ENGINE = InnoDB,
 PARTITION p20240409 VALUES LESS THAN (739350) ENGINE = InnoDB,
 PARTITION p20240410 VALUES LESS THAN (739351) ENGINE = InnoDB,
 PARTITION p20240411 VALUES LESS THAN (739352) ENGINE = InnoDB,
 PARTITION p20240412 VALUES LESS THAN (739353) ENGINE = InnoDB,
 PARTITION p20240413 VALUES LESS THAN (739354) ENGINE = InnoDB,
 PARTITION p20240414 VALUES LESS THAN (739355) ENGINE = InnoDB,
 PARTITION p20240415 VALUES LESS THAN (739356) ENGINE = InnoDB,
 PARTITION p20240416 VALUES LESS THAN (739357) ENGINE = InnoDB,
 PARTITION p20240417 VALUES LESS THAN (739358) ENGINE = InnoDB,
 PARTITION p20240418 VALUES LESS THAN (739359) ENGINE = InnoDB,
 PARTITION p20240419 VALUES LESS THAN (739360) ENGINE = InnoDB,
 PARTITION p20240420 VALUES LESS THAN (739361) ENGINE = InnoDB,
 PARTITION p20240421 VALUES LESS THAN (739362) ENGINE = InnoDB,
 PARTITION p20240422 VALUES LESS THAN (739363) ENGINE = InnoDB,
 PARTITION p20240423 VALUES LESS THAN (739364) ENGINE = InnoDB,
 PARTITION p20240424 VALUES LESS THAN (739365) ENGINE = InnoDB,
 PARTITION p20240425 VALUES LESS THAN (739366) ENGINE = InnoDB,
 PARTITION p20240426 VALUES LESS THAN (739367) ENGINE = InnoDB,
 PARTITION p20240427 VALUES LESS THAN (739368) ENGINE = InnoDB,
 PARTITION p20240428 VALUES LESS THAN (739369) ENGINE = InnoDB,
 PARTITION p20240429 VALUES LESS THAN (739370) ENGINE = InnoDB,
 PARTITION p20240430 VALUES LESS THAN (739371) ENGINE = InnoDB,
 PARTITION p20240501 VALUES LESS THAN (739372) ENGINE = InnoDB,
 PARTITION p20240502 VALUES LESS THAN (739373) ENGINE = InnoDB,
 PARTITION p20240503 VALUES LESS THAN (739374) ENGINE = InnoDB,
 PARTITION p20240504 VALUES LESS THAN (739375) ENGINE = InnoDB,
 PARTITION p20240505 VALUES LESS THAN (739376) ENGINE = InnoDB,
 PARTITION p20240506 VALUES LESS THAN (739377) ENGINE = InnoDB,
 PARTITION p20240507 VALUES LESS THAN (739378) ENGINE = InnoDB,
 PARTITION p20240508 VALUES LESS THAN (739379) ENGINE = InnoDB,
 PARTITION p20240509 VALUES LESS THAN (739380) ENGINE = InnoDB,
 PARTITION p20240510 VALUES LESS THAN (739381) ENGINE = InnoDB,
 PARTITION p20240511 VALUES LESS THAN (739382) ENGINE = InnoDB,
 PARTITION p20240512 VALUES LESS THAN (739383) ENGINE = InnoDB,
 PARTITION p20240513 VALUES LESS THAN (739384) ENGINE = InnoDB,
 PARTITION p20240514 VALUES LESS THAN (739385) ENGINE = InnoDB,
 PARTITION p20240515 VALUES LESS THAN (739386) ENGINE = InnoDB,
 PARTITION p20240516 VALUES LESS THAN (739387) ENGINE = InnoDB,
 PARTITION p20240517 VALUES LESS THAN (739388) ENGINE = InnoDB,
 PARTITION p20240518 VALUES LESS THAN (739389) ENGINE = InnoDB,
 PARTITION p20240519 VALUES LESS THAN (739390) ENGINE = InnoDB,
 PARTITION p20240520 VALUES LESS THAN (739391) ENGINE = InnoDB,
 PARTITION p20240521 VALUES LESS THAN (739392) ENGINE = InnoDB,
 PARTITION p20240522 VALUES LESS THAN (739393) ENGINE = InnoDB,
 PARTITION p20240523 VALUES LESS THAN (739394) ENGINE = InnoDB,
 PARTITION p20240524 VALUES LESS THAN (739395) ENGINE = InnoDB,
 PARTITION p20240525 VALUES LESS THAN (739396) ENGINE = InnoDB,
 PARTITION p20240526 VALUES LESS THAN (739397) ENGINE = InnoDB,
 PARTITION p20240527 VALUES LESS THAN (739398) ENGINE = InnoDB,
 PARTITION p20240528 VALUES LESS THAN (739399) ENGINE = InnoDB,
 PARTITION pmax VALUES LESS THAN MAXVALUE ENGINE = InnoDB) */;

--
-- Dumping data for table `baltoro_magnitudes_values_test_partitioned`
--


--
-- Table structure for table `baltoro_magnitudes_values_week`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `baltoro_magnitudes_values_week` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `baltoro_magnitudes_values_week`
--


--
-- Table structure for table `commands`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `commands` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idtype` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `commands`
--


--
-- Table structure for table `commands_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `commands_log` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `iduser` int DEFAULT NULL,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `command` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parameters` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `date` (`date`),
  KEY `iddevice` (`iddevice`),
  KEY `command` (`command`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `commands_log`
--


--
-- Table structure for table `commands_types`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `commands_types` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `commands_types`
--


--
-- Table structure for table `commissioning_devices`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `commissioning_devices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `date_frame_params_0` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date_frame_params_0` (`date_frame_params_0`),
  KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `commissioning_devices`
--


--
-- Table structure for table `config`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `config` (
  `connections_log` int DEFAULT '0',
  `devices_log` int DEFAULT '0',
  `commands_log` int DEFAULT '0',
  `messages_log` int DEFAULT '0',
  `devices_commands_log` int DEFAULT '0',
  `install_restws_location` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `MQTT_debug_log` int DEFAULT '0',
  `MQTT_server_user` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `MQTT_server_pass` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `PUSHER_server_user` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `PUSHER_server_pass` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `queue_status_log` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `config`
--


--
-- Table structure for table `dashboards_types`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `dashboards_types` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `colour` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dashboards_types`
--


--
-- Table structure for table `data_logger`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_logger` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `type` int DEFAULT NULL,
  `date_log` datetime DEFAULT CURRENT_TIMESTAMP,
  `power_active` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `switching_on` int NOT NULL DEFAULT '0',
  `switch_on_time` bigint NOT NULL DEFAULT '0',
  `input1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `connected_time` int DEFAULT NULL,
  `disconnections` int DEFAULT NULL,
  `power_factor` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `modbus_idslave` int DEFAULT '0',
  `energy_reactive_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date` (`date`),
  KEY `type` (`type`),
  KEY `modbus_idslave` (`modbus_idslave`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_logger`
--


--
-- Table structure for table `data_logger_PARTITION_TEMP`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_logger_PARTITION_TEMP` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `date` datetime NOT NULL,
  `type` int DEFAULT NULL,
  `date_log` datetime DEFAULT CURRENT_TIMESTAMP,
  `power_active_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `switching_on` int NOT NULL DEFAULT '0',
  `switch_on_time` bigint NOT NULL DEFAULT '0',
  `input1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `connected_time` int DEFAULT NULL,
  `disconnections` int DEFAULT NULL,
  `power_factor_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `modbus_idslave` int DEFAULT '0',
  `energy_reactive_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_logger_PARTITION_TEMP`
--


--
-- Table structure for table `data_logger_PARTITION_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_logger_PARTITION_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `TS` datetime DEFAULT NULL,
  `idmode` int DEFAULT NULL,
  `date` date DEFAULT NULL,
  `step` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idmode` (`idmode`),
  KEY `date` (`date`),
  KEY `step` (`step`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_logger_PARTITION_log`
--


--
-- Table structure for table `data_logger_flash`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_logger_flash` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `type` int DEFAULT NULL,
  `date_log` datetime DEFAULT CURRENT_TIMESTAMP,
  `power_active` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `switching_on` int NOT NULL DEFAULT '0',
  `switch_on_time` bigint NOT NULL DEFAULT '0',
  `input1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `connected_time` int DEFAULT NULL,
  `disconnections` int DEFAULT NULL,
  `power_factor` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `modbus_idslave` int DEFAULT '0',
  `energy_reactive_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `THD_3phase_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date` (`date`),
  KEY `type` (`type`),
  KEY `modbus_idslave` (`modbus_idslave`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_logger_flash`
--


--
-- Table structure for table `data_logger_groups`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_logger_groups` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgroup` int DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `date_log` datetime DEFAULT CURRENT_TIMESTAMP,
  `power_active` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `switching_on` int NOT NULL DEFAULT '0',
  `switch_on_time` bigint NOT NULL DEFAULT '0',
  `input1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_active3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `connected_time` int DEFAULT NULL,
  `disconnections` int DEFAULT NULL,
  `power_factor` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor1_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_min` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_max` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor3_avg` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy_reactive_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  PRIMARY KEY (`id`),
  UNIQUE KEY `idgroup_2` (`idgroup`,`date`),
  KEY `idgroup` (`idgroup`),
  KEY `date` (`date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_logger_groups`
--


--
-- Table structure for table `data_logger_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_logger_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `ts` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `step` int DEFAULT NULL,
  `hour_checked` datetime DEFAULT NULL,
  `hour_process` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_logger_log`
--


--
-- Table structure for table `data_logger_temp_table`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_logger_temp_table` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `type` int DEFAULT NULL,
  `date_log` datetime DEFAULT CURRENT_TIMESTAMP,
  `power_active` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_reactive` decimal(10,2) DEFAULT NULL,
  `power_reactive_min` decimal(10,2) DEFAULT NULL,
  `power_reactive_max` decimal(10,2) DEFAULT NULL,
  `power_reactive_avg` decimal(10,2) DEFAULT NULL,
  `voltage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `energy` decimal(20,2) NOT NULL DEFAULT '0.00',
  `switching_on` int NOT NULL DEFAULT '0',
  `switch_on_time` bigint NOT NULL DEFAULT '0',
  `input1` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input1_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input1_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input1_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input2` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input2_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input2_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input2_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input3` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input3_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input3_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input3_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input4` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input4_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input4_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input4_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input5` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input5_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input5_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input5_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input6` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input6_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input6_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input6_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input7` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input7_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input7_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input7_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input8` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input8_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input8_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input8_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input9` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input9_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input9_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input9_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input10` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input10_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input10_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `input10_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active1` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active1_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active1_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active1_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_reactive1` decimal(10,2) DEFAULT NULL,
  `power_reactive1_min` decimal(10,2) DEFAULT NULL,
  `power_reactive1_max` decimal(10,2) DEFAULT NULL,
  `power_reactive1_avg` decimal(10,2) DEFAULT NULL,
  `voltage1` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage1_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage1_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage1_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current1` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current1_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current1_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current1_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active2` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active2_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active2_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active2_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_reactive2` decimal(10,2) DEFAULT NULL,
  `power_reactive2_min` decimal(10,2) DEFAULT NULL,
  `power_reactive2_max` decimal(10,2) DEFAULT NULL,
  `power_reactive2_avg` decimal(10,2) DEFAULT NULL,
  `voltage2` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage2_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage2_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage2_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current2` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current2_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current2_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current2_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active3` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active3_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active3_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_active3_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `power_reactive3` decimal(10,2) DEFAULT NULL,
  `power_reactive3_min` decimal(10,2) DEFAULT NULL,
  `power_reactive3_max` decimal(10,2) DEFAULT NULL,
  `power_reactive3_avg` decimal(10,2) DEFAULT NULL,
  `voltage3` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage3_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage3_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `voltage3_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current3` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current3_min` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current3_max` decimal(10,2) NOT NULL DEFAULT '0.00',
  `current3_avg` decimal(10,2) NOT NULL DEFAULT '0.00',
  `energy_3phase` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor_min` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor_max` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor_avg` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor1` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor1_min` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor1_max` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor1_avg` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor2` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor2_min` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor2_max` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor2_avg` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor3` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor3_min` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor3_max` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor3_avg` decimal(20,2) NOT NULL DEFAULT '0.00',
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date` (`date`),
  KEY `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_logger_temp_table`
--


--
-- Table structure for table `data_logger_types`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_logger_types` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_logger_types`
--


--
-- Table structure for table `data_meters_day`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_meters_day` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date_local` datetime DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value_day` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `increment_month` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value_total` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_id` int DEFAULT NULL,
  `offset` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `BUS_iddevice` (`BUS_iddevice`),
  KEY `date` (`date_local`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_meters_day`
--


--
-- Table structure for table `data_meters_month`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `data_meters_month` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date_local` datetime DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value_month` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value_total` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `BUS_iddevice` (`BUS_iddevice`),
  KEY `date` (`date_local`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_meters_month`
--


--
-- Table structure for table `device_config_schedule_list`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `device_config_schedule_list` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `week_day` int DEFAULT NULL,
  `time_start` time DEFAULT NULL,
  `time_start_offset` int NOT NULL DEFAULT '0',
  `time_end` time DEFAULT NULL,
  `time_end_offset` int NOT NULL DEFAULT '0',
  `time_start_ref` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `time_end_ref` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idstatus` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `device_config_schedule_list`
--


--
-- Table structure for table `device_config_schedule_matrix`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `device_config_schedule_matrix` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `matrix` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `device_config_schedule_matrix`
--


--
-- Table structure for table `device_config_schedule_matrix_total`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `device_config_schedule_matrix_total` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `matrix` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `device_config_schedule_matrix_total`
--


--
-- Table structure for table `device_config_schedule_matrix_total_template`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `device_config_schedule_matrix_total_template` (
  `id` int NOT NULL AUTO_INCREMENT,
  `i` int DEFAULT NULL,
  `j` int DEFAULT NULL,
  `time` time DEFAULT NULL,
  `idstatus` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `device_config_schedule_matrix_total_template`
--


--
-- Table structure for table `device_request_response_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `device_request_response_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` datetime DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `method` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `params` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `response` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `device_request_response_log`
--


--
-- Table structure for table `devices`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `utilityIdGw` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ref` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `idtype` int NOT NULL,
  `idgroup` int NOT NULL,
  `group_master` int DEFAULT NULL,
  `idmode` int DEFAULT '0',
  `idstatus` int DEFAULT '1',
  `idstatus_device` int DEFAULT NULL,
  `idstatus_device_date` datetime DEFAULT NULL,
  `idconfiguration` int NOT NULL DEFAULT '2',
  `idconfiguration_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idconfiguration_default` int NOT NULL DEFAULT '2',
  `mac` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `icc` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_private` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_public` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `version_firmware` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0.0',
  `version_hardware` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idconnection_type` int DEFAULT NULL,
  `GPS_lat` decimal(25,20) DEFAULT NULL,
  `GPS_lng` decimal(25,20) DEFAULT NULL,
  `astronomical_sunrise` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `astronomical_sunset` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `version_firmware_last` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0.0',
  `data_logger_idmode` int DEFAULT '1',
  `sofia2` bit(1) NOT NULL DEFAULT b'0',
  `device_outputs_status_date_last` datetime DEFAULT NULL,
  `device_outputs_status_date_last_request` datetime DEFAULT NULL,
  `parameters` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `descriptors` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `display_options` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `timezone` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'Europe/Madrid',
  `delta_measurement` decimal(10,5) NOT NULL DEFAULT '0.05000',
  `block_measurements` int DEFAULT '0',
  `offline_send_measure0` int DEFAULT '0',
  `datalogger_fields` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `measures_fields` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `events_fields` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddashboard_type` int NOT NULL DEFAULT '0',
  `params_network_fields` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ICC;IMEI;IMSI;RSSI(dBm);RSRQ(dB);RSRP(dBm);CSQ;PCI;SINR(dB);TX POWER(dBm);Cell Id;BND',
  `params_device_fields` varchar(4500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'version_major-version_minor;pressure_inst(bar);pressure_avg(bar);pressure_max(bar);pressure_min(bar);pressure_error;battery;number_ok_readings;number_ok_sendings;number_nok_sendings',
  `params_device_config_fields` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `serial_number` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parameters_BUS` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ref` (`ref`),
  KEY `idgroup` (`idgroup`),
  KEY `idtype` (`idtype`),
  KEY `mac` (`mac`),
  KEY `idstatus_device_date` (`idstatus_device_date`)
) ENGINE=InnoDB AUTO_INCREMENT=678912346 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices`
--

INSERT INTO `devices` VALUES (485096706,'48509670601','OP00707F021224C000001','OP00707F021224C000001',119,1,NULL,0,1,NULL,NULL,2,'2024-12-11 10:53:29',2,'357104850967067','2147483647',NULL,NULL,'0.0',NULL,NULL,39.11635101939436876356,1.72534851580512308026,NULL,NULL,'0.0',1,_binary '\0',NULL,NULL,'<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:07:34</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>3</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>3</mbus_num><mbus_add>240411279215B20,240411279215B207,240411279215B207</mbus_add></parameters>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><meters_mbus_idmeter>0</meters_mbus_idmeter><meters_mbus_idmeter>240411279215B207</meters_mbus_idmeter></descriptors>','<display_options><dashboard></dashboard></display_options>\n','Africa/Addis_Ababa',0.05000,0,0,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'24D5096706',NULL),(485104772,'48510477201','OP00000F181024C000001','OP00000F181024C000001',136,1,NULL,0,1,NULL,NULL,2,'2024-12-10 09:42:12',2,'357104851047729','2147483647',NULL,NULL,'0.0',NULL,NULL,39.49623847211500000000,-0.40088273585204000000,NULL,NULL,'0.0',1,_binary '\0',NULL,NULL,'<parameters><Gateway-ID>485104772</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>50,25</PSM><rt1>7,14,15</rt1><rt2>14,18,15</rt2><rt3>18,23,15</rt3><st>0,4,8,9,10,21,22,23</st><srt>0,23,180</srt><srt2>9,10,30;28-10;15</srt2><sst>0,4,8,9,10,21,22,23</sst><mbrt>7,14,900</mbrt><mbrt2>14,18,900</mbrt2><mbrt3>18,23,900</mbrt3><mbst>0,4,8,9,10,21,22,23</mbst><pst>0,4,8,9,10,21,22,23</pst><oversensor_alarm>1,10.5;2,10.5;3,2000;4,0</oversensor_alarm><lowsensor_alarm>1,0.0;2,0.0;3,0;4,1</lowsensor_alarm><oversensor_condition>0</oversensor_condition><lowsensor_condition>0</lowsensor_condition><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V10.02</firmware_version><local_port>0</local_port><reed_activation>2</reed_activation><input_alarm_sensor>0</input_alarm_sensor><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>15</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>1</sync_read><timeout_connection>300</timeout_connection><timeout_server>40</timeout_server><reset_time>20:34:42</reset_time><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>0</mqtt_dc_on><keepalive>1800</keepalive><meter_type>3</meter_type><type_comm>0</type_comm><loglive_level>99</loglive_level><synch_meters>0</synch_meters><slow_meter>1</slow_meter><mbus_frame>0</mbus_frame><input_pulse_as_sensor_num>2</input_pulse_as_sensor_num><i2c_sensor>1</i2c_sensor><i2c_sensor_addr>108,108</i2c_sensor_addr><gensensor_warm_time>0</gensensor_warm_time></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options> ','Europe/Madrid',0.05000,0,0,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'\'ICC;IMEI;IMSI;RSSI(dBm);RSRQ(dB);RSRP(dBm);CSQ;PCI;SINR(dB);TX POWER(dBm);Cell Id;BND\'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'24D5104772',NULL),(485105051,'48510505101','OP00000F041224C000001','OP00000F041224C000001',133,11,NULL,0,1,NULL,NULL,2,'2024-12-04 14:26:19',2,'357104851050517','123456789',NULL,NULL,'0.0',NULL,NULL,39.49623847211500000000,-0.40088273585204000000,NULL,NULL,'0.0',1,_binary '\0',NULL,NULL,'<parameters><Gateway-ID>485105051</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>24D5105051</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version></firmware_version><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>60</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>1</sensor_log><reset_time>11:01:04</reset_time><pressure_meter_id>85105051</pressure_meter_id><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>30</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>250</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>-0.74</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (#value# + 0.2176)/0.2943, 3, \".\", \"\" );</sensor_1_value_convert></descriptors>','<display_options><dashboard></dashboard></display_options>\n','Europe/Madrid',0.05000,0,0,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'24D5105051',NULL),(584617388,'58461738801','OP00123F110724C000007','OP00123F110724C000007',110,1,NULL,0,1,NULL,NULL,2,'2024-11-22 12:19:48',2,'356995846173889','12345678',NULL,NULL,'07.22',NULL,NULL,39.47243173600000000000,-0.38953729500000000000,NULL,NULL,'0.0',1,_binary '\0',NULL,NULL,'<parameters><Gateway-ID>584617388</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.44.149</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>20:02:09</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id>dasdasd</sensor_pressure_id><sensor_pressure_offset>cdsad</sensor_pressure_offset><ENDPOINT_sensor_send>1</ENDPOINT_sensor_send></descriptors>','<display_options><dashboard></dashboard></display_options>\n','Europe/Madrid',0.05000,0,0,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'24D4617388',NULL),(678912345,'67891234501','OP00023F110727C000001','OP00023F110727C000001',90,1,NULL,0,1,NULL,NULL,2,'2024-12-02 11:18:54',2,'123456789123456','645454531',NULL,NULL,'0.0',NULL,NULL,39.49734500000000000000,-0.40281800000000000000,NULL,NULL,'0.0',1,_binary '\0',NULL,NULL,'<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>','<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>678912345_MD2,678912345_MD1</meters_modbus_idmeter></descriptors>\n','<display_options><dashboard></dashboard></display_options>\n','UTC',0.05000,0,0,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'24D8912345',NULL);

--
-- Table structure for table `devices_backup`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_backup` (
  `id` int NOT NULL AUTO_INCREMENT,
  `ref` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `idtype` int NOT NULL,
  `idgroup` int NOT NULL,
  `group_master` int DEFAULT NULL,
  `idmode` int DEFAULT '0',
  `idstatus` int DEFAULT '1',
  `idstatus_device` int DEFAULT NULL,
  `idstatus_device_date` datetime DEFAULT NULL,
  `idconfiguration` int NOT NULL DEFAULT '2',
  `idconfiguration_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idconfiguration_default` int NOT NULL DEFAULT '2',
  `mac` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `icc` bigint DEFAULT NULL,
  `ip_private` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_public` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `version_firmware` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0.0',
  `version_hardware` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idconnection_type` int DEFAULT NULL,
  `GPS_lat` decimal(25,20) DEFAULT NULL,
  `GPS_lng` decimal(25,20) DEFAULT NULL,
  `astronomical_sunrise` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `astronomical_sunset` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `version_firmware_last` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0.0',
  `data_logger_idmode` int DEFAULT '1',
  `sofia2` bit(1) NOT NULL DEFAULT b'0',
  `device_outputs_status_date_last` datetime DEFAULT NULL,
  `device_outputs_status_date_last_request` datetime DEFAULT NULL,
  `parameters` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `descriptors` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `display_options` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `timezone` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'Europe/Madrid',
  `delta_measurement` decimal(10,2) NOT NULL DEFAULT '0.05',
  `block_measurements` int DEFAULT '0',
  `offline_send_measure0` int DEFAULT '0',
  `datalogger_fields` varchar(4500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `measures_fields` varchar(4500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `events_fields` varchar(4500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddashboard_type` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `ref` (`ref`),
  KEY `idgroup` (`idgroup`),
  KEY `idtype` (`idtype`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_backup`
--


--
-- Table structure for table `devices_config_schedule`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_config_schedule` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `idconfiguration` int NOT NULL,
  `idschedule` int NOT NULL,
  `date_start` date DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_config_schedule`
--


--
-- Table structure for table `devices_configurations`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_configurations` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `idstatus` int NOT NULL,
  `idgroup` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_configurations`
--


--
-- Table structure for table `devices_deleted`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_deleted` (
  `id` int NOT NULL AUTO_INCREMENT,
  `delete_date` datetime DEFAULT NULL,
  `delete_user` int DEFAULT NULL,
  `iddevice` int NOT NULL,
  `ref` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `idtype` int NOT NULL,
  `idgroup` int NOT NULL,
  `group_master` int DEFAULT NULL,
  `idmode` int DEFAULT '0',
  `idstatus` int DEFAULT '1',
  `idstatus_device` int DEFAULT NULL,
  `idstatus_device_date` datetime DEFAULT NULL,
  `idconfiguration` int NOT NULL DEFAULT '2',
  `idconfiguration_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idconfiguration_default` int NOT NULL DEFAULT '2',
  `mac` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_private` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_public` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `version_firmware` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `version_hardware` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idconnection_type` int DEFAULT NULL,
  `GPS_lat` decimal(25,20) DEFAULT NULL,
  `GPS_lng` decimal(25,20) DEFAULT NULL,
  `astronomical_sunrise` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `astronomical_sunset` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `version_firmware_last` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_deleted`
--

INSERT INTO `devices_deleted` VALUES (1,'2024-12-04 10:22:18',274,5171655,'OP00000F210224C000001','OP00000F210224C000001',133,9,0,0,1,NULL,NULL,2,'2024-12-04 09:04:21',2,'357104851050517;C1965000000051716551',NULL,NULL,'0.0',NULL,NULL,39.47243173612800000000,-0.38953729462582000000,'','','0.0'),(2,'2024-12-04 10:34:15',274,5171655,'OP00000F041224C000000','OP00000F041224C000000',133,9,0,0,1,NULL,NULL,2,'2024-12-04 10:24:16',2,'357104851050517;C1965000000051716551',NULL,NULL,'0.0',NULL,NULL,39.47243173612800000000,-0.38953729462582000000,'','','0.0'),(3,'2024-12-04 10:49:27',274,5171655,'OP00000F210224C000001','OP00000F210224C000001',133,1,0,0,1,NULL,NULL,2,'2024-12-04 10:47:45',2,'357104851050517;C1965000000051716551',NULL,NULL,'0.0',NULL,NULL,39.47243173612800000000,-0.38953729462582000000,'','','0.0');

--
-- Table structure for table `devices_events`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_events` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `idevent` int DEFAULT NULL,
  `idnotification` int DEFAULT NULL,
  `idaction` int DEFAULT NULL,
  `active` int NOT NULL DEFAULT '1',
  `query_last` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `deleted` int NOT NULL DEFAULT '0',
  `date_updated` datetime DEFAULT NULL,
  `idevent_type` int NOT NULL DEFAULT '1',
  `and_or` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'AND',
  `time_start` time DEFAULT NULL,
  `time_end` time DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idgroup` (`idgroup`),
  KEY `iddevice` (`iddevice`),
  KEY `idevent` (`idevent`),
  KEY `idnotification` (`idnotification`),
  KEY `active` (`active`),
  KEY `deleted` (`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_events`
--


--
-- Table structure for table `devices_events_variables`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_events_variables` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevices_events` int DEFAULT NULL,
  `idevents_variables` int DEFAULT NULL,
  `value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idcondition` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevices_events` (`iddevices_events`),
  KEY `idevents_variables` (`idevents_variables`),
  KEY `idcondition` (`idcondition`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_events_variables`
--


--
-- Table structure for table `devices_firmware_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_firmware_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `firmware_version` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `firmware_version_old` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date` (`date`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_firmware_log`
--

INSERT INTO `devices_firmware_log` VALUES (1,212121212,'2024-11-20 11:19:48','07.22','0.0'),(2,212121212,'2024-11-20 11:21:44','06.07','07.22'),(3,584617388,'2024-11-22 12:28:02','07.22','0.0');

--
-- Table structure for table `devices_firmware_update_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_firmware_update_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `firmware_version` decimal(8,2) DEFAULT NULL,
  `firmware_version_old` decimal(8,2) DEFAULT NULL,
  `status` tinyint DEFAULT '0',
  `status_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date` (`date`),
  KEY `firmware_version` (`firmware_version`),
  KEY `devices_firmware_update_log` (`firmware_version_old`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_firmware_update_log`
--


--
-- Table structure for table `devices_gatewayconfig_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_gatewayconfig_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `TS` datetime DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `BUS_iddevice` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `protocol` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `BUS_device_model` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `protocolConfig` varchar(4500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gatewayConfig` text COLLATE utf8mb4_unicode_ci,
  `parameters` text COLLATE utf8mb4_unicode_ci,
  `parameters_BUS` text COLLATE utf8mb4_unicode_ci,
  `descriptors` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_gatewayconfig_log`
--

INSERT INTO `devices_gatewayconfig_log` VALUES (1,'2024-12-11 07:35:19',485096706,'24041127921B2071','mbus','HYDRUS HYD171','{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"24041127921B207\",\"baudrate\":2400,\"serialNumber\":\"24041127921B2071\"}','{\"idRequest\":\"d208e4d0-cf6a-4016-8206-aa620d069d73\",\"gWsn\":485096706,\"meterList\":[{\"serialNumber\":\"24041127921B2071\",\"utilityId\":\"METER1\",\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"24041127921B207\",\"baudrate\":2400}},{\"serialNumber\":\"24041127921B2072\",\"utilityId\":\"METER2\",\"protocolConfig\":{\"meterBrand\":\"ITRON\",\"meterModel\":\"ECHODIS\",\"protocolType\":\"mbus\",\"address\":\"24041127921B207\",\"baudrate\":2400}}]}','<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:06:22</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>0</mbus_num><mbus_add></mbus_add></parameters>','<parameters_BUS></parameters_BUS>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>'),(2,'2024-12-11 07:40:51',485096706,'24041127921B2071','mbus','HYDRUS HYD171','{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"24041127921B207\",\"baudrate\":2400,\"serialNumber\":\"24041127921B2071\"}','{\"idRequest\":\"d208e4d0-cf6a-4016-8206-aa620d069d73\",\"gWsn\":485096706,\"meterList\":[{\"serialNumber\":\"24041127921B2071\",\"utilityId\":\"METER1\",\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"24041127921B207\",\"baudrate\":2400}},{\"serialNumber\":\"24041127921B2072\",\"utilityId\":\"METER2\",\"protocolConfig\":{\"meterBrand\":\"ITRON\",\"meterModel\":\"ECHODIS\",\"protocolType\":\"mbus\",\"address\":\"24041127921B207\",\"baudrate\":2400}}]}','<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:06:22</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>0</mbus_num><mbus_add></mbus_add></parameters>','<parameters_BUS></parameters_BUS>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>'),(3,'2024-12-11 10:16:19',485096706,'240411279215B2071','mbus','HYDRUS HYD171','{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400,\"serialNumber\":\"240411279215B2071\"}','{\"idRequest\":\"bf02838b-3a14-4e46-ba4e-a9352aca0a15\",\"gWsn\":485096706,\"meterList\":[{\"serialNumber\":\"240411279215B2071\",\"utilityId\":\"METER1\",\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}},{\"serialNumber\":\"240411279215B2072\",\"utilityId\":\"METER1\",\"protocolConfig\":{\"meterBrand\":\"ITRON\",\"meterModel\":\"ECHODIS\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}}]}','<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:01:55</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>0</mbus_num><mbus_add></mbus_add></parameters>','<parameters_BUS></parameters_BUS>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>'),(4,'2024-12-11 10:54:39',485096706,'','','','','{\"idRequest\":\"23f10e6b-e0ce-4e25-946b-365dbd186735\",\"gWsn\":485096706,\"meterList\":[{\"serialNumber\":\"240411279215B2071\",\"utilityId\":\"METER1\",\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}},{\"serialNumber\":\"240411279215B2072\",\"utilityId\":\"Meter 2\",\"protocolConfig\":{\"meterBrand\":\"ITRON\",\"meterModel\":\"ECHODIS\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}}]}','<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:07:34</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>0</mbus_num><mbus_add></mbus_add></parameters>','<parameters_BUS></parameters_BUS>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>'),(5,'2024-12-11 11:26:16',485096706,'','','','','{\"idRequest\":\"baefba43-c0b8-4245-b3cb-1f7c3ec753de\",\"gWsn\":485096706,\"meterList\":[{\"serialNumber\":\"240411279215B2073\",\"utilityId\":\"METER3\",\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}},{\"serialNumber\":\"240411279215B2071\",\"utilityId\":\"METER1\",\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}},{\"serialNumber\":\"240411279215B2072\",\"utilityId\":\"Meter 2\",\"protocolConfig\":{\"meterBrand\":\"ITRON\",\"meterModel\":\"ECHODIS\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}}]}','<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:07:34</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>3</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>2</mbus_num><mbus_add>240411279215B207,240411279215B207</mbus_add></parameters>','<parameters_BUS></parameters_BUS>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><meters_mbus_idmeter>0</meters_mbus_idmeter></descriptors>'),(6,'2024-12-11 11:26:26',485096706,'','','','','{\"idRequest\":\"7f8299b3-90c7-4999-95cd-652e311c8951\",\"gWsn\":485096706,\"meterList\":[{\"serialNumber\":\"240411279215B2071\",\"utilityId\":\"METER1\",\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}},{\"serialNumber\":\"240411279215B2072\",\"utilityId\":\"Meter 2\",\"protocolConfig\":{\"meterBrand\":\"ITRON\",\"meterModel\":\"ECHODIS\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}}]}','<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:07:34</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>3</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>3</mbus_num><mbus_add>240411279215B207,240411279215B207,240411279215B207</mbus_add></parameters>','<parameters_BUS></parameters_BUS>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><meters_mbus_idmeter>0</meters_mbus_idmeter></descriptors>'),(7,'2024-12-13 07:10:49',485096706,'240411279215B207','mbus','HYDRUS HYD171','{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B20\",\"baudrate\":2400,\"serialNumber\":\"240411279215B207\"}','{\"idRequest\":\"62027450-5a90-47dd-95fc-25fa632dc185\",\"gWsn\":485096706,\"utilityIdGw\":\"48509670601\",\"utilityNameGw\":\"OP00707F021224C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"240411279215B207\",\"utilityIdMeter\":\"METER3\",\"action\":1,\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B20\",\"baudrate\":2400}},{\"idmeter\":null,\"serialNumber\":\"240411279215B2071\",\"utilityIdMeter\":\"METER1\",\"action\":0,\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}},{\"idmeter\":null,\"serialNumber\":\"240411279215B2072\",\"utilityIdMeter\":\"Meter 2\",\"action\":0,\"protocolConfig\":{\"meterBrand\":\"ITRON\",\"meterModel\":\"ECHODIS\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:07:34</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>3</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>2</mbus_num><mbus_add>240411279215B207,240411279215B207</mbus_add></parameters>',NULL,'<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><meters_mbus_idmeter>0</meters_mbus_idmeter></descriptors>'),(8,'2024-12-13 07:21:13',485096706,'','','','','{\"idRequest\":\"85793581-def0-4adc-ad8c-4f0a39901525\",\"gWsn\":485096706,\"utilityIdGw\":\"48509670601\",\"utilityNameGw\":\"OP00707F021224C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"240411279215B2073\",\"utilityIdMeter\":\"Meter4\",\"action\":1,\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}},{\"idmeter\":null,\"serialNumber\":\"240411279215B207\",\"utilityIdMeter\":\"Meter1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B20\",\"baudrate\":2400}},{\"idmeter\":null,\"serialNumber\":\"240411279215B2071\",\"utilityIdMeter\":\"Meter2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}},{\"idmeter\":null,\"serialNumber\":\"240411279215B2072\",\"utilityIdMeter\":\"Meter3\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"ITRON\",\"meterModel\":\"ECHODIS\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:07:34</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>3</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>3</mbus_num><mbus_add>240411279215B20,240411279215B207,240411279215B207</mbus_add></parameters>',NULL,'<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><meters_mbus_idmeter>0</meters_mbus_idmeter><meters_mbus_idmeter>240411279215B207</meters_mbus_idmeter></descriptors>'),(9,'2024-12-13 07:36:10',678912345,'','','','','{\"idRequest\":\"892b6858-4525-4303-b004-798b06aafa05\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_MD1\",\"action\":1,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>43</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields></descriptors>\n'),(10,'2024-12-13 07:55:41',485096706,'','','','','{\"idRequest\":\"fe0d0081-30af-41a2-8f5a-5d2bb94cc516\",\"gWsn\":485096706,\"utilityIdGw\":\"48509670601\",\"utilityNameGw\":\"OP00707F021224C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"240411279215B207\",\"utilityIdMeter\":\"METER3\",\"action\":1,\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B20\",\"baudrate\":2400}},{\"idmeter\":null,\"serialNumber\":\"240411279215B2071\",\"utilityIdMeter\":\"METER1\",\"action\":0,\"protocolConfig\":{\"meterBrand\":\"HYDRUS\",\"meterModel\":\"HYD171\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}},{\"idmeter\":null,\"serialNumber\":\"240411279215B2072\",\"utilityIdMeter\":\"Meter 2\",\"action\":0,\"protocolConfig\":{\"meterBrand\":\"ITRON\",\"meterModel\":\"ECHODIS\",\"protocolType\":\"mbus\",\"address\":\"240411279215B207\",\"baudrate\":2400}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time>18:07:34</reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>3</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>4</mbus_num><mbus_add>240411279215B207,240411279215B20,240411279215B207,240411279215B207</mbus_add></parameters>',NULL,'<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><meters_mbus_idmeter>0</meters_mbus_idmeter><meters_mbus_idmeter>240411279215B207</meters_mbus_idmeter></descriptors>'),(11,'2024-12-13 07:57:28',678912345,'','','','','{\"idRequest\":\"852340e1-f30e-439a-a4fe-0255cd718b7b\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"METER2\",\"action\":1,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"METER1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>0</meters_modbus_idmeter></descriptors>\n'),(12,'2024-12-13 11:56:27',678912345,'','','','','{\"idRequest\":\"eb1350ca-8d6f-47bf-bd02-695ca87acb19\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_MD2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_MD1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>0</meters_modbus_idmeter></descriptors>\n'),(13,'2024-12-13 11:57:03',678912345,'','','','','{\"idRequest\":\"eb1350ca-8d6f-47bf-bd02-695ca87acb19\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_MD2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_MD1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>0</meters_modbus_idmeter></descriptors>\n'),(14,'2024-12-13 11:58:11',678912345,'','','','','{\"idRequest\":\"eb1350ca-8d6f-47bf-bd02-695ca87acb19\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_MD2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_MD1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>0</meters_modbus_idmeter></descriptors>\n'),(15,'2024-12-13 12:07:12',678912345,'','','','','{\"idRequest\":\"18623b19-61f0-4403-81e6-7bff6e32d2ea\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_MD2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_MD1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>0</meters_modbus_idmeter></descriptors>\n'),(16,'2024-12-13 12:08:21',678912345,'','','','','{\"idRequest\":\"e5938b19-f7aa-413e-8f28-8a61dc0e1b3c\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_m2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_m1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>0</meters_modbus_idmeter></descriptors>\n'),(17,'2024-12-13 12:09:06',678912345,'','','','','{\"idRequest\":\"e5938b19-f7aa-413e-8f28-8a61dc0e1b3c\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_m2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_m1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>678912345_MD2,678912345_MD1</meters_modbus_idmeter></descriptors>\n'),(18,'2024-12-13 12:10:11',678912345,'','','','','{\"idRequest\":\"e5938b19-f7aa-413e-8f28-8a61dc0e1b3c\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_m2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_m1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>678912345_MD2,678912345_MD1</meters_modbus_idmeter></descriptors>\n'),(19,'2024-12-13 12:10:37',678912345,'','','','','{\"idRequest\":\"e5938b19-f7aa-413e-8f28-8a61dc0e1b3c\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_m2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_m1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>678912345_MD2,678912345_MD1</meters_modbus_idmeter></descriptors>\n'),(20,'2024-12-13 12:14:10',678912345,'','','','','{\"idRequest\":\"e5938b19-f7aa-413e-8f28-8a61dc0e1b3c\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_m2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_m1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>678912345_MD2,678912345_MD1</meters_modbus_idmeter></descriptors>\n'),(21,'2024-12-13 12:15:11',678912345,'','','','','{\"idRequest\":\"e5938b19-f7aa-413e-8f28-8a61dc0e1b3c\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_m2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_m1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>678912345_MD2,678912345_MD1</meters_modbus_idmeter></descriptors>\n'),(22,'2024-12-13 12:16:05',678912345,'','','','','{\"idRequest\":\"e5938b19-f7aa-413e-8f28-8a61dc0e1b3c\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_m2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_m1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>678912345_MD2,678912345_MD1</meters_modbus_idmeter></descriptors>\n'),(23,'2024-12-13 12:17:53',678912345,'','','','','{\"idRequest\":\"e5938b19-f7aa-413e-8f28-8a61dc0e1b3c\",\"gWsn\":678912345,\"utilityIdGw\":\"67891234501\",\"utilityNameGw\":\"OP00023F110727C000001\",\"meterList\":[{\"idmeter\":null,\"serialNumber\":\"678912345_MD2\",\"utilityIdMeter\":\"678912345_m2\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}},{\"idmeter\":1,\"serialNumber\":\"678912345_MD1\",\"utilityIdMeter\":\"678912345_m1\",\"action\":2,\"protocolConfig\":{\"meterBrand\":\"KROHNE\",\"meterModel\":\"WAFX3070\",\"protocolType\":\"modbus\",\"parity\":\"Even\",\"framing\":\"8,N,1\",\"slaveId\":\"1\",\"baudrate\":9600}}],\"unassignedMeterList\":[]}','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time>09:57:19</reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><overpressure_alarm/><low_pressure_alarm/></parameters>',NULL,'<descriptors>\n   <MODBUS_device_type>1,1</MODBUS_device_type>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>   <send_delay>300</send_delay>\n <parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields><meters_modbus_idmeter>678912345_MD2,678912345_MD1</meters_modbus_idmeter></descriptors>\n');

--
-- Table structure for table `devices_inputs_types`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_inputs_types` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice_type` int DEFAULT NULL,
  `input_number` int DEFAULT NULL,
  `idinput_type` int DEFAULT NULL,
  `parameters` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `iddevice_type` (`iddevice_type`),
  KEY `idinput_type` (`idinput_type`),
  KEY `input_number` (`input_number`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_inputs_types`
--


--
-- Table structure for table `devices_install`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_install` (
  `id` int NOT NULL AUTO_INCREMENT,
  `mac` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idconnection` int DEFAULT NULL,
  `date` datetime DEFAULT CURRENT_TIMESTAMP,
  `processed` int NOT NULL DEFAULT '-1',
  `date_processed` datetime DEFAULT NULL,
  `idplatform` int DEFAULT NULL,
  `iduser` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `device` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `ref` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_ref` datetime DEFAULT NULL,
  `secured` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `mac` (`mac`),
  KEY `ref` (`ref`),
  KEY `processed` (`processed`),
  KEY `date` (`date`),
  KEY `date_processed` (`date_processed`),
  KEY `iddevice` (`iddevice`),
  KEY `idplatform` (`idplatform`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_install`
--

INSERT INTO `devices_install` VALUES (3,'356995846173889',NULL,'2024-11-22 12:19:48',1,'2024-11-22 12:19:48',9,3,584617388,'{\"icc\": \"12345678\", \"IMEI\": \"356995846173889\", \"idtype\": 110, \"iduser\": 3, \"GPS_lat\": \"39.472431736\", \"GPS_lng\": \"-0.389537295\", \"idgroup\": 1, \"timezone\": \"Europe/Madrid\", \"idplatform\": 7, \"order_processing\": \"OP00123F110724C000007\"}','OP00123F110724C000007','2024-11-22 12:19:48',0),(4,'123456789123456',NULL,'2024-12-02 11:18:54',1,'2024-12-02 11:18:54',9,5,678912345,'{\"icc\": \"645454531\", \"IMEI\": \"123456789123456\", \"idtype\": 90, \"iduser\": 5, \"GPS_lat\": \"39.497345\", \"GPS_lng\": \"-0.402818\", \"idgroup\": 1, \"timezone\": \"UTC\", \"idplatform\": 7, \"order_processing\": \"OP00023F110727C000001\"}','OP00023F110727C000001','2024-12-02 11:18:54',0),(19,'357104851050518',NULL,'2024-12-04 10:34:43',-1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(30,'357104851050517',NULL,'2024-12-04 14:26:19',1,'2024-12-04 14:26:19',9,12,485105051,'{\"icc\": \"123456789\", \"IMEI\": \"357104851050517\", \"idtype\": 133, \"iduser\": 12, \"GPS_lat\": null, \"GPS_lng\": null, \"idgroup\": 11, \"timezone\": \"Europe/Madrid\", \"idplatform\": 9, \"order_processing\": \"OP00000F041224C000001\"}','OP00000F041224C000001','2024-12-04 14:26:19',0),(32,'357104851047729',NULL,'2024-12-10 09:42:12',1,'2024-12-10 09:42:12',9,23,485104772,'{\"icc\": \"8934076500004416996\", \"IMEI\": \"357104851047729\", \"idtype\": 136, \"iduser\": 23, \"GPS_lat\": null, \"GPS_lng\": null, \"idgroup\": 1, \"timezone\": \"Europe/Madrid\", \"idplatform\": 9, \"order_processing\": \"OP00000F181024C000001\"}','OP00000F181024C000001','2024-12-10 09:42:12',0),(36,'357104850967067',NULL,'2024-12-11 10:53:29',1,'2024-12-11 10:53:29',9,3,485096706,'{\"icc\": \"8934072500005522861\", \"IMEI\": \"357104850967067\", \"idtype\": 119, \"iduser\": 3, \"GPS_lat\": \"39.11635101939436876356\", \"GPS_lng\": \"1.72534851580512308026\", \"idgroup\": 1, \"timezone\": \"Europe/Madrid\", \"idplatform\": 9, \"order_processing\": \"OP00707F021224C000001\"}','OP00707F021224C000001','2024-12-11 10:53:29',0);

--
-- Table structure for table `devices_install_test_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_install_test_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` datetime DEFAULT NULL,
  `mac` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `step` int DEFAULT NULL,
  `message` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mac` (`mac`),
  KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_install_test_log`
--


--
-- Table structure for table `devices_measurements`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_measurements` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `measurements` int DEFAULT '0',
  `id_measurements_log_last` bigint DEFAULT NULL,
  `measurements_date_first` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `measurements_date_last` datetime DEFAULT NULL,
  `start_date_last` datetime DEFAULT NULL,
  `power_active` decimal(25,5) DEFAULT '0.00000',
  `power_active_min` decimal(25,5) DEFAULT '0.00000',
  `power_active_max` decimal(25,5) DEFAULT '0.00000',
  `power_active_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive` decimal(25,5) DEFAULT '0.00000',
  `power_reactive_min` decimal(25,5) DEFAULT '0.00000',
  `power_reactive_max` decimal(25,5) DEFAULT '0.00000',
  `power_reactive_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_apparent` decimal(25,5) DEFAULT '0.00000',
  `power_apparent_min` decimal(25,5) DEFAULT '0.00000',
  `power_apparent_max` decimal(25,5) DEFAULT '0.00000',
  `power_apparent_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor` decimal(25,5) DEFAULT '0.00000',
  `power_factor_min` decimal(25,5) DEFAULT '0.00000',
  `power_factor_max` decimal(25,5) DEFAULT '0.00000',
  `power_factor_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `voltage` decimal(25,5) DEFAULT '0.00000',
  `voltage_min` decimal(25,5) DEFAULT '0.00000',
  `voltage_max` decimal(25,5) DEFAULT '0.00000',
  `voltage_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current` decimal(25,5) DEFAULT '0.00000',
  `current_min` decimal(25,5) DEFAULT '0.00000',
  `current_max` decimal(25,5) DEFAULT '0.00000',
  `current_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `line_impedance` decimal(25,5) DEFAULT '0.00000',
  `line_impedance_min` decimal(25,5) DEFAULT '0.00000',
  `line_impedance_max` decimal(25,5) DEFAULT '0.00000',
  `line_impedance_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `battery_status` decimal(25,5) DEFAULT '0.00000',
  `battery_status_min` decimal(25,5) DEFAULT '0.00000',
  `battery_status_max` decimal(25,5) DEFAULT NULL,
  `battery_status_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `switching_on` int NOT NULL DEFAULT '0',
  `switch_on_time` bigint NOT NULL DEFAULT '0',
  `measurements_date_last_log` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `input1` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input2` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input3` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input4` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input5` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input6` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input7` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input8` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input9` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `input10` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `idstatus_connection` int DEFAULT '0',
  `idmode` int DEFAULT '0',
  `idstatus` int DEFAULT '0',
  `idfunction` int DEFAULT '0',
  `power_perc` int DEFAULT '100',
  `frequency` decimal(25,5) DEFAULT '0.00000',
  `power_active2` decimal(25,5) DEFAULT '0.00000',
  `power_reactive2` decimal(25,5) DEFAULT '0.00000',
  `voltage2` decimal(25,5) DEFAULT '0.00000',
  `current2` decimal(25,5) DEFAULT '0.00000',
  `power_active3` decimal(25,5) DEFAULT '0.00000',
  `power_reactive3` decimal(25,5) DEFAULT '0.00000',
  `voltage3` decimal(25,5) DEFAULT '0.00000',
  `current3` decimal(25,5) DEFAULT '0.00000',
  `energy_reactive` decimal(25,5) DEFAULT '0.00000',
  `relays` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '0000000000',
  `delay` int DEFAULT '0',
  `timer` int DEFAULT '0',
  `energy_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy_reactive_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2` decimal(25,5) DEFAULT '0.00000',
  `power_factor3` decimal(25,5) DEFAULT '0.00000',
  `power_active1` decimal(25,5) DEFAULT '0.00000',
  `power_reactive1` decimal(25,5) DEFAULT '0.00000',
  `power_factor1` decimal(25,5) DEFAULT '0.00000',
  `voltage1` decimal(25,5) DEFAULT '0.00000',
  `current1` decimal(25,5) DEFAULT '0.00000',
  `wifi_ssid` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `power_factor_total` decimal(25,5) DEFAULT '0.00000',
  `gross_measure` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `month_energy` decimal(25,5) DEFAULT '0.00000',
  `month_switching_on` decimal(25,5) DEFAULT '0.00000',
  `month_switch_on_time` decimal(25,5) DEFAULT '0.00000',
  `month_energy_3phase` decimal(25,5) DEFAULT '0.00000',
  `year_energy` decimal(25,5) DEFAULT '0.00000',
  `year_switching_on` decimal(25,5) DEFAULT '0.00000',
  `year_switch_on_time` decimal(25,5) DEFAULT '0.00000',
  `year_energy_3phase` decimal(25,5) DEFAULT '0.00000',
  `month_year_date_reset` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `iddispositivo` (`iddevice`),
  KEY `input1` (`input1`),
  KEY `input2` (`input2`),
  KEY `input3` (`input3`),
  KEY `input4` (`input4`),
  KEY `input5` (`input5`),
  KEY `input6` (`input6`),
  KEY `input7` (`input7`),
  KEY `input8` (`input8`),
  KEY `input9` (`input9`),
  KEY `input10` (`input10`),
  KEY `power_active` (`power_active`),
  KEY `voltage` (`voltage`),
  KEY `idstatus` (`idstatus`),
  KEY `idmode` (`idmode`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_measurements`
--

INSERT INTO `devices_measurements` VALUES (1,485105051,0,NULL,'2024-12-04 09:00:28',NULL,NULL,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,NULL,0.00000,0.00000,0,0,'2024-12-04 09:00:28',0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,0,0,0,100,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,'0000000000',0,0,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,NULL,0.00000,NULL,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,NULL);

--
-- Table structure for table `devices_measurements_3256_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_measurements_3256_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` datetime DEFAULT NULL,
  `idmeasurements_log` bigint DEFAULT NULL,
  `representative_measurement` int DEFAULT NULL,
  `input3` decimal(20,2) DEFAULT NULL,
  `DIFF_input3` decimal(20,2) DEFAULT NULL,
  `input3_reg_type` int DEFAULT NULL,
  `measurements_input3` decimal(20,2) DEFAULT NULL,
  `measurements_XML` text COLLATE utf8mb4_unicode_ci,
  `measurements_XML_original` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_measurements_3256_log`
--


--
-- Table structure for table `devices_measurements_trigger_command`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_measurements_trigger_command` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `idgroup` int DEFAULT NULL,
  `iddevices_events` int DEFAULT NULL,
  `active` int DEFAULT NULL,
  `repeat` int DEFAULT '1',
  `sent` int DEFAULT '0',
  `reload_minutes` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `active` (`active`),
  KEY `iddevices_events` (`iddevices_events`),
  KEY `iddevice` (`iddevice`),
  KEY `idgroup` (`idgroup`),
  KEY `repeat` (`repeat`),
  KEY `sent` (`sent`),
  KEY `reload_minutes` (`reload_minutes`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_measurements_trigger_command`
--


--
-- Table structure for table `devices_modbus_devices`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_modbus_devices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `idslave` int DEFAULT NULL,
  `idmodbus_device_type` int DEFAULT NULL,
  `label` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_modbus_devices`
--


--
-- Table structure for table `devices_modbus_init_command`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_modbus_init_command` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `command` varchar(4000) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_modbus_init_command`
--

INSERT INTO `devices_modbus_init_command` VALUES (1,485105051,''),(2,5171655,''),(3,5171655,''),(4,5171655,'');

--
-- Table structure for table `devices_modbus_measurements`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_modbus_measurements` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `measurements` int DEFAULT '0',
  `id_measurements_log_last` bigint DEFAULT NULL,
  `measurements_date_first` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `measurements_date_last` datetime DEFAULT NULL,
  `start_date_last` datetime DEFAULT NULL,
  `power_active` decimal(25,5) DEFAULT NULL,
  `power_active_min` decimal(25,5) DEFAULT NULL,
  `power_active_max` decimal(25,5) DEFAULT NULL,
  `power_active_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_reactive` decimal(25,5) DEFAULT NULL,
  `power_reactive_min` decimal(25,5) DEFAULT NULL,
  `power_reactive_max` decimal(25,5) DEFAULT NULL,
  `power_reactive_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_apparent` decimal(25,5) DEFAULT NULL,
  `power_apparent_min` decimal(25,5) DEFAULT NULL,
  `power_apparent_max` decimal(25,5) DEFAULT NULL,
  `power_apparent_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor` decimal(25,5) DEFAULT NULL,
  `power_factor_min` decimal(25,5) DEFAULT NULL,
  `power_factor_max` decimal(25,5) DEFAULT NULL,
  `power_factor_average` decimal(25,5) NOT NULL,
  `voltage` decimal(25,5) DEFAULT NULL,
  `voltage_min` decimal(25,5) DEFAULT NULL,
  `voltage_max` decimal(25,5) DEFAULT NULL,
  `voltage_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `current` decimal(25,5) DEFAULT NULL,
  `current_min` decimal(25,5) DEFAULT NULL,
  `current_max` decimal(25,5) DEFAULT NULL,
  `current_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `line_impedance` decimal(25,5) DEFAULT NULL,
  `line_impedance_min` decimal(25,5) DEFAULT NULL,
  `line_impedance_max` decimal(25,5) DEFAULT NULL,
  `line_impedance_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `battery_status` decimal(25,5) DEFAULT NULL,
  `battery_status_min` decimal(25,5) DEFAULT NULL,
  `battery_status_max` decimal(25,5) DEFAULT NULL,
  `battery_status_average` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `switching_on` int NOT NULL DEFAULT '0',
  `switch_on_time` bigint NOT NULL DEFAULT '0',
  `measurements_date_last_log` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `input1` decimal(25,5) DEFAULT NULL,
  `input2` decimal(25,5) DEFAULT NULL,
  `input3` decimal(25,5) DEFAULT NULL,
  `input4` decimal(25,5) DEFAULT NULL,
  `input5` decimal(25,5) DEFAULT NULL,
  `input6` decimal(25,5) DEFAULT NULL,
  `input7` decimal(25,5) DEFAULT NULL,
  `input8` decimal(25,5) DEFAULT NULL,
  `input9` decimal(25,5) DEFAULT NULL,
  `input10` decimal(25,5) DEFAULT NULL,
  `idstatus_connection` int DEFAULT '0',
  `idmode` int DEFAULT '0',
  `idstatus` int DEFAULT '0',
  `idfunction` int DEFAULT '0',
  `power_perc` int DEFAULT '100',
  `frequency` decimal(25,5) DEFAULT NULL,
  `power_active2` decimal(25,5) DEFAULT NULL,
  `power_reactive2` decimal(25,5) DEFAULT NULL,
  `voltage2` decimal(25,5) DEFAULT NULL,
  `current2` decimal(25,5) DEFAULT NULL,
  `power_active3` decimal(25,5) DEFAULT NULL,
  `power_reactive3` decimal(25,5) DEFAULT NULL,
  `voltage3` decimal(25,5) DEFAULT NULL,
  `current3` decimal(25,5) DEFAULT NULL,
  `energy_reactive` decimal(25,5) DEFAULT NULL,
  `relays` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '0000000000',
  `delay` int DEFAULT NULL,
  `timer` int DEFAULT NULL,
  `energy_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `energy_reactive_3phase` decimal(25,5) NOT NULL DEFAULT '0.00000',
  `power_factor2` decimal(25,5) DEFAULT NULL,
  `power_factor3` decimal(25,5) DEFAULT NULL,
  `power_active1` decimal(25,5) DEFAULT NULL,
  `power_reactive1` decimal(25,5) DEFAULT NULL,
  `power_factor1` decimal(25,5) DEFAULT NULL,
  `voltage1` decimal(25,5) DEFAULT NULL,
  `current1` decimal(25,5) DEFAULT NULL,
  `wifi_ssid` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `power_factor_total` decimal(25,5) DEFAULT NULL,
  `modbus_idslave` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `iddispositivo` (`iddevice`,`modbus_idslave`),
  KEY `input1` (`input1`),
  KEY `input2` (`input2`),
  KEY `input3` (`input3`),
  KEY `input4` (`input4`),
  KEY `input5` (`input5`),
  KEY `input6` (`input6`),
  KEY `input7` (`input7`),
  KEY `input8` (`input8`),
  KEY `input9` (`input9`),
  KEY `input10` (`input10`),
  KEY `power_active` (`power_active`),
  KEY `voltage` (`voltage`),
  KEY `idstatus` (`idstatus`),
  KEY `modbus_idslave` (`modbus_idslave`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_modbus_measurements`
--


--
-- Table structure for table `devices_old_platform`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_old_platform` (
  `id` int NOT NULL AUTO_INCREMENT,
  `ref` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `idtype` int NOT NULL,
  `idgroup` int NOT NULL,
  `group_master` int DEFAULT NULL,
  `idmode` int DEFAULT '0',
  `idstatus` int DEFAULT '1',
  `idstatus_device` int DEFAULT NULL,
  `idstatus_device_date` datetime DEFAULT NULL,
  `idconfiguration` int NOT NULL DEFAULT '2',
  `idconfiguration_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idconfiguration_default` int NOT NULL DEFAULT '2',
  `mac` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `icc` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_private` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_public` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `version_firmware` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0.0',
  `version_hardware` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idconnection_type` int DEFAULT NULL,
  `GPS_lat` decimal(15,10) DEFAULT NULL,
  `GPS_lng` decimal(15,10) DEFAULT NULL,
  `astronomical_sunrise` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `astronomical_sunset` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `version_firmware_last` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0.0',
  `data_logger_idmode` int DEFAULT '1',
  `sofia2` bit(1) NOT NULL DEFAULT b'0',
  `device_outputs_status_date_last` datetime DEFAULT NULL,
  `device_outputs_status_date_last_request` datetime DEFAULT NULL,
  `parameters` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `descriptors` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `display_options` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `timezone` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'Europe/Madrid',
  `delta_measurement` decimal(10,5) NOT NULL DEFAULT '0.05000',
  `block_measurements` int DEFAULT '0',
  `offline_send_measure0` int DEFAULT '0',
  `datalogger_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `measures_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `events_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `iddashboard_type` int NOT NULL DEFAULT '0',
  `params_network_fields` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `params_device_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `params_device_config_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `serial_number` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parameters_BUS` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_old_platform`
--


--
-- Table structure for table `devices_outputs_types`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_outputs_types` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice_type` int DEFAULT NULL,
  `output_number` int DEFAULT NULL,
  `idoutput_type` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_outputs_types`
--


--
-- Table structure for table `devices_programs`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_programs` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `idstatus` int DEFAULT NULL,
  `dimmer` int DEFAULT NULL,
  `delay` int DEFAULT '0',
  `timer` int DEFAULT '0',
  `repeat` int DEFAULT '1',
  `relays` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '000000',
  `time_start` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `time_end` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `week_days` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sensor_idinput` int NOT NULL DEFAULT '0',
  `sensor_operator` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sensor_value` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active` int DEFAULT '1',
  `program_group` int DEFAULT NULL,
  `date_start` date DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_programs`
--


--
-- Table structure for table `devices_status`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_status` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_status`
--


--
-- Table structure for table `devices_status_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_status_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` datetime DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `idmode` int DEFAULT NULL,
  `idstatus` int DEFAULT NULL,
  `idfunction` int DEFAULT NULL,
  `power_perc` int DEFAULT NULL,
  `firmware_version` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delay` int DEFAULT NULL,
  `timer` int DEFAULT NULL,
  `relays` int DEFAULT NULL,
  `ssid` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idstatus_connection` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_status_log`
--


--
-- Table structure for table `devices_types`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `devices_types` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `inputs` int DEFAULT NULL,
  `outputs` int DEFAULT NULL,
  `iddashboard_type` int DEFAULT NULL,
  `dali_protocol` int DEFAULT NULL,
  `tamper_detection` int DEFAULT NULL,
  `batteries` int DEFAULT NULL,
  `version_firmware_last` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parameters` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `descriptors` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `display_options` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `delta_measurement` decimal(10,2) NOT NULL DEFAULT '0.05',
  `device_icon` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'ucc50',
  `dc_ready` int NOT NULL DEFAULT '0',
  `3phase_ready` int NOT NULL DEFAULT '0',
  `3phase_show` int DEFAULT '0',
  `relays_ready` int DEFAULT '0',
  `mqtt_pure` int DEFAULT '0',
  `datalogger_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `measures_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `events_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `datalogger_ready` int NOT NULL DEFAULT '0',
  `MQTT_server` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ec2-52-31-6-100.eu-west-1.compute.amazonaws.com',
  `production_type` int NOT NULL DEFAULT '1',
  `modbus_init_command` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `modbus_ready` int DEFAULT '0',
  `params_network_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `params_device_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `params_device_config_fields` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `parameters_device_parser` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parameters_BUS` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=138 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `devices_types`
--

INSERT INTO `devices_types` VALUES (59,'PIPE20MBUS_TCP_AAAA','PIPE20MBUS TCP IN(x4)',4,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Meter-ID>XXXXXXXX</Meter-ID><Dewa-ID>XXE0XXXXXX</Dewa-ID><rt>15</rt><st>1</st><sendalarm>0</sendalarm><fwupdate>0</fwupdate><firmware_version>1.0</firmware_version><modbus_enabled>1</modbus_enabled><cert>00000000</cert><overpressure_alarm>0</overpressure_alarm><lowpressure_alarm>0</lowpressure_alarm><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><csv_headers>#serial-number;device-identification;created;value-data-count;manufacturer;version;device-type;access-number;status;signature;dif=0e,vif=13,unit=m3,description=volume,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=0e,vif=3b,unit=m3/h,description=volume-flow,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=0d,vif=fd10,description=customer-location,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=0e,vif=933c,unit=m3,description=volume-acc-of-abs-value-only-if-neg-contr,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=04,vif=6d,description=datetime,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=44,vif=6d,description=datetime,kind=inst-value,tariff=0,subunit=0,storagenumber=1;dif=4e,vif=13,unit=m3,description=volume,kind=inst-value,tariff=0,subunit=0,storagenumber=1;dif=0a,vif=67,unit=°C,description=ext-temp,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=948200,vif=6d,description=datetime,kind=max-value,tariff=0,subunit=0,storagenumber=4;dif=9a8200,vif=67,unit=°C,description=ext-temp,kind=max-value,tariff=0,subunit=0,storagenumber=4;dif=0a,vif=fd74,unit=day(s),description=remaining-battery-lifetime,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=0c,vif=26,unit=hour(s),description=op-time,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=3c,vif=26,unit=hour(s),description=op-time,kind=err-value,tariff=0,subunit=0,storagenumber=0;unit=level,description=signal-strength,kind=inst-value;unit=p,description=battery-capacity,kind=inst-value;dif=d48100,vif=6d,description=datetime,kind=max-value,tariff=0,subunit=0,storagenumber=3;dif=de8100,vif=3b,unit=m3/h,description=volume-flow,kind=max-value,tariff=0,subunit=0,storagenumber=3;dif=a48100,vif=6d,description=datetime,kind=min-value,tariff=0,subunit=0,storagenumber=2;dif=ae8100,vif=3b,unit=m3/h,description=volume-flow,kind=min-value,tariff=0,subunit=0,storagenumber=2;dif=cc8200,vif=b85c,unit=m3/h-second(s),description=volume-flow duration-of-last-upper-limit-exceeded,kind=inst-value,tariff=0,subunit=0,storagenumber=5;dif=8c03,vif=a56c,unit=minute(s),description=op-time value-during-upper-limit-exceeded,kind=inst-value,tariff=0,subunit=0,storagenumber=6;dif=01,vif=fd17,description=error-flags-dev-spec,kind=inst-value,tariff=0,subunit=0,storagenumber=0</csv_headers></descriptors>','<display_options><consumption>1</consumption><threephase>0</threephase><consumption_show>voltage;current;power_active;power_reactive;energy;energy_reactive;power_factor;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10</consumption_show><dashboard_sections>1111111011</dashboard_sections>\r     <input1><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit></unit><unit_abbreviation></unit_abbreviation><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input1> \r     <input2><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit></unit><unit_abbreviation></unit_abbreviation><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input2> \r     <input3><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit></unit><unit_abbreviation></unit_abbreviation><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input3> \r     <input4><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit></unit><unit_abbreviation></unit_abbreviation><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input4> \r </display_options>',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'ICC;IMEI;IMSI;RSSI(dBm);RSRQ(dB);RSRP(dBm);CSQ;PCI;SINR(dB);TX POWER(dBm);Cell Id;BND\n','version_major-version_minor;pressure_inst(bar);pressure_avg(bar);pressure_max(bar);pressure_min(bar);pressure_error;battery;number_ok_readings;number_ok_sendings;number_nok_sendings',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(63,'PARK20','PARK20',0,1,4,0,0,1,'0.0','<parameters><fwupdate>0</fwupdate><firmware_version>PARK20_V02.04</firmware_version><fw_block_size>4096</fw_block_size><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><timeout_connection>60</timeout_connection><timeout_server>40</timeout_server><retries_server>3</retries_server><sampling_time_day>60</sampling_time_day><sampling_time_night>120</sampling_time_night><sampling_time_validation>1</sampling_time_validation><keep_alive>7200</keep_alive><reset_time></reset_time><night_start>23</night_start><night_end>5</night_end><downsampling>2</downsampling><hwaas>20</hwaas><range_start>0.12</range_start><lenght_m>0.5</lenght_m><gain>1.0</gain><running_average_factor>0.0</running_average_factor><psm>0</psm><buffer_size>4</buffer_size><weight_threshold>80.0</weight_threshold><displacement_threshold>0.1</displacement_threshold><weight_ratio_threshold>2.5</weight_ratio_threshold><background_level>100.0</background_level><max_leak_amplitude>2000.0</max_leak_amplitude><position_leak_sample>0.15</position_leak_sample><position_leak_end>0.30</position_leak_end><reed_min_time>5000</reed_min_time><reed_max_time>10000</reed_max_time><reed_shutdown_time>10000</reed_shutdown_time><reed_reset_time>20000</reed_reset_time><reed_factory_reset_time>30000</reed_factory_reset_time><erase_params>0</erase_params><net_tech>0</net_tech><net_psm>1</net_psm></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><store_frames>1</store_frames><solutions_type>6</solutions_type></descriptors>','<display_options><consumption>0</consumption><threephase>0</threephase><monophase>0</monophase><data_logger_idmode>0</data_logger_idmode><consumption_show>input1;input2;input3;input4;input5;input6;input7;input8;input9;input10</consumption_show><dashboard_sections>1011100011</dashboard_sections><input1><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input1><input2><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input2><input3><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input3><input4><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input4><input5><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input5><input6><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input6><input7><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input7><input8><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input8><input9><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input9><input10><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>1</decimals><colour>blue</colour><max>50</max><perc_sens>2</perc_sens><sensibility>1</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type></input10></display_options>',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;input11;input12;input13;input14;input15;input16;input17',0,'34.248.252.126',1,'',1,NULL,'actual_date_time;Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;IMSI;Band;net_psm;net_tech;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSE;internal_flash_writes;external_flash_writes;NBIoT Transmissions completed;NBIoT Transmissions failed;Battery Level;temperature;lecture_value;last_value_duration;lecture_w_min;lecture_w_max;lecture_d_min;lecture_d_max;sweeps_counter;Reed Activation;connection_time;tamper;datalogger;error_psm','Firmware Update;f_to_major;f_to_minor;f_size;f_crc;f_packet_id;f_packet_size;f_packet_crc;f_packet_total;f_packet_address_start;f_packet_address_end;timeout_connection;timeout_server;retries_server;sampling_time_day;sampling_time_night;sampling_time_validation;keep_alive;time_reset;night_start;night_end;downsampling;hwaas;range_start;lenght_m;gain;running_average_factor;PSM;buffer_size;weight_threshold;displacement_threshold;weight_ratio_threshold;background_level;max_leak_amplitude;position_leak_sample;position_leak_end;reed_min_time;reed_max_time;reed_shutdown_time;reed_reset_time;reed_factory_reset_time;Firmware Version',NULL,'<parameters_BUS></parameters_BUS>'),(134,'PIPE20HUBMD','GATEWAY NBIoT MODBUS AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>250</timeout_connection><timeout_server>25</timeout_server><reset_time></reset_time><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'\'ICC;IMEI;IMSI;RSSI(dBm);RSRQ(dB);RSRP(dBm);CSQ;PCI;SINR(dB);TX POWER(dBm);Cell Id;BND\'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(62,'LANE10_Master','LANE10 Master',6,1,12,0,0,0,'0.0','<parameters>\n    <apn_name>e3tcity.movistar.es</apn_name>\n    <apn_user>MOVISTAR</apn_user>\n    <apn_pass>MOVISTAR</apn_pass>\n    <apn_title>MOVISTAR</apn_title>\n    <keepalive>60</keepalive>\n    <dl_freq_calc>2</dl_freq_calc>\n    <dl_freq_send>2</dl_freq_send>\n    <dl_calc_send>3</dl_calc_send>\n    <e_freq_calc>0</e_freq_calc>\n    <e_freq_send>0</e_freq_send>\n    <e_calc_send>0</e_calc_send>\n    <meter_type>0</meter_type>\n    <dimmer_type>1</dimmer_type>\n    <meterparams_voltage_enable>0</meterparams_voltage_enable>\n    <meterparams_voltage_step>5</meterparams_voltage_step>\n    <meterparams_voltage_1_enable>0</meterparams_voltage_1_enable>\n    <meterparams_voltage_1_step>5</meterparams_voltage_1_step>\n    <meterparams_voltage_2_enable>0</meterparams_voltage_2_enable>\n    <meterparams_voltage_2_step>5</meterparams_voltage_2_step>\n    <meterparams_voltage_3_enable>0</meterparams_voltage_3_enable>\n    <meterparams_voltage_3_step>5</meterparams_voltage_3_step>\n    <meterparams_current_enable>0</meterparams_current_enable>\n    <meterparams_current_step>1</meterparams_current_step>\n    <meterparams_current_1_enable>0</meterparams_current_1_enable>\n    <meterparams_current_1_step>1</meterparams_current_1_step>\n    <meterparams_current_2_enable>0</meterparams_current_2_enable>\n    <meterparams_current_2_step>1</meterparams_current_2_step>\n    <meterparams_current_3_enable>0</meterparams_current_3_enable>\n    <meterparams_current_3_step>1</meterparams_current_3_step>\n    <meterparams_poweractive_enable>0</meterparams_poweractive_enable>\n    <meterparams_poweractive_step>250</meterparams_poweractive_step>\n    <meterparams_poweractive_1_enable>0</meterparams_poweractive_1_enable>\n    <meterparams_poweractive_1_step>250</meterparams_poweractive_1_step>\n    <meterparams_poweractive_2_enable>0</meterparams_poweractive_2_enable>\n    <meterparams_poweractive_2_step>250</meterparams_poweractive_2_step>\n    <meterparams_poweractive_3_enable>0</meterparams_poweractive_3_enable>\n    <meterparams_poweractive_3_step>250</meterparams_poweractive_3_step>\n    <meterparams_powerreactive_enable>0</meterparams_powerreactive_enable>\n    <meterparams_powerreactive_step>1</meterparams_powerreactive_step>\n    <meterparams_powerreactive_1_enable>0</meterparams_powerreactive_1_enable>\n    <meterparams_powerreactive_1_step>1</meterparams_powerreactive_1_step>\n    <meterparams_powerreactive_2_enable>0</meterparams_powerreactive_2_enable>\n    <meterparams_powerreactive_2_step>1</meterparams_powerreactive_2_step>\n    <meterparams_powerreactive_3_enable>0</meterparams_powerreactive_3_enable>\n    <meterparams_powerreactive_3_step>1</meterparams_powerreactive_3_step>\n    <meterparams_energyactive_enable>0</meterparams_energyactive_enable>\n    <meterparams_energyactive_step>1</meterparams_energyactive_step>\n    <meterparams_energyactive_3ph_enable>0</meterparams_energyactive_3ph_enable>\n    <meterparams_energyactive_3ph_step>1</meterparams_energyactive_3ph_step>\n    <meterparams_energyreactive_enable>0</meterparams_energyreactive_enable>\n    <meterparams_energyreactive_step>1</meterparams_energyreactive_step>\n    <meterparams_energyreactive_3ph_enable>0</meterparams_energyreactive_3ph_enable>\n    <meterparams_energyreactive_3ph_step>1</meterparams_energyreactive_3ph_step>\n    <i1_n>1</i1_n>\n    <i1_enable>0</i1_enable>\n    <i1_type>0</i1_type>\n    <i1_min>0</i1_min>\n    <i1_step>10</i1_step>\n    <i1_max>2500</i1_max>\n    <i1_mcc>3</i1_mcc>\n    <i2_n>2</i2_n>\n    <i2_enable>0</i2_enable>\n    <i2_type>0</i2_type>\n    <i2_min>0</i2_min>\n    <i2_step>10</i2_step>\n    <i2_max>2500</i2_max>\n    <i2_mcc>3</i2_mcc>\n    <i3_n>3</i3_n>\n    <i3_enable>0</i3_enable>\n    <i3_type>0</i3_type>\n    <i3_min>0</i3_min>\n    <i3_step>10</i3_step>\n    <i3_max>999999</i3_max>\n    <i3_mcc>3</i3_mcc>\n    <i4_n>4</i4_n>\n    <i4_enable>0</i4_enable>\n    <i4_type>0</i4_type>\n    <i4_min>-2500</i4_min>\n    <i4_step>10</i4_step>\n    <i4_max>2500</i4_max>\n    <i4_mcc>3</i4_mcc>\n    <i5_n>5</i5_n>\n    <i5_enable>0</i5_enable>\n    <i5_type>0</i5_type>\n    <i5_min>-2500</i5_min>\n    <i5_step>10</i5_step>\n    <i5_max>2500</i5_max>\n    <i5_mcc>1</i5_mcc>\n    <i6_n>6</i6_n>\n    <i6_enable>0</i6_enable>\n    <i6_type>0</i6_type>\n    <i6_min>-2500</i6_min>\n    <i6_step>10</i6_step>\n    <i6_max>2500</i6_max>\n    <i6_mcc>1</i6_mcc>\n    <o1_n>1</o1_n>\n    <o1_type>0</o1_type>\n    <e1_n>1</e1_n>\n    <e1_enable>1</e1_enable>\n    <e1_type>2</e1_type>\n    <e1_sensor>1</e1_sensor>\n    <e1_p1>1</e1_p1>\n    <e1_p2>132</e1_p2>\n    <e1_p3>100</e1_p3>\n    <e1_p4>181</e1_p4>\n    <e1_p5>182</e1_p5>\n    <e2_n>2</e2_n>\n    <e2_enable>0</e2_enable>\n    <e2_type>3</e2_type>\n    <e2_sensor>1</e2_sensor>\n    <e2_p1>2</e2_p1>\n    <e2_p2>1</e2_p2>\n    <e2_p3>0</e2_p3>\n    <e2_p4>0</e2_p4>\n    <e2_p5>0</e2_p5>\n    <e3_n>3</e3_n>\n    <e3_enable>0</e3_enable>\n    <e3_type>0</e3_type>\n    <e3_sensor>0</e3_sensor>\n    <e3_p1>0</e3_p1>\n    <e3_p2>0</e3_p2>\n    <e3_p3>0</e3_p3>\n    <e3_p4>0</e3_p4>\n    <e3_p5>0</e3_p5>\n    <e4_n>4</e4_n>\n    <e4_enable>0</e4_enable>\n    <e4_type>0</e4_type>\n    <e4_sensor>0</e4_sensor>\n    <e4_p1>0</e4_p1>\n    <e4_p2>0</e4_p2>\n    <e4_p3>0</e4_p3>\n    <e4_p4>0</e4_p4>\n    <e4_p5>0</e4_p5>\n    <e5_n>5</e5_n>\n    <e5_enable>0</e5_enable>\n    <e5_type>0</e5_type>\n    <e5_sensor>0</e5_sensor>\n    <e5_p1>0</e5_p1>\n    <e5_p2>0</e5_p2>\n    <e5_p3>0</e5_p3>\n    <e5_p4>0</e5_p4>\n    <e5_p5>0</e5_p5>\n    <e6_n>6</e6_n>\n    <e6_enable>0</e6_enable>\n    <e6_type>0</e6_type>\n    <e6_sensor>0</e6_sensor>\n    <e6_p1>0</e6_p1>\n    <e6_p2>0</e6_p2>\n    <e6_p3>0</e6_p3>\n    <e6_p4>0</e6_p4>\n    <e6_p5>0</e6_p5>\n	<reset_cloud>4</reset_cloud>\n    <reset_work_hours>20</reset_work_hours>\n    <reset_forced>30</reset_forced> \n    <MQTT_server>172.31.37.81</MQTT_server>\n<mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><device_config_counter>input2</device_config_counter><device_config_counter1>input3</device_config_counter1><csv_headers>#serial-number;device-identification;created;value-data-count;manufacturer;version;device-type;access-number;status;signature;dif=0e,vif=13,unit=m3,description=volume,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=0e,vif=3b,unit=m3/h,description=volume-flow,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=0d,vif=fd10,description=customer-location,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=0e,vif=933c,unit=m3,description=volume-acc-of-abs-value-only-if-neg-contr,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=04,vif=6d,description=datetime,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=44,vif=6d,description=datetime,kind=inst-value,tariff=0,subunit=0,storagenumber=1;dif=4e,vif=13,unit=m3,description=volume,kind=inst-value,tariff=0,subunit=0,storagenumber=1;dif=0a,vif=67,unit=°C,description=ext-temp,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=948200,vif=6d,description=datetime,kind=max-value,tariff=0,subunit=0,storagenumber=4;dif=9a8200,vif=67,unit=°C,description=ext-temp,kind=max-value,tariff=0,subunit=0,storagenumber=4;dif=0a,vif=fd74,unit=day(s),description=remaining-battery-lifetime,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=0c,vif=26,unit=hour(s),description=op-time,kind=inst-value,tariff=0,subunit=0,storagenumber=0;dif=3c,vif=26,unit=hour(s),description=op-time,kind=err-value,tariff=0,subunit=0,storagenumber=0;unit=level,description=signal-strength,kind=inst-value;unit=p,description=battery-capacity,kind=inst-value;dif=d48100,vif=6d,description=datetime,kind=max-value,tariff=0,subunit=0,storagenumber=3;dif=de8100,vif=3b,unit=m3/h,description=volume-flow,kind=max-value,tariff=0,subunit=0,storagenumber=3;dif=a48100,vif=6d,description=datetime,kind=min-value,tariff=0,subunit=0,storagenumber=2;dif=ae8100,vif=3b,unit=m3/h,description=volume-flow,kind=min-value,tariff=0,subunit=0,storagenumber=2;dif=cc8200,vif=b85c,unit=m3/h-second(s),description=volume-flow duration-of-last-upper-limit-exceeded,kind=inst-value,tariff=0,subunit=0,storagenumber=5;dif=8c03,vif=a56c,unit=minute(s),description=op-time value-during-upper-limit-exceeded,kind=inst-value,tariff=0,subunit=0,storagenumber=6;dif=01,vif=fd17,description=error-flags-dev-spec,kind=inst-value,tariff=0,subunit=0,storagenumber=0</csv_headers></descriptors>','<display_options><consumption>0</consumption><threephase>0</threephase><monophase>0</monophase><places>132</places><measures_reg_type>1</measures_reg_type><dashboard_sections>1111100111</dashboard_sections><input1><idinput_type>24</idinput_type><input_type>Parking</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>0</decimals><colour>info</colour><max>5000</max><perc_sens>2</perc_sens><sensibility>2</sensibility><measure_enabled>1</measure_enabled><show_grouped>2</show_grouped><reg_type>0</reg_type><input_label>Libres</input_label><alarm_enabled>1</alarm_enabled></input1><input2><idinput_type>26</idinput_type><input_type>Parking</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>0</decimals><colour>info</colour><max>5000</max><perc_sens>2</perc_sens><sensibility>2</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type><input_label>Ocupadas</input_label><alarm_enabled>1</alarm_enabled></input2><input3><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>0</decimals><colour>info</colour><max>5000</max><perc_sens>2</perc_sens><sensibility>2</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type><input_label>Desde actualizaci&#xF3;n</input_label><alarm_enabled>0</alarm_enabled></input3><input4><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>0</decimals><colour>info</colour><max>5000</max><perc_sens>2</perc_sens><sensibility>2</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type><input_label>Master</input_label><alarm_enabled>0</alarm_enabled></input4><input5><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>0</decimals><colour>info</colour><max>500</max><perc_sens>2</perc_sens><sensibility>2</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type><input_label>Acceso</input_label><alarm_enabled>0</alarm_enabled></input5><input6><idinput_type>20</idinput_type><input_type>Standard Sensor</input_type><unit/><unit_abbreviation/><divisor>1</divisor><decimals>0</decimals><colour>info</colour><max>500</max><perc_sens>2</perc_sens><sensibility>2</sensibility><measure_enabled>1</measure_enabled><show_grouped>0</show_grouped><reg_type>0</reg_type><input_label>Acceso</input_label><alarm_enabled>0</alarm_enabled></input6></display_options>',0.05,'lb40',1,1,1,1,0,'date,type,energy,switching_on,switch_on_time,connected_time,disconnections,power_active_avg,power_active_min,power_active_max,power_reactive_avg,power_reactive_min,power_reactive_max,power_factor_avg,power_factor_min,power_factor_max,voltage_avg,voltage_min,voltage_max,current_avg,current_min,current_max,input1_avg,input1_min,input1_max,input2_avg,input2_min,input2_max,input3_avg,input3_min,input3_max,input4_avg,input4_min,input4_max,input5_avg,input5_min,input5_max,input6_avg,input6_min,input6_max,input7_avg,input7_min,input7_max,input8_avg,input8_min,input8_max,input9_avg,input9_min,input9_max,input10_avg,input10_min,input10_max,power_active1_avg,power_active1_min,power_active1_max,power_reactive1_avg,power_reactive1_min,power_reactive1_max,power_factor1_avg,power_factor1_min,power_factor1_max,voltage1_avg,voltage1_min,voltage1_max,current1_avg,current1_min,current1_max,power_active2_avg,power_active2_min,power_active2_max,power_reactive2_avg,power_reactive2_min,power_reactive2_max,power_factor2_avg,power_factor2_min,power_factor2_max,voltage2_avg,voltage2_min,voltage2_max,current2_avg,current2_min,current2_max,power_active3_avg,power_active3_min,power_active3_max,power_reactive3_avg,power_reactive3_min,power_reactive3_max,power_factor3_avg,power_factor3_min,power_factor3_max,voltage3_avg,voltage3_min,voltage3_max,current3_avg,current3_min,current3_max,energy_3phase,energy_reactive_3phase,power_active_3phase_avg,power_active_3phase_min,power_active_3phase_max,power_reactive_3phase_avg,power_reactive_3phase_min,power_reactive_3phase_max,power_factor_3phase_avg,power_factor_3phase_min,power_factor_3phase_max,current_3phase_avg,current_3phase_min,current_3phase_max,THD_3phase_avg,THD_3phase_min,THD_3phase_max,THD1_avg,THD1_min,THD1_max,THD2_avg,THD2_min,THD2_max,THD3_avg,THD3_min,THD3_max,modbus_idslave','iddevice;date;switch_on_time;switching_on;voltage;voltage1;voltage2;voltage3;current;current1;current2;current3;power_active;power_active1;power_active2;power_active3;power_reactive;power_reactive1;power_reactive2;power_reactive3;energy;energy_3phase;energy_reactive;energy_reactive_3phase;power_factor;power_factor1;power_factor2;power_factor3;power_factor_total;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10','date;idtrigger_type;idmode;idstatus;dimmer;voltage;current;power_active;power_reactive;power_factor;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;voltage1;current1;power_active1;power_reactive1;power_factor1;voltage2;current2;power_active2;power_reactive2;power_factor2;voltage3;current3;power_active3;power_reactive3;power_factor3;power_factor_total',1,'34.248.252.126',1,NULL,1,NULL,NULL,NULL,NULL,'<parameters_BUS></parameters_BUS>'),(65,'PIPE20L','GATEWAY NBIoT M-BUS 38Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><no_ack>0</no_ack><pulse_acc>0</pulse_acc>\r<meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,NULL,1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(66,'PIPE20','GATEWAY NBIoT M-BUS 19Ah',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><no_ack>0</no_ack><pulse_acc>0</pulse_acc>\r<meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(67,'RDC','Remote meter Reading',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Meter-ID>XXE0XXXXXX</Meter-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>1</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><no_ack>0</no_ack><pulse_acc>0</pulse_acc>\r<meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(72,'PIPE20WQP','GATEWAY NBIoT MBUS PH-ORP-CL-TEMP IP68 10BAR',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>1</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(68,'PIPE20WMBUS','PIPE22W WMBUS 50',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>#serial_number#</Gateway-SN><Meter-ID/><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><counter_factor>1</counter_factor><pulse_on>0</pulse_on><k1_factor>1</k1_factor><k2_factor>1</k2_factor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(69,'PIPE20PMB','GATEWAY NBIoT M-BUS 76Ah IP68 10BAR',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>#serial_number#</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V05.14</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>1</sensor_log><reset_time></reset_time><pressure_meter_id>#iddeviceRIGHT8#</pressure_meter_id><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>180</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>0</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (#value# + 0.2176)/0.2943, 3, \".\", \"\" );</sensor_1_value_convert></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'{\"Gateway-ID\":\"Gateway Id\",\"apn\":\"APN\",\"server\":\"Server\",\"release_assistance\":\"Release Assistance\",\"fwupdate\":\"Firmware Update\",\"firmware_version\":\"Firmware Version\",\"local_port\":\"Local Port\",\"reed_activation\":\"Reed Activation\",\"delete_memory\":\"Delete Memory\",\"reset_meters\":\"Reset Statistical Meters\",\"sport\":\"port\",\"Middleware-ID\":\"Middleware Id\",\"reset_time\":\"time_reset\",\"max_dtlog_msgs\":\"max_datalogger_msgs\",\"max_dtlog_size\":\"max_datalogger_size\"}','<parameters_BUS></parameters_BUS>'),(70,'PIPE20WQ','GATEWAY NBIoT WQ PH-ORP-CL-TEMP IP68',1,1,5,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>1</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>10</k2_factor><wq>1</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><Middleware-ID>XXE0XXXXXX</Middleware-ID><sensor>0</sensor><sync_read>0</sync_read><rt1>7,8,5</rt1><rt2>8,9,5</rt2><rt3>9,10,10</rt3><rt4>10,14,15</rt4><rt5>14,18,60</rt5><rt6>18,21,15</rt6><rt7>21,23,60</rt7><rt8>23,0,15</rt8><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><MODBUS_device_type>2</MODBUS_device_type>\r         	<IMEI_iddevice>1</IMEI_iddevice>\r         	<udp_device>1</udp_device>\r             <ENDPOINT_sensor_send>0</ENDPOINT_sensor_send>\r         	   <ENDPOINT_sensor_type>2</ENDPOINT_sensor_type>\r             <ENDPOINT_sensor_URL>http://pocmdmwater.westeurope.cloudapp.azure.com/OUM_MDM/services/rest/measures/addData</ENDPOINT_sensor_URL>\r             <ENDPOINT_sensor_METHOD>POST</ENDPOINT_sensor_METHOD>\r             <ENDPOINT_sensor_HEADERS>{\"Content-Type\":\"application/json\",\"Authorization\":\"Basic ZGF0YWtvcnVtOkRhdGFrb3J1bTEyMw==\"}</ENDPOINT_sensor_HEADERS>\r             <ENDPOINT_sensor_BODY>{\"timestamp\": \"#value_last_date#\", \"messageId\": \"1\", \"source\": \"DATAKORUM\", \"meterReadingList\": [{ \"endDevice\": \"109022780\", \"readingsList\": [{ \"timeStamp\": \"#value_last_date#\", \"value\": \"#sensor1#\", \"readingType\": \"PRESSURE\" }]}] }</ENDPOINT_sensor_BODY>\r             <xENDPOINT_sensor_BODY>{\"timestamp\": \"#date#\", \"messageId\": \"1\", \"source\": \"DATAKORUM\", \"meterReadingList\": [{ \"endDevice\": \"109022780\", \"readingsList\": [{ \"timeStamp\": \"#date#\", \"value\": \"#sensor1#\", \"readingType\": \"PRESSURE\" }, { \"timeStamp\": \"#date#\", \"value\": \"#sensor6#\", \"readingType\": \"PULSE\" }]}] }</xENDPOINT_sensor_BODY>\r             <ENDPOINT_sensor_format>{ \"strtotime\": \"0\" }</ENDPOINT_sensor_format>\r             <ENDPOINT_frame_send>1</ENDPOINT_frame_send>\r         	   <ENDPOINT_frame_type>2</ENDPOINT_frame_type>\r             <ENDPOINT_frame_URL>http://pocmdmwater.westeurope.cloudapp.azure.com/OUM_MDM/services/rest/measures/addData</ENDPOINT_frame_URL>\r             <ENDPOINT_frame_METHOD>POST</ENDPOINT_frame_METHOD>\r             <ENDPOINT_frame_HEADERS>{\"Content-Type\":\"application/json\",\"Authorization\":\"Basic ZGF0YWtvcnVtOkRhdGFrb3J1bTEyMw==\"}</ENDPOINT_frame_HEADERS>\r             <ENDPOINT_frame_BODY>{\"timestamp\": \"#date#\", \"messageId\": \"1\", \"source\": \"DATAKORUM\", \"meterReadingList\": [{ \"endDevice\": \"109022780\", \"readingsList\": [{ \"timeStamp\": \"#date#\", \"value\": \"#5#\", \"readingType\": \"PH\" }, { \"timeStamp\": \"#date#\", \"value\": \"#6#\", \"readingType\": \"REDOX\" }, { \"timeStamp\": \"#date#\", \"value\": \"#1#\", \"readingType\": \"TEMPERATURE\" } ]}] }</ENDPOINT_frame_BODY>\r             <ENDPOINT_frame_format>{ \"strtotime\": \"0\" }</ENDPOINT_frame_format>\r             <ENDPOINT_sensor_MQTT_server>afalcolea.duckdns.org</ENDPOINT_sensor_MQTT_server>\r             <ENDPOINT_sensor_MQTT_port>1883</ENDPOINT_sensor_MQTT_port>\r             <ENDPOINT_sensor_MQTT_clientid>Datakorum</ENDPOINT_sensor_MQTT_clientid>\r             <ENDPOINT_sensor_MQTT_user>mqttlab</ENDPOINT_sensor_MQTT_user>\r             <ENDPOINT_sensor_MQTT_pass>Mqttuser@1</ENDPOINT_sensor_MQTT_pass>\r             <ENDPOINT_sensor_MQTT_topic>mqttchannel</ENDPOINT_sensor_MQTT_topic>\r             <ENDPOINT_meter_send>0</ENDPOINT_meter_send>\r         	   <ENDPOINT_meter_type>1</ENDPOINT_meter_type>\r             <ENDPOINT_meter_URL>https://admin.datakorum.app/dataEndpoint_restws/meter</ENDPOINT_meter_URL>\r             <ENDPOINT_meter_METHOD>POST</ENDPOINT_meter_METHOD>\r         </descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS><parameters_modbus><wq>1</wq><MODBUS_dt>1</MODBUS_dt><modbus_speed>9600</modbus_speed><modbus_mode>1</modbus_mode><modbus_parity>2</modbus_parity><slave_id>0</slave_id><function>0</function><addr>0</addr><quantity>0</quantity><modbus_read>900</modbus_read><modbus_send>3600</modbus_send><modbus_set>1</modbus_set><modbus_num>1</modbus_num><modbus_warm_time>0</modbus_warm_time></parameters_modbus></parameters_BUS>'),(74,'PIPE20HUB','GATEWAY NBIoT WM-BUS HUB AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device>	<onetomany_device>1</onetomany_device>\n</descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(73,'PIPE20DUODLMB','GATEWAY NBIoT M-BUS/DLMS AC 100-240V',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>0</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>360</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>60</keepalive><meter_type>1</meter_type></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(75,'PIPE20_PULSES','GATEWAY NBIoT PULSES BO 19Ah IP67',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>#serial_number#</Gateway-SN><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>1</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send><ENDPOINT_sensor_type>4</ENDPOINT_sensor_type><ENDPOINT_sensor_sending_interval_minutes>15</ENDPOINT_sensor_sending_interval_minutes></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(76,'PIPE20_UNE','GATEWAY NBIoT UNE BO 19Ah IP67',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(77,'PIPE20_AC','GATEWAY NBIoT M-BUS AC 100-240V',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(78,'PIPE20L_MODBUS','GATEWAY NBIoT MODBUS BO 38Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(79,'PIPE20L_PULSES','GATEWAY NBIoT PULSES BO 38Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>#serial_number#</Gateway-SN><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>1</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send><ENDPOINT_sensor_type>4</ENDPOINT_sensor_type><ENDPOINT_sensor_sending_interval_minutes>15</ENDPOINT_sensor_sending_interval_minutes></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(80,'PIPE20L_UNE','GATEWAY NBIoT UNE BO 38Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(81,'PIPE20XLMB','GATEWAY NBIoT M-BUS BO 76Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time></reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>8</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><MBUS_device_type>0</MBUS_device_type></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(82,'PIPE20XL_MODBUS','GATEWAY NBIoT MODBUS BO 76Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>#serial_number#</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><pressure_meter_id>#iddeviceRIGHT8#</pressure_meter_id><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V05.14</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1000</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>0</sensor_log><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>180</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(83,'PIPE20XL_PULSES','GATEWAY NBIoT PULSES BO 76Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>#serial_number#</Gateway-SN><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>1</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send><ENDPOINT_sensor_type>4</ENDPOINT_sensor_type><ENDPOINT_sensor_sending_interval_minutes>15</ENDPOINT_sensor_sending_interval_minutes></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(84,'PIPE20XL_UNE','GATEWAY NBIoT UNE BO 76Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(85,'PIPE20XL_AC','GATEWAY NBIoT MBUS 110-240 AC IP68',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><MBUS_device_type>0</MBUS_device_type></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(86,'PIPE20P_MODBUS','GATEWAY NBIoT MODBUS BO 76Ah IP68 10BAR',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>#serial_number#</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><pressure_meter_id>#iddeviceRIGHT8#</pressure_meter_id><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V05.14</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1000</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>0</sensor_log><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>180</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>0</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (#value# + 0.2176)/0.2943, 3, \".\", \"\" );</sensor_1_value_convert></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'{\"Gateway-ID\":\"Gateway Id\",\"apn\":\"APN\",\"server\":\"Server\",\"release_assistance\":\"Release Assistance\",\"fwupdate\":\"Firmware Update\",\"firmware_version\":\"Firmware Version\",\"local_port\":\"Local Port\",\"reed_activation\":\"Reed Activation\",\"delete_memory\":\"Delete Memory\",\"reset_meters\":\"Reset Statistical Meters\",\"sport\":\"port\",\"Middleware-ID\":\"Middleware Id\",\"reset_time\":\"time_reset\",\"max_dtlog_msgs\":\"max_datalogger_msgs\",\"max_dtlog_size\":\"max_datalogger_size\"}','<parameters_BUS></parameters_BUS>'),(87,'PIPE20P_PULSES','GATEWAY NBIoT PULSES BO 76Ah IP68 10BAR',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>#serial_number#</Gateway-SN><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>1</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>0</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (#value# + 0.2176)/0.2943, 3, \".\", \"\" );</sensor_1_value_convert><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send><ENDPOINT_sensor_type>4</ENDPOINT_sensor_type><ENDPOINT_sensor_sending_interval_minutes>15</ENDPOINT_sensor_sending_interval_minutes></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'{\"Gateway-ID\":\"Gateway Id\",\"apn\":\"APN\",\"server\":\"Server\",\"release_assistance\":\"Release Assistance\",\"fwupdate\":\"Firmware Update\",\"firmware_version\":\"Firmware Version\",\"local_port\":\"Local Port\",\"reed_activation\":\"Reed Activation\",\"delete_memory\":\"Delete Memory\",\"reset_meters\":\"Reset Statistical Meters\",\"sport\":\"port\",\"Middleware-ID\":\"Middleware Id\",\"reset_time\":\"time_reset\",\"max_dtlog_msgs\":\"max_datalogger_msgs\",\"max_dtlog_size\":\"max_datalogger_size\"}','<parameters_BUS></parameters_BUS>'),(88,'PIPE20P_UNE','GATEWAY NBIoT UNE BO 76Ah IP68 10BAR',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>#serial_number#</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><pressure_meter_id>#iddeviceRIGHT8#</pressure_meter_id><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V05.14</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1000</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>0</sensor_log><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>180</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>0</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (#value# + 0.2176)/0.2943, 3, \".\", \"\" );</sensor_1_value_convert></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'{\"Gateway-ID\":\"Gateway Id\",\"apn\":\"APN\",\"server\":\"Server\",\"release_assistance\":\"Release Assistance\",\"fwupdate\":\"Firmware Update\",\"firmware_version\":\"Firmware Version\",\"local_port\":\"Local Port\",\"reed_activation\":\"Reed Activation\",\"delete_memory\":\"Delete Memory\",\"reset_meters\":\"Reset Statistical Meters\",\"sport\":\"port\",\"Middleware-ID\":\"Middleware Id\",\"reset_time\":\"time_reset\",\"max_dtlog_msgs\":\"max_datalogger_msgs\",\"max_dtlog_size\":\"max_datalogger_size\"}','<parameters_BUS></parameters_BUS>'),(89,'PIPE20_THERMISTOR_TEMP','GATEWAY NBIoT IP68 BO',1,1,0,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1000</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>1</snbpower><rt_period>0</rt_period><st_period>15</st_period><period>1</period><Middleware-ID>XXE0XXXXXX</Middleware-ID><sensor>0</sensor><sync_read>0</sync_read><sensor_log>1</sensor_log><low_pressure_alarm>-16.8</low_pressure_alarm><overpressure_alarm>132.7</overpressure_alarm><rt1>7,8,5</rt1><rt2>8,9,5</rt2><rt3>9,10,10</rt3><rt4>10,14,15</rt4><rt5>14,18,60</rt5><rt6>18,21,15</rt6><rt7>21,23,60</rt7><rt8>23,0,15</rt8><reset_time></reset_time><timeout_connection>40</timeout_connection><retries_socket>3</retries_socket><timeout_server>20</timeout_server><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><offset_temp>6.5</offset_temp></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\n    power_active_avg, power_active_min, power_active_max,\n    current_avg, current_min, current_max,\n    input1_avg, input1_min, input1_max,\n    input2_avg, input2_min, input2_max,\n    input3_avg, input3_min, input3_max,\n    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(90,'PIPE20RT_MODBUS','GATEWAY NBIoT MQTT MODBUS BO 19Ah',1,1,5,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time></reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors>\r\n  <MODBUS_device_type>6</MODBUS_device_type>\r\n  <IMEI_iddevice>1</IMEI_iddevice>\r\n  <udp_device>1</udp_device>\r\n  <read_delay>300</read_delay>\n  <send_delay>300</send_delay>\r\n</descriptors>\r\n','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS><parameters_modbus><MODBUS_dt>1</MODBUS_dt><modbus_speed>9600</modbus_speed><modbus_mode>1</modbus_mode><modbus_parity>2</modbus_parity><slave_id>1</slave_id><function>4,4,4,4,4,4,4,4,4,4,4,0,6,6,6,16,6,6,16,16</function><addr>0,59,14,16,42,88,19,2100,699,701,726,0,100,112,114,117,131,166,504,1015</addr><quantity>8,1,1,1,1,1,4,2,1,2,1,0,1,1,1,2,1,1,2,3</quantity><modbus_read>30</modbus_read><modbus_send>30</modbus_send><modbus_set>1</modbus_set><modbus_num>1</modbus_num><modbus_warm_time>0</modbus_warm_time></parameters_modbus></parameters_BUS>'),(91,'LANE20','LANE20',6,1,12,0,0,0,'0.0','<parameters><apn_name>e3tcity.movistar.es</apn_name><apn_user>MOVISTAR</apn_user><apn_pass>MOVISTAR</apn_pass><apn_title>MOVISTAR</apn_title><keepalive>60</keepalive><dl_freq_calc>2</dl_freq_calc><dl_freq_send>2</dl_freq_send><dl_calc_send>3</dl_calc_send><e_freq_calc>-1</e_freq_calc><e_freq_send>-1</e_freq_send><e_calc_send>-1</e_calc_send><meter_type>5</meter_type><dimmer_type>1</dimmer_type><meterparams_voltage_enable>1</meterparams_voltage_enable><meterparams_voltage_step>5</meterparams_voltage_step><meterparams_voltage_1_enable>1</meterparams_voltage_1_enable><meterparams_voltage_1_step>5</meterparams_voltage_1_step><meterparams_voltage_2_enable>1</meterparams_voltage_2_enable><meterparams_voltage_2_step>5</meterparams_voltage_2_step><meterparams_voltage_3_enable>1</meterparams_voltage_3_enable><meterparams_voltage_3_step>5</meterparams_voltage_3_step><meterparams_current_enable>0</meterparams_current_enable><meterparams_current_step>1</meterparams_current_step><meterparams_current_1_enable>0</meterparams_current_1_enable><meterparams_current_1_step>1</meterparams_current_1_step><meterparams_current_2_enable>0</meterparams_current_2_enable><meterparams_current_2_step>1</meterparams_current_2_step><meterparams_current_3_enable>0</meterparams_current_3_enable><meterparams_current_3_step>1</meterparams_current_3_step><meterparams_poweractive_enable>1</meterparams_poweractive_enable><meterparams_poweractive_step>200</meterparams_poweractive_step><meterparams_poweractive_1_enable>1</meterparams_poweractive_1_enable><meterparams_poweractive_1_step>200</meterparams_poweractive_1_step><meterparams_poweractive_2_enable>1</meterparams_poweractive_2_enable><meterparams_poweractive_2_step>200</meterparams_poweractive_2_step><meterparams_poweractive_3_enable>1</meterparams_poweractive_3_enable><meterparams_poweractive_3_step>200</meterparams_poweractive_3_step><meterparams_powerreactive_enable>0</meterparams_powerreactive_enable><meterparams_powerreactive_step>1</meterparams_powerreactive_step><meterparams_powerreactive_1_enable>0</meterparams_powerreactive_1_enable><meterparams_powerreactive_1_step>1</meterparams_powerreactive_1_step><meterparams_powerreactive_2_enable>0</meterparams_powerreactive_2_enable><meterparams_powerreactive_2_step>1</meterparams_powerreactive_2_step><meterparams_powerreactive_3_enable>0</meterparams_powerreactive_3_enable><meterparams_powerreactive_3_step>1</meterparams_powerreactive_3_step><meterparams_energyactive_enable>0</meterparams_energyactive_enable><meterparams_energyactive_step>1</meterparams_energyactive_step><meterparams_energyactive_3ph_enable>0</meterparams_energyactive_3ph_enable><meterparams_energyactive_3ph_step>1</meterparams_energyactive_3ph_step><meterparams_energyreactive_enable>0</meterparams_energyreactive_enable><meterparams_energyreactive_step>1</meterparams_energyreactive_step><meterparams_energyreactive_3ph_enable>0</meterparams_energyreactive_3ph_enable><meterparams_energyreactive_3ph_step>1</meterparams_energyreactive_3ph_step><i1_n>1</i1_n><i1_enable>1</i1_enable><i1_type>0</i1_type><i1_min>0</i1_min><i1_step>10</i1_step><i1_max>2500</i1_max><i1_mcc>3</i1_mcc><i2_n>2</i2_n><i2_enable>1</i2_enable><i2_type>0</i2_type><i2_min>0</i2_min><i2_step>10</i2_step><i2_max>2500</i2_max><i2_mcc>3</i2_mcc><i3_n>3</i3_n><i3_enable>1</i3_enable><i3_type>0</i3_type><i3_min>0</i3_min><i3_step>10</i3_step><i3_max>2500</i3_max><i3_mcc>3</i3_mcc><i4_n>4</i4_n><i4_enable>1</i4_enable><i4_type>0</i4_type><i4_min>0</i4_min><i4_step>10</i4_step><i4_max>2500</i4_max><i4_mcc>3</i4_mcc><i5_n>5</i5_n><i5_enable>1</i5_enable><i5_type>0</i5_type><i5_min>0</i5_min><i5_step>10</i5_step><i5_max>2500</i5_max><i5_mcc>1</i5_mcc><i6_n>6</i6_n><i6_enable>1</i6_enable><i6_type>0</i6_type><i6_min>0</i6_min><i6_step>10</i6_step><i6_max>2500</i6_max><i6_mcc>1</i6_mcc><o1_n>1</o1_n><o1_type>0</o1_type><o1_idmode>0</o1_idmode><o1_idstatus>0</o1_idstatus><o1_dimmer>100</o1_dimmer><e1_n>1</e1_n><e1_enable>0</e1_enable><e1_type>0</e1_type><e1_sensor>0</e1_sensor><e1_p1>0</e1_p1><e1_p2>0</e1_p2><e1_p3>0</e1_p3><e1_p4>0</e1_p4><e1_p5>0</e1_p5><e2_n>2</e2_n><e2_enable>0</e2_enable><e2_type>0</e2_type><e2_sensor>0</e2_sensor><e2_p1>0</e2_p1><e2_p2>0</e2_p2><e2_p3>0</e2_p3><e2_p4>0</e2_p4><e2_p5>0</e2_p5><e3_n>3</e3_n><e3_enable>0</e3_enable><e3_type>0</e3_type><e3_sensor>0</e3_sensor><e3_p1>0</e3_p1><e3_p2>0</e3_p2><e3_p3>0</e3_p3><e3_p4>0</e3_p4><e3_p5>0</e3_p5><e4_n>4</e4_n><e4_enable>0</e4_enable><e4_type>0</e4_type><e4_sensor>0</e4_sensor><e4_p1>0</e4_p1><e4_p2>0</e4_p2><e4_p3>0</e4_p3><e4_p4>0</e4_p4><e4_p5>0</e4_p5><e5_n>5</e5_n><e5_enable>0</e5_enable><e5_type>0</e5_type><e5_sensor>0</e5_sensor><e5_p1>0</e5_p1><e5_p2>0</e5_p2><e5_p3>0</e5_p3><e5_p4>0</e5_p4><e5_p5>0</e5_p5><e6_n>6</e6_n><e6_enable>0</e6_enable><e6_type>0</e6_type><e6_sensor>0</e6_sensor><e6_p1>0</e6_p1><e6_p2>0</e6_p2><e6_p3>0</e6_p3><e6_p4>0</e6_p4><e6_p5>0</e6_p5><reset_cloud>4</reset_cloud><reset_work_hours>20</reset_work_hours><reset_forced>30</reset_forced><MQTT_server>172.31.37.81</MQTT_server><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors></descriptors>','<display_options><consumption>1</consumption><threephase>1</threephase><monophase>1</monophase><consumption_show>voltage;current;power_active;power_reactive;voltage1;voltage2;voltage3;current1;current2;current3;power_active1;power_active2;power_active3;power_reactive1;power_reactive2;power_reactive3;energy;energy_3phase;energy_reactive;energy_reactive_3phase;power_factor;power_factor1;power_factor2;power_factor3;power_factor_total;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10</consumption_show><dashboard_sections>1111111011</dashboard_sections>\n<input1>\n<idinput_type>20</idinput_type><input_type>Standard Sensor</input_type>\n<unit/>\n<unit_abbreviation/>\n<divisor>1</divisor>\n<decimals>2</decimals>\n<colour>info</colour>\n<max>500</max>\n<perc_sens>2</perc_sens>\n<sensibility>2</sensibility>\n<measure_enabled>1</measure_enabled><show_grouped>0</show_grouped>\n</input1>\n<input2>\n<idinput_type>20</idinput_type><input_type>Standard Sensor</input_type>\n<unit/>\n<unit_abbreviation/>\n<divisor>1</divisor>\n<decimals>2</decimals>\n<colour>info</colour>\n<max>500</max>\n<perc_sens>2</perc_sens>\n<sensibility>2</sensibility>\n<measure_enabled>1</measure_enabled><show_grouped>0</show_grouped>\n</input2>\n<input3>\n<idinput_type>20</idinput_type><input_type>Standard Sensor</input_type>\n<unit/>\n<unit_abbreviation/>\n<divisor>1</divisor>\n<decimals>2</decimals>\n<colour>info</colour>\n<max>500</max>\n<perc_sens>2</perc_sens>\n<sensibility>2</sensibility>\n<measure_enabled>1</measure_enabled><show_grouped>0</show_grouped>\n</input3>\n<input4>\n<idinput_type>20</idinput_type><input_type>Standard Sensor</input_type>\n<unit/>\n<unit_abbreviation/>\n<divisor>1</divisor>\n<decimals>2</decimals>\n<colour>info</colour>\n<max>500</max>\n<perc_sens>2</perc_sens>\n<sensibility>2</sensibility>\n<measure_enabled>1</measure_enabled><show_grouped>0</show_grouped>\n</input4>\n<input5>\n<idinput_type>20</idinput_type><input_type>Standard Sensor</input_type>\n<unit/>\n<unit_abbreviation/>\n<divisor>1</divisor>\n<decimals>2</decimals>\n<colour>info</colour>\n<max>500</max>\n<perc_sens>2</perc_sens>\n<sensibility>2</sensibility>\n<measure_enabled>1</measure_enabled><show_grouped>0</show_grouped>\n</input5>\n<input6>\n<idinput_type>20</idinput_type><input_type>Standard Sensor</input_type>\n<unit/>\n<unit_abbreviation/>\n<divisor>1</divisor>\n<decimals>2</decimals>\n<colour>info</colour>\n<max>500</max>\n<perc_sens>2</perc_sens>\n<sensibility>2</sensibility>\n<measure_enabled>1</measure_enabled><show_grouped>0</show_grouped>\n</input6>\n</display_options>',0.05,'lb40',1,1,1,1,0,'date,type,energy,switching_on,switch_on_time,connected_time,disconnections,power_active_avg,power_active_min,power_active_max,power_reactive_avg,power_reactive_min,power_reactive_max,power_factor_avg,power_factor_min,power_factor_max,voltage_avg,voltage_min,voltage_max,current_avg,current_min,current_max,input1_avg,input1_min,input1_max,input2_avg,input2_min,input2_max,input3_avg,input3_min,input3_max,input4_avg,input4_min,input4_max,input5_avg,input5_min,input5_max,input6_avg,input6_min,input6_max,input7_avg,input7_min,input7_max,input8_avg,input8_min,input8_max,input9_avg,input9_min,input9_max,input10_avg,input10_min,input10_max,power_active1_avg,power_active1_min,power_active1_max,power_reactive1_avg,power_reactive1_min,power_reactive1_max,power_factor1_avg,power_factor1_min,power_factor1_max,voltage1_avg,voltage1_min,voltage1_max,current1_avg,current1_min,current1_max,power_active2_avg,power_active2_min,power_active2_max,power_reactive2_avg,power_reactive2_min,power_reactive2_max,power_factor2_avg,power_factor2_min,power_factor2_max,voltage2_avg,voltage2_min,voltage2_max,current2_avg,current2_min,current2_max,power_active3_avg,power_active3_min,power_active3_max,power_reactive3_avg,power_reactive3_min,power_reactive3_max,power_factor3_avg,power_factor3_min,power_factor3_max,voltage3_avg,voltage3_min,voltage3_max,current3_avg,current3_min,current3_max,energy_3phase,energy_reactive_3phase,power_active_3phase_avg,power_active_3phase_min,power_active_3phase_max,power_reactive_3phase_avg,power_reactive_3phase_min,power_reactive_3phase_max,power_factor_3phase_avg,power_factor_3phase_min,power_factor_3phase_max,current_3phase_avg,current_3phase_min,current_3phase_max,THD_3phase_avg,THD_3phase_min,THD_3phase_max,THD1_avg,THD1_min,THD1_max,THD2_avg,THD2_min,THD2_max,THD3_avg,THD3_min,THD3_max,modbus_idslave','iddevice;date;switch_on_time;switching_on;voltage;voltage1;voltage2;voltage3;current;current1;current2;current3;power_active;power_active1;power_active2;power_active3;power_reactive;power_reactive1;power_reactive2;power_reactive3;energy;energy_3phase;energy_reactive;energy_reactive_3phase;power_factor;power_factor1;power_factor2;power_factor3;power_factor_total;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10','date;idtrigger_type;idmode;idstatus;dimmer;voltage;current;power_active;power_reactive;power_factor;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;voltage1;current1;power_active1;power_reactive1;power_factor1;voltage2;current2;power_active2;power_reactive2;power_factor2;voltage3;current3;power_active3;power_reactive3;power_factor3;power_factor_total',1,'34.248.252.126',1,NULL,1,NULL,NULL,NULL,NULL,'<parameters_BUS></parameters_BUS>'),(92,'PIPE20XL_SEVERN_TRENT','GATEWAY NBIoT SEVERN TRENT BO 76Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><reset_time></reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>8</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>2</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(93,'PIPE20W','GATEWAY NBIoT PULSES BO 19Ah IP67',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>#serial_number#</Gateway-SN><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send><ENDPOINT_sensor_type>4</ENDPOINT_sensor_type><ENDPOINT_sensor_sending_interval_minutes>15</ENDPOINT_sensor_sending_interval_minutes></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS><parameters_dlms><dlms_enable>1</dlms_enable><dlms_read>900</dlms_read><dlms_send>900</dlms_send><dlms_cl_address>17</dlms_cl_address><dlms_logical_address>1</dlms_logical_address><dlms_srv_address>27</dlms_srv_address><dlms_short_name_ref>0</dlms_short_name_ref><dlms_pass_level>1</dlms_pass_level><dlms_pass_is_hex>0</dlms_pass_is_hex><dlms_billingday>1</dlms_billingday><dlms_baudrate>9600</dlms_baudrate><dlms_authen_pass>22222222</dlms_authen_pass><dlms_obis_1>1.1.1.8.0.255</dlms_obis_1><dlms_obis_2>1.1.2.8.0.255</dlms_obis_2><dlms_obis_3>1.1.32.7.0.255</dlms_obis_3><dlms_obis_4>1.1.31.7.0.255</dlms_obis_4><dlms_obis_5>1.1.21.7.0.255</dlms_obis_5><dlms_obis_6>1.1.22.7.0.255</dlms_obis_6><dlms_obis_7>1.1.3.8.0.255</dlms_obis_7><dlms_obis_8></dlms_obis_8><dlms_obis_9></dlms_obis_9><dlms_obis_16>1.0.99.1.0.255</dlms_obis_16><dlms_obis_17>0.0.98.1.0.255</dlms_obis_17><dlms_obis_18>0.0.99.98.0.255</dlms_obis_18><dlms_obis_19>0.0.42.0.0.255</dlms_obis_19></parameters_dlms></parameters_BUS>'),(94,'PIPE20E','GATEWAY NBIoT Energy IP68 AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID>00002920</Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>10</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>15</st_period><period>1</period><Middleware-ID>19E0012920</Middleware-ID><sensor>0</sensor><reset_time></reset_time><timeout_connection>600</timeout_connection><retries_socket>3</retries_socket><timeout_server>90</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sync_read>1</sync_read><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>7,8,5</rt1><rt2>8,9,5</rt2><rt3>9,10,10</rt3><rt4>10,14,15</rt4><rt5>14,18,60</rt5><rt6>18,21,15</rt6><rt7>21,23,60</rt7><rt8>23,0,15</rt8><overpressure_alarm/><low_pressure_alarm/><modbus_read>0</modbus_read><modbus_send>0</modbus_send><mqtt_dc_on>1</mqtt_dc_on><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n ',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS><parameters_dlms><dlms_enable>1</dlms_enable><dlms_read>900</dlms_read><dlms_send>900</dlms_send><dlms_cl_address>100</dlms_cl_address><dlms_srv_address>145</dlms_srv_address><dlms_authen_pass>12345678</dlms_authen_pass><dlms_obis_1>1.0.1.8.0.255</dlms_obis_1><dlms_obis_2>1.0.2.8.0.255</dlms_obis_2><dlms_obis_3>1.0.1.7.0.255</dlms_obis_3><dlms_obis_4>1.0.32.7.0.255</dlms_obis_4><dlms_obis_5>1.0.52.7.0.255</dlms_obis_5><dlms_obis_6>1.0.72.7.0.255</dlms_obis_6><dlms_obis_7>1.0.31.7.0.255</dlms_obis_7><dlms_obis_8>1.0.51.7.0.255</dlms_obis_8><dlms_obis_9>1.0.71.7.0.255</dlms_obis_9><dlms_obis_10>1.0.3.8.0.255</dlms_obis_10><dlms_obis_11>1.0.4.8.0.255</dlms_obis_11><dlms_obis_12>1.0.2.7.0.255</dlms_obis_12><dlms_obis_13>1.0.3.7.0.255</dlms_obis_13><dlms_obis_14>1.0.4.7.0.255</dlms_obis_14></parameters_dlms></parameters_BUS>'),(124,'PIPE20PMBMDAC','GATEWAY NBIoT MBUS/MODBUS AC 100-240V IP68 10BAR ',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>#serial_number#</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><pressure_meter_id>#iddeviceRIGHT8#</pressure_meter_id><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V05.14</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1000</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>0</sensor_log><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>180</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>0</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (#value# + 0.2176)/0.2943, 3, \".\", \"\" );</sensor_1_value_convert></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'{\"Gateway-ID\":\"Gateway Id\",\"apn\":\"APN\",\"server\":\"Server\",\"release_assistance\":\"Release Assistance\",\"fwupdate\":\"Firmware Update\",\"firmware_version\":\"Firmware Version\",\"local_port\":\"Local Port\",\"reed_activation\":\"Reed Activation\",\"delete_memory\":\"Delete Memory\",\"reset_meters\":\"Reset Statistical Meters\",\"sport\":\"port\",\"Middleware-ID\":\"Middleware Id\",\"reset_time\":\"time_reset\",\"max_dtlog_msgs\":\"max_datalogger_msgs\",\"max_dtlog_size\":\"max_datalogger_size\"}','<parameters_BUS></parameters_BUS>'),(127,'PIPE20HUBWM','GATEWAY NBIoT WIRELESS M-BUS AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>60</rt_period><st_period>60</st_period><reset_time></reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>3595</timeout_connection><mbus_baudrate>9600</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>4</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>0</mbus_num><mbus_add></mbus_add><mbus_key></mbus_key><synch_meters>0</synch_meters><slow_meter>1</slow_meter><mbus_frame>240</mbus_frame><wmbus_counter>160</wmbus_counter><loglive_level>1</loglive_level><type_comm>0</type_comm></parameters>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'\'ICC;IMEI;IMSI;RSSI(dBm);RSRQ(dB);RSRP(dBm);CSQ;PCI;SINR(dB);TX POWER(dBm);Cell Id;BND\'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(123,'PIPE20PMBMD','GATEWAY NBIoT MBUS/MODBUS BO 76Ah IP68 10BAR ',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>#serial_number#</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><pressure_meter_id>#iddeviceRIGHT8#</pressure_meter_id><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V05.14</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1000</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>0</sensor_log><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>180</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>0</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (#value# + 0.2176)/0.2943, 3, \".\", \"\" );</sensor_1_value_convert></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'{\"Gateway-ID\":\"Gateway Id\",\"apn\":\"APN\",\"server\":\"Server\",\"release_assistance\":\"Release Assistance\",\"fwupdate\":\"Firmware Update\",\"firmware_version\":\"Firmware Version\",\"local_port\":\"Local Port\",\"reed_activation\":\"Reed Activation\",\"delete_memory\":\"Delete Memory\",\"reset_meters\":\"Reset Statistical Meters\",\"sport\":\"port\",\"Middleware-ID\":\"Middleware Id\",\"reset_time\":\"time_reset\",\"max_dtlog_msgs\":\"max_datalogger_msgs\",\"max_dtlog_size\":\"max_datalogger_size\"}','<parameters_BUS></parameters_BUS>'),(115,'PIPE20DUOEUMB','GATEWAY NBIoT M-BUS/EURIDIS AC 100-240V',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>1</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>360</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>10</keepalive><type_comm>1</type_comm><meter_type>1</meter_type></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'46.51.135.242',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS>\r\n	<parameters_dlms>\r\n		<dlms_enable>1</dlms_enable>\r\n                <dlms_is_euridis>1</dlms_is_euridis>\r\n		<dlms_read>900</dlms_read>\r\n		<dlms_send>900</dlms_send>\r\n		<dlms_clients>\r\n			<number>1</number>\r\n			<dlms_srv_address>17</dlms_srv_address>\r\n			<connection_configs_items>0</connection_configs_items>\r\n			<dlms_profiles_configs_items>0</dlms_profiles_configs_items>\r\n		</dlms_clients>\r\n                <connection_configs>\r\n			<dlms_logical_address>1</dlms_logical_address>\r\n                        <dlms_cl_address>100</dlms_cl_address>\r\n			<dlms_baudrate>9600</dlms_baudrate>\r\n			<dlms_short_name_ref>0</dlms_short_name_ref>\r\n			<dlms_pass_level>1</dlms_pass_level>\r\n			<dlms_authen_pass>12345678</dlms_authen_pass>\r\n			<dlms_pass_is_hex>0</dlms_pass_is_hex>\r\n			<dlms_billingday>31</dlms_billingday>\r\n                </connection_configs>\r\n                <dlms_profiles_configs>\r\n			<dlms_profiles>\r\n				<profile_type>0</profile_type>\r\n				<prof_read>900</prof_read>\r\n				<prof_send>900</prof_send>\r\n				<dlms_obis_1>1.0.1.8.0.255</dlms_obis_1>\r\n				<dlms_obis_2>1.0.2.8.0.255</dlms_obis_2>\r\n				<dlms_obis_3>1.0.1.7.0.255</dlms_obis_3>\r\n				<dlms_obis_4>1.0.32.7.0.255</dlms_obis_4>\r\n				<dlms_obis_5>1.0.52.7.0.255</dlms_obis_5>\r\n				<dlms_obis_19>0.0.42.0.0.255</dlms_obis_19>\r\n			</dlms_profiles>\r\n			<dlms_profiles>\r\n				<profile_type>8</profile_type>\r\n				<dlms_obis_generic_read>900</dlms_obis_generic_read>\r\n				<dlms_obis_generic_send>900</dlms_obis_generic_send>\r\n				<dlms_obis_generic>1.0.99.2.0.255</dlms_obis_generic>\r\n			</dlms_profiles>\r\n			<dlms_profiles>\r\n				<profile_type>12</profile_type>\r\n				<dlms_obis_generic_read>900</dlms_obis_generic_read>\r\n				<dlms_obis_generic_send>900</dlms_obis_generic_send>\r\n				<dlms_obis_generic>1.0.98.1.0.255</dlms_obis_generic>\r\n			</dlms_profiles>\r\n			<dlms_profiles>\r\n				<profile_type>13</profile_type>\r\n				<dlms_obis_generic_read>900</dlms_obis_generic_read>\r\n				<dlms_obis_generic_send>900</dlms_obis_generic_send>\r\n				<dlms_obis_generic>1.0.99.98.0.255</dlms_obis_generic>\r\n			</dlms_profiles>\r\n                  </dlms_profiles_configs>\r\n	</parameters_dlms>\r\n</parameters_BUS>'),(108,'PIPE20W_SEVERNTRENT','GATEWAY NBIoT SEVERN TRENT AC 100-240V',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time></reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>40</timeout_server><timeout_connection>500</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>2</meter_type><mqtt_dc_on>1</mqtt_dc_on><keepalive>60</keepalive></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS><parameters_modbus><MODBUS_dt>0</MODBUS_dt><modbus_speed>9600</modbus_speed><modbus_mode>0</modbus_mode><modbus_parity>0</modbus_parity><slave_id>1</slave_id><function>3</function><addr>4000</addr><quantity>36</quantity><modbus_read>0</modbus_read><modbus_send>0</modbus_send><modbus_set>1</modbus_set><modbus_num>1</modbus_num><modbus_warm_time>0</modbus_warm_time></parameters_modbus></parameters_BUS>'),(109,'PIPE20XLPULSES','GATEWAY NBIoT PULSES BO 76Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>#serial_number#</Gateway-SN><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>1</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(110,'PIPE20XLMBUS','GATEWAY NBIoT M-BUS BO 76Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time></reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(111,'PIPE20XLMODBUS','GATEWAY NBIoT MODBUS BO 76Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>30</timeout_server><reset_time></reset_time><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors>\r\n	<IMEI_iddevice>1</IMEI_iddevice>\r\n	<udp_device>1</udp_device>\r\n<MODBUS_device_type>13</MODBUS_device_type><parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields></descriptors>\r\n','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS><parameters_dlms><dlms_enable>1</dlms_enable><dlms_read>900</dlms_read><dlms_send>900</dlms_send><dlms_baudrate>9600</dlms_baudrate>\r\n<dlms_cl_address>1</dlms_cl_address><dlms_logical_address>1</dlms_logical_address><dlms_srv_address>17</dlms_srv_address><dlms_short_name_ref>0</dlms_short_name_ref><dlms_pass_level>0</dlms_pass_level><dlms_authen_pass>ABCDEFGH</dlms_authen_pass><dlms_pass_is_hex>0</dlms_pass_is_hex><dlms_billingday>11</dlms_billingday><dlms_obis_1>1.1.1.8.0.255</dlms_obis_1><dlms_obis_2>1.1.2.8.0.255</dlms_obis_2><dlms_obis_3>1.1.1.7.0.255</dlms_obis_3><dlms_obis_4>1.1.32.7.0.255</dlms_obis_4>\r\n<dlms_obis_5>1.1.52.7.0.255</dlms_obis_5><dlms_obis_6>1.1.72.7.0.255</dlms_obis_6><dlms_obis_7>1.1.31.7.0.255</dlms_obis_7><dlms_obis_8>1.1.51.7.0.255</dlms_obis_8>\r\n<dlms_obis_9>1.1.71.7.0.255</dlms_obis_9><dlms_obis_10>1.1.3.8.0.255</dlms_obis_10><dlms_obis_11>1.1.1.7.0.255</dlms_obis_11><dlms_obis_12>1.1.2.7.0.255</dlms_obis_12>\r\n<dlms_obis_16>1.0.99.1.0.255</dlms_obis_16><dlms_obis_17>1.0.98.1.0.126</dlms_obis_17><dlms_obis_18>1.0.99.98.0.255</dlms_obis_18><dlms_obis_19>0.0.42.0.0.255</dlms_obis_19></parameters_dlms></parameters_BUS>'),(112,'PIPE20S_PULSES','GATEWAY NBIoT PULSES BO 76Ah IP68 SENSOR',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>#serial_number#</Gateway-SN><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>1</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>0</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (10.487 * #value# + 0.1287), 3, \".\", \"\" );</sensor_1_value_convert><sensor_1_id>7</sensor_1_id> <ENDPOINT_sensor_send>0</ENDPOINT_sensor_send><ENDPOINT_sensor_type>4</ENDPOINT_sensor_type><ENDPOINT_sensor_sending_interval_minutes>15</ENDPOINT_sensor_sending_interval_minutes></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'{\"Gateway-ID\":\"Gateway Id\",\"apn\":\"APN\",\"server\":\"Server\",\"release_assistance\":\"Release Assistance\",\"fwupdate\":\"Firmware Update\",\"firmware_version\":\"Firmware Version\",\"local_port\":\"Local Port\",\"reed_activation\":\"Reed Activation\",\"delete_memory\":\"Delete Memory\",\"reset_meters\":\"Reset Statistical Meters\",\"sport\":\"port\",\"Middleware-ID\":\"Middleware Id\",\"reset_time\":\"time_reset\",\"max_dtlog_msgs\":\"max_datalogger_msgs\",\"max_dtlog_size\":\"max_datalogger_size\"}','<parameters_BUS></parameters_BUS>'),(113,'PIPE20HUBDL','GATEWAY NBIoT HUB DLMS AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>12,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V06.06</firmware_version><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID>MT372ACE6000</Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>1</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>120</rt_period><st_period>120</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>40</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>1800</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>10</keepalive><meter_type>1</meter_type><type_comm>0</type_comm><loglive_level>1</loglive_level></parameters>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'46.51.135.242',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(114,'PIPE20HUBEU','GATEWAY NBIoT HUB EURIDIS AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>1</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>120</rt_period><st_period>120</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>3600</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>10</keepalive><type_comm>0</type_comm><meter_type>1</meter_type><dlms_enable>1</dlms_enable> <dlms_is_euridis>1</dlms_is_euridis><dlms_read>7200</dlms_read><dlms_send>7200</dlms_send></parameters>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'46.51.135.242',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(116,'PIPE20XLMDAS','GATEWAY NBIoT MODBUS BO 76Ah IP68 SENSOR',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>FW800054CDE_PCBA_CPU_PIPE20_V06.07</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1000</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>15</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>1</sensor_log><reset_time/><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>40</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>180</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_1_value_convert>#value# = (float) number_format( (10.487 * #value# + 0.1287), 3, \".\", \"\" );</sensor_1_value_convert><sensor_1_id>7</sensor_1_id>\n</descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(117,'PIPE20EDL','GATEWAY NBIoT ENERGY DLMS AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>12,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V06.06</firmware_version><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID>MT372ACE6000</Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>1</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>120</rt_period><st_period>120</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>40</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>1800</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>10</keepalive><meter_type>1</meter_type><type_comm>0</type_comm><loglive_level>1</loglive_level></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'46.51.135.242',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(118,'PIPE20EEU','GATEWAY NBIoT ENERGY EURIDIS AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>1</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>120</rt_period><st_period>120</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>3600</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>10</keepalive><type_comm>0</type_comm><meter_type>1</meter_type><dlms_enable>1</dlms_enable> <dlms_is_euridis>1</dlms_is_euridis><dlms_read>7200</dlms_read><dlms_send>7200</dlms_send></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'46.51.135.242',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(126,'PIPE20HUBDLWM','GATEWAY NBIoT WIRELESS M-BUS DLMS AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>1</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>60</rt_period><st_period>60</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>9600</mbus_baudrate><timeout_connection>360</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>60</keepalive><meter_type>4</meter_type><mbus_num>0</mbus_num><mbus_add></mbus_add><mbus_key></mbus_key><synch_meters>0</synch_meters><slow_meter>1</slow_meter><mbus_frame>240</mbus_frame></parameters>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'46.51.135.242',1,'',1,'\'ICC;IMEI;IMSI;RSSI(dBm);RSRQ(dB);RSRP(dBm);CSQ;PCI;SINR(dB);TX POWER(dBm);Cell Id;BND\'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(132,'OMNI20EDL','GATEWAY NBIoT Electricity DLMS 1:1',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>12,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V06.06</firmware_version><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID>MT372ACE6000</Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>1</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>120</rt_period><st_period>120</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>40</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>1800</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>10</keepalive><meter_type>1</meter_type><type_comm>0</type_comm><loglive_level>1</loglive_level></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'46.51.135.242',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(121,'PIPE20DUODLST','GATEWAY NBIoT ST/DLMS AC 100-240V',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>0</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>360</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>60</keepalive><meter_type>2</meter_type></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(122,'PIPE20DUOEUST','GATEWAY NBIoT ST/EURIDIS AC 100-240V',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><period>1</period><sensor>0</sensor><sync_read>1</sync_read><sensor_log>1</sensor_log><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>360</timeout_connection><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><retries_server>3</retries_server><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>1</mqtt_dc_on><keepalive>10</keepalive><type_comm>1</type_comm><meter_type>2</meter_type></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'46.51.135.242',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS>\r\n	<parameters_dlms>\r\n		<dlms_enable>1</dlms_enable>\r\n                <dlms_is_euridis>1</dlms_is_euridis>\r\n		<dlms_read>900</dlms_read>\r\n		<dlms_send>900</dlms_send>\r\n		<dlms_clients>\r\n			<number>1</number>\r\n			<dlms_srv_address>17</dlms_srv_address>\r\n			<connection_configs_items>0</connection_configs_items>\r\n			<dlms_profiles_configs_items>0</dlms_profiles_configs_items>\r\n		</dlms_clients>\r\n                <connection_configs>\r\n			<dlms_logical_address>1</dlms_logical_address>\r\n                        <dlms_cl_address>100</dlms_cl_address>\r\n			<dlms_baudrate>9600</dlms_baudrate>\r\n			<dlms_short_name_ref>0</dlms_short_name_ref>\r\n			<dlms_pass_level>1</dlms_pass_level>\r\n			<dlms_authen_pass>12345678</dlms_authen_pass>\r\n			<dlms_pass_is_hex>0</dlms_pass_is_hex>\r\n			<dlms_billingday>31</dlms_billingday>\r\n                </connection_configs>\r\n                <dlms_profiles_configs>\r\n			<dlms_profiles>\r\n				<profile_type>0</profile_type>\r\n				<prof_read>900</prof_read>\r\n				<prof_send>900</prof_send>\r\n				<dlms_obis_1>1.0.1.8.0.255</dlms_obis_1>\r\n				<dlms_obis_2>1.0.2.8.0.255</dlms_obis_2>\r\n				<dlms_obis_3>1.0.1.7.0.255</dlms_obis_3>\r\n				<dlms_obis_4>1.0.32.7.0.255</dlms_obis_4>\r\n				<dlms_obis_5>1.0.52.7.0.255</dlms_obis_5>\r\n				<dlms_obis_19>0.0.42.0.0.255</dlms_obis_19>\r\n			</dlms_profiles>\r\n			<dlms_profiles>\r\n				<profile_type>8</profile_type>\r\n				<dlms_obis_generic_read>900</dlms_obis_generic_read>\r\n				<dlms_obis_generic_send>900</dlms_obis_generic_send>\r\n				<dlms_obis_generic>1.0.99.2.0.255</dlms_obis_generic>\r\n			</dlms_profiles>\r\n			<dlms_profiles>\r\n				<profile_type>12</profile_type>\r\n				<dlms_obis_generic_read>900</dlms_obis_generic_read>\r\n				<dlms_obis_generic_send>900</dlms_obis_generic_send>\r\n				<dlms_obis_generic>1.0.98.1.0.255</dlms_obis_generic>\r\n			</dlms_profiles>\r\n			<dlms_profiles>\r\n				<profile_type>13</profile_type>\r\n				<dlms_obis_generic_read>900</dlms_obis_generic_read>\r\n				<dlms_obis_generic_send>900</dlms_obis_generic_send>\r\n				<dlms_obis_generic>1.0.99.98.0.255</dlms_obis_generic>\r\n			</dlms_profiles>\r\n                  </dlms_profiles_configs>\r\n	</parameters_dlms>\r\n</parameters_BUS>'),(133,'PIPE20P','GATEWAY NBIoT Pressure 76Ah IP68 10BAR',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>#serial_number#</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,2</PSM><st>9,14,</st><srt>0,23,30</srt><sst>20,1,9,10,11,12,17,18,</sst><pst>9,11,15,16,18,20,0,3,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version></firmware_version><local_port>0</local_port><reed_activation>0</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>60</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><sync_read>0</sync_read><sensor_log>1</sensor_log><reset_time></reset_time><pressure_meter_id>#iddeviceRIGHT8#</pressure_meter_id><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>30</timeout_server><mbus_baudrate>2400</mbus_baudrate><timeout_connection>250</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>-0.74</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (#value# + 0.2176)/0.2943, 3, \".\", \"\" );</sensor_1_value_convert></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'{\"Gateway-ID\":\"Gateway Id\",\"apn\":\"APN\",\"server\":\"Server\",\"release_assistance\":\"Release Assistance\",\"fwupdate\":\"Firmware Update\",\"firmware_version\":\"Firmware Version\",\"local_port\":\"Local Port\",\"reed_activation\":\"Reed Activation\",\"delete_memory\":\"Delete Memory\",\"reset_meters\":\"Reset Statistical Meters\",\"sport\":\"port\",\"Middleware-ID\":\"Middleware Id\",\"reset_time\":\"time_reset\",\"max_dtlog_msgs\":\"max_datalogger_msgs\",\"max_dtlog_size\":\"max_datalogger_size\"}','<parameters_BUS></parameters_BUS>'),(120,'PIPE20XLPUAS','GATEWAY NBIoT PULSES AC IP68 SENSOR',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>#serial_number#</Gateway-SN><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>1</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>0</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (10.487 * #value# + 0.1287), 3, \".\", \"\" );</sensor_1_value_convert><sensor_1_id>7</sensor_1_id><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send><ENDPOINT_sensor_type>4</ENDPOINT_sensor_type><ENDPOINT_sensor_sending_interval_minutes>15</ENDPOINT_sensor_sending_interval_minutes></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,'{\"Gateway-ID\":\"Gateway Id\",\"apn\":\"APN\",\"server\":\"Server\",\"release_assistance\":\"Release Assistance\",\"fwupdate\":\"Firmware Update\",\"firmware_version\":\"Firmware Version\",\"local_port\":\"Local Port\",\"reed_activation\":\"Reed Activation\",\"delete_memory\":\"Delete Memory\",\"reset_meters\":\"Reset Statistical Meters\",\"sport\":\"port\",\"Middleware-ID\":\"Middleware Id\",\"reset_time\":\"time_reset\",\"max_dtlog_msgs\":\"max_datalogger_msgs\",\"max_dtlog_size\":\"max_datalogger_size\"}','<parameters_BUS></parameters_BUS>'),(135,'PIPE20RT_PU','GATEWAY NBIoT MQTT MODBUS PULSES',1,1,5,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>40,1</PSM><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>1</pulse_on><pulse_acc>1</pulse_acc><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1000</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>250</timeout_connection><timeout_server>25</timeout_server><reset_time></reset_time><no_ack>0</no_ack><mqtt_dc_on>1</mqtt_dc_on><keepalive>3600</keepalive><type_comm>0</type_comm><loglive_level>1</loglive_level></parameters>','<descriptors>\n 	<IMEI_iddevice>1</IMEI_iddevice>\n 	<udp_device>1</udp_device>\n 	<store_frames>3,5</store_frames>\n 	<solutions_type>15</solutions_type>\n 	<MODBUS_device_type>23</MODBUS_device_type>\n 	<parameters_modbus_fields>MODBUS_dt;modbus_speed;modbus_mode;modbus_parity;slave_id;function;addr;quantity;modbus_read;modbus_send</parameters_modbus_fields>\n </descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS><parameters_modbus><MODBUS_dt>1</MODBUS_dt><modbus_speed>9600</modbus_speed><modbus_mode>0</modbus_mode><modbus_parity>2</modbus_parity><modbus_set>1</modbus_set><modbus_num>1</modbus_num><slave_id>1</slave_id><function>03,03,03,03,03,03,03,03</function><addr>16384,16389,16395,16401,16419,16426,46596,46600</addr><quantity>4,6,6,6,7,7,3,1</quantity><modbus_read>900</modbus_read><modbus_send>900</modbus_send><modbus_warm_time>0</modbus_warm_time></parameters_modbus></parameters_BUS>'),(131,'OMNI20WMB','GATEWAY NBIoT Water Mbus 1:1 bat 19.000mAh',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>#serial_number#</Gateway-SN><Meter-ID/><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>15</eDRX><PSM>180,1</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21</firmware_version><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>15</st_period><period>1</period><sensor>0</sensor><counter_factor>1</counter_factor><pulse_on>0</pulse_on><k1_factor>1</k1_factor><k2_factor>1</k2_factor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(119,'PIPE20HUBMB','GATEWAY NBIoT HUB M-BUS BO',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time></reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>2400</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>0</mbus_num><mbus_add></mbus_add></parameters>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(125,'PIPE20HUBEUWM','GATEWAY NBIoT WIRELESS M-BUS EURIDIS AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>15</rt_period><st_period>60</st_period><reset_time></reset_time><period>1</period><sensor>0</sensor><sensor_log>1</sensor_log><retries_server>3</retries_server><retries_socket>3</retries_socket><timeout_server>30</timeout_server><timeout_connection>220</timeout_connection><mbus_baudrate>9600</mbus_baudrate><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sync_read>0</sync_read><meter_type>4</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>0</mbus_num><mbus_add></mbus_add><mbus_key></mbus_key><synch_meters>0</synch_meters><slow_meter>1</slow_meter><mbus_frame>240</mbus_frame></parameters>\n','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'\'ICC;IMEI;IMSI;RSSI(dBm);RSRQ(dB);RSRP(dBm);CSQ;PCI;SINR(dB);TX POWER(dBm);Cell Id;BND\'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(128,'PIPE20XLASAC','GATEWAY NBIoT IP68 SENSOR AC',1,1,4,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN></Gateway-SN><Meter-ID></Meter-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1>15,16,5</rt1><rt2>17,19,10</rt2><st>15,9</st><srt>0,23,30</srt><sst>7,16</sst><pst>8</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>1</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>15</st_period><period>1</period><sensor>1</sensor><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><retries_server>3</retries_server><sync_read>0</sync_read><timeout_connection>300</timeout_connection><timeout_server>30</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_1_value_convert>#value# = (float) number_format( (10.487 * #value# + 0.1287), 3, \".\", \"\" );</sensor_1_value_convert><sensor_1_id>7</sensor_1_id>\n</descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(129,'PIPE20RT','GATEWAY NBIoT MQTT MODBUS',1,1,5,0,0,0,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><st>15,9,</st><srt>0,23,0</srt><sst>7,16,</sst><pst>8,</pst><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID></Meter-ID><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>1883</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><reset_time></reset_time><timeout_connection>90</timeout_connection><retries_socket>3</retries_socket><timeout_server>15</timeout_server><mbus_baudrate>2400</mbus_baudrate><retries_server>3</retries_server><sensor_log>1</sensor_log><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><rt1>15,16,5</rt1><rt2>17,19,10</rt2><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on></parameters>','<descriptors>\n   <MODBUS_device_type>0</MODBUS_device_type>\n   <onetomany_device>1</onetomany_device>\n   <IMEI_iddevice>1</IMEI_iddevice>\n   <udp_device>1</udp_device>\n   <read_delay>300</read_delay>\n   <send_delay>300</send_delay>\n</descriptors>','<display_options><dashboard></dashboard></display_options>\n',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,'',1,'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS><parameters_modbus><MODBUS_dt>1</MODBUS_dt><modbus_speed>9600</modbus_speed><modbus_mode>0</modbus_mode><modbus_parity>0</modbus_parity><modbus_set>1</modbus_set><modbus_num>1</modbus_num><slave_id>1</slave_id><function>3</function><addr>4000</addr><quantity>36</quantity><modbus_read>900</modbus_read><modbus_send>3600</modbus_send><modbus_warm_time>0</modbus_warm_time></parameters_modbus></parameters_BUS>'),(130,'PIPE20PAS','GATEWAY NBIoT SENSOR 76Ah IP68 10BAR',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN></Gateway-SN><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><rt1/><rt2/><st/><srt>0,23,30</srt><srt2>6,14,30;07-05;15</srt2><sst>8,9,11,12,15,16,22,23</sst><mbrt/><mbrt2/><mbst/><pst>9,13,19,20,21</pst><oversensor_alarm>3,2000;4,0</oversensor_alarm><lowsensor_alarm>3,0;4,1</lowsensor_alarm><oversensor_condition>1</oversensor_condition><lowsensor_condition>1</lowsensor_condition><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version/><local_port>0</local_port><reed_activation>2</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>60</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>0</sync_read><timeout_connection>220</timeout_connection><timeout_server>20</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>0</pulse_acc><keepalive>6</keepalive><meter_type>1</meter_type><type_comm>1</type_comm><loglive_level>1</loglive_level><synch_meters>0</synch_meters><slow_meter>1</slow_meter><mbus_frame>0</mbus_frame><input_pulse_as_sensor_num>4</input_pulse_as_sensor_num></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id></sensor_pressure_id><sensor_pressure_offset>0</sensor_pressure_offset><sensor_1_value_convert>#value# = (float) number_format( (#value# + 0.2176)/0.2943, 3, \".\", \"\" );</sensor_1_value_convert></descriptors>','<display_options><dashboard></dashboard></display_options> ',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,NULL,1,NULL,'Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(136,'PIPE202PEMD','GATEWAY NBIoT MODBUS 76Ah IP68 PRESSURE',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>50,25</PSM><rt1>7,14,15</rt1><rt2>14,18,15</rt2><rt3>18,23,15</rt3><st>0,4,8,9,10,21,22,23</st><srt>0,23,180</srt><srt2>9,10,30;28-10;15</srt2><sst>0,4,8,9,10,21,22,23</sst><mbrt>7,14,900</mbrt><mbrt2>14,18,900</mbrt2><mbrt3>18,23,900</mbrt3><mbst>0,4,8,9,10,21,22,23</mbst><pst>0,4,8,9,10,21,22,23</pst><oversensor_alarm>1,10.5;2,10.5;3,2000;4,0</oversensor_alarm><lowsensor_alarm>1,0.0;2,0.0;3,0;4,1</lowsensor_alarm><oversensor_condition>0</oversensor_condition><lowsensor_condition>0</lowsensor_condition><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>PIPE21_V10.02</firmware_version><local_port>0</local_port><reed_activation>2</reed_activation><input_alarm_sensor>0</input_alarm_sensor><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>0</rt_period><st_period>15</st_period><period>1</period><sensor>1</sensor><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><overpressure_alarm>10</overpressure_alarm><low_pressure_alarm>0</low_pressure_alarm><sensor_log>1</sensor_log><mbus_baudrate>2400</mbus_baudrate><retries_socket>3</retries_socket><sync_read>1</sync_read><timeout_connection>300</timeout_connection><timeout_server>40</timeout_server><reset_time></reset_time><no_ack>0</no_ack><pulse_acc>0</pulse_acc><mqtt_dc_on>0</mqtt_dc_on><keepalive>1800</keepalive><meter_type>3</meter_type><type_comm>0</type_comm><loglive_level>99</loglive_level><synch_meters>0</synch_meters><slow_meter>1</slow_meter><mbus_frame>0</mbus_frame><input_pulse_as_sensor_num>2</input_pulse_as_sensor_num><i2c_sensor>1</i2c_sensor><i2c_sensor_addr>108,108</i2c_sensor_addr><gensensor_warm_time>0</gensensor_warm_time></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options> ',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,NULL,0,'\'ICC;IMEI;IMSI;RSSI(dBm);RSRQ(dB);RSRP(dBm);CSQ;PCI;SINR(dB);TX POWER(dBm);Cell Id;BND\'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>'),(137,'OMNI20WUNE','OMNI20WUNE GATEWAY NBIoT UNE 19Ah IP68',1,1,4,0,0,1,'0.0','<parameters><Gateway-ID>#iddevice#</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35</server><eDRX>0</eDRX><PSM>10,25</PSM><release_assistance>0</release_assistance><fwupdate>0</fwupdate><firmware_version>FW800053C_OMNI20UNE_NB_V00.03</firmware_version><local_port>1</local_port><reed_activation>1</reed_activation><delete_memory>0</delete_memory><reset_meters>0</reset_meters><private_key>00000000</private_key><pulse_on>0</pulse_on><Meter-ID/><counter_factor>1</counter_factor><k1_factor>1</k1_factor><k2_factor>1000</k2_factor><wq>0</wq><sformat>0</sformat><sprotocol>TCP</sprotocol><sport>80</sport><snbpower>0</snbpower><rt_period>1440</rt_period><st_period>1440</st_period><period>1</period><sensor>0</sensor><sync_read>0</sync_read><sensor_log>1</sensor_log><reset_time></reset_time><low_pressure_alarm>0</low_pressure_alarm><overpressure_alarm>10</overpressure_alarm><retries_socket>3</retries_socket><timeout_server>20</timeout_server><mbus_baudrate>1170</mbus_baudrate><timeout_connection>220</timeout_connection><rt1>7,8,5</rt1><rt2>8,9,5</rt2><retries_server>3</retries_server><max_dtlog_msgs>-1</max_dtlog_msgs><max_dtlog_size>96</max_dtlog_size><no_ack>0</no_ack><pulse_acc>0</pulse_acc><meter_type>1</meter_type><mqtt_dc_on>0</mqtt_dc_on><une82326_mem_download>0</une82326_mem_download></parameters>','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options> ',0.05,'ls40',2,1,0,0,1,'date, type, energy, switching_on, switch_on_time, connected_time, disconnections,\r    power_active_avg, power_active_min, power_active_max,\r    current_avg, current_min, current_max,\r    input1_avg, input1_min, input1_max,\r    input2_avg, input2_min, input2_max,\r    input3_avg, input3_min, input3_max,\r    input4_avg, input4_min, input4_max','date;switch_on_time;switching_on;voltage;current;power_active;energy;input1;input2;input3;input4','date;idtrigger_type;idmode;idstatus;dimmer;power_active;current;input1;input2;input3;input4;input5;input6;input7;input8;input9;input10;gross_measure',0,'34.248.252.126',1,NULL,0,'\'ICC;IMEI;IMSI;RSSI(dBm);RSRQ(dB);RSRP(dBm);CSQ;PCI;SINR(dB);TX POWER(dBm);Cell Id;BND\'','Server;APN;RSSI;RSRQ;RSRP;PCI;SINR;TX Power;Cell Id;Band;Gateway Id;Middleware Id;Read Intervals;Send Intervals;Battery Level;Local Port;Firmware Version;Firmware Update;time_reset;UNE82326-Bus Readings;NBIoT Transmissions completed;NBIoT Transmissions failed;ERROR_SIM;ERROR_CSQ;ERROR_CEREG;ERROR_TSO;ERROR_TSE;ERROR_IP;Release Assistance;Reed Activation;Delete Memory;Reset Statistical Meters;PSM;eDRX;rtt_mean;connection_time;port;period_on;read_time;send_time;disable_meter;file_size;tamper;IMSI;M-BUS_Size;DL_info;DL_sensor_info;DL_modbus_info;Meter-ID;pulse_on;counter_factor;k1_factor;k2_factor;wq;sync_read;overpressure_alarm;lowpressure_alarm;timeout_connection;retries_socket;timeout_server;mbus_baudrate;retries_server;max_datalogger_size;max_datalogger_msgs;sensor;sensor_log;sformat;sprotocol;snbpower;cert;srt;sst;pst;Pinst;Pavg;Pmin;Pmax;gWip',NULL,NULL,'<parameters_BUS></parameters_BUS>');
