-- Dumping data for table `middleware_udp_sensor_synchronous_sender_Endpoint_log`
--


--
-- Table structure for table `middleware_udp_sensor_synchronous_sender_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `middleware_udp_sensor_synchronous_sender_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `id_sensor_log` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `idsensor` int NOT NULL DEFAULT '1',
  `idsensor_type` int DEFAULT NULL,
  `date` datetime NOT NULL,
  `value_last` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value_last_date` datetime DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  `values_summary` varchar(2000) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `TS` datetime DEFAULT NULL,
  `endpoint_sent` int DEFAULT '-1',
  `endpoint_sending_date` datetime DEFAULT NULL,
  `endpoint_attempts` int DEFAULT '0',
  `endpoint_response` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`,`date`),
  KEY `endpoint_sent` (`endpoint_sent`),
  KEY `endpoint_sending_date` (`endpoint_sending_date`),
  KEY `endpoint_attempts` (`endpoint_attempts`),
  KEY `iddevice` (`iddevice`),
  KEY `idsensor` (`idsensor`),
  KEY `date` (`date`),
  KEY `value_last_date` (`value_last_date`),
  KEY `id_sensor_log` (`id_sensor_log`),
  KEY `idsensor_type` (`idsensor_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/*!50500 PARTITION BY RANGE  COLUMNS(`date`)
(PARTITION p20240604 VALUES LESS THAN ('2024-06-05') ENGINE = InnoDB,
 PARTITION p20240605 VALUES LESS THAN ('2024-06-06') ENGINE = InnoDB,
 PARTITION p20240606 VALUES LESS THAN ('2024-06-07') ENGINE = InnoDB,
 PARTITION p20240628 VALUES LESS THAN ('2024-06-29') ENGINE = InnoDB,
 PARTITION p20240802 VALUES LESS THAN ('2024-08-03') ENGINE = InnoDB,
 PARTITION p20240803 VALUES LESS THAN ('2024-08-04') ENGINE = InnoDB,
 PARTITION p20240804 VALUES LESS THAN ('2024-08-05') ENGINE = InnoDB,
 PARTITION p20240805 VALUES LESS THAN ('2024-08-06') ENGINE = InnoDB,
 PARTITION p20240806 VALUES LESS THAN ('2024-08-07') ENGINE = InnoDB,
 PARTITION p20240807 VALUES LESS THAN ('2024-08-08') ENGINE = InnoDB,
 PARTITION p20240808 VALUES LESS THAN ('2024-08-09') ENGINE = InnoDB,
 PARTITION p20240809 VALUES LESS THAN ('2024-08-10') ENGINE = InnoDB,
 PARTITION p20240810 VALUES LESS THAN ('2024-08-11') ENGINE = InnoDB,
 PARTITION p20240811 VALUES LESS THAN ('2024-08-12') ENGINE = InnoDB,
 PARTITION p20240812 VALUES LESS THAN ('2024-08-13') ENGINE = InnoDB,
 PARTITION p20240813 VALUES LESS THAN ('2024-08-14') ENGINE = InnoDB,
 PARTITION p20240814 VALUES LESS THAN ('2024-08-15') ENGINE = InnoDB,
 PARTITION p20240815 VALUES LESS THAN ('2024-08-16') ENGINE = InnoDB,
 PARTITION p20240816 VALUES LESS THAN ('2024-08-17') ENGINE = InnoDB,
 PARTITION p20240817 VALUES LESS THAN ('2024-08-18') ENGINE = InnoDB,
 PARTITION p20240818 VALUES LESS THAN ('2024-08-19') ENGINE = InnoDB,
 PARTITION p20240819 VALUES LESS THAN ('2024-08-20') ENGINE = InnoDB,
 PARTITION p20240820 VALUES LESS THAN ('2024-08-21') ENGINE = InnoDB,
 PARTITION p20240821 VALUES LESS THAN ('2024-08-22') ENGINE = InnoDB,
 PARTITION p20240822 VALUES LESS THAN ('2024-08-23') ENGINE = InnoDB,
 PARTITION p20240823 VALUES LESS THAN ('2024-08-24') ENGINE = InnoDB,
 PARTITION p20240824 VALUES LESS THAN ('2024-08-25') ENGINE = InnoDB,
 PARTITION p20240825 VALUES LESS THAN ('2024-08-26') ENGINE = InnoDB,
 PARTITION p20240826 VALUES LESS THAN ('2024-08-27') ENGINE = InnoDB,
 PARTITION p20240827 VALUES LESS THAN ('2024-08-28') ENGINE = InnoDB,
 PARTITION p20240828 VALUES LESS THAN ('2024-08-29') ENGINE = InnoDB,
 PARTITION p20240829 VALUES LESS THAN ('2024-08-30') ENGINE = InnoDB,
 PARTITION p20240830 VALUES LESS THAN ('2024-08-31') ENGINE = InnoDB,
 PARTITION p20240831 VALUES LESS THAN ('2024-09-01') ENGINE = InnoDB,
 PARTITION p20240901 VALUES LESS THAN ('2024-09-02') ENGINE = InnoDB,
 PARTITION p20240902 VALUES LESS THAN ('2024-09-03') ENGINE = InnoDB,
 PARTITION p20240903 VALUES LESS THAN ('2024-09-04') ENGINE = InnoDB,
 PARTITION p20240904 VALUES LESS THAN ('2024-09-05') ENGINE = InnoDB,
 PARTITION p20240905 VALUES LESS THAN ('2024-09-06') ENGINE = InnoDB,
 PARTITION p20240906 VALUES LESS THAN ('2024-09-07') ENGINE = InnoDB,
 PARTITION p20240907 VALUES LESS THAN ('2024-09-08') ENGINE = InnoDB,
 PARTITION p20240908 VALUES LESS THAN ('2024-09-09') ENGINE = InnoDB,
 PARTITION p20240909 VALUES LESS THAN ('2024-09-10') ENGINE = InnoDB,
 PARTITION p20240910 VALUES LESS THAN ('2024-09-11') ENGINE = InnoDB,
 PARTITION p20240911 VALUES LESS THAN ('2024-09-12') ENGINE = InnoDB,
 PARTITION p20240912 VALUES LESS THAN ('2024-09-13') ENGINE = InnoDB,
 PARTITION p20240913 VALUES LESS THAN ('2024-09-14') ENGINE = InnoDB,
 PARTITION p20240914 VALUES LESS THAN ('2024-09-15') ENGINE = InnoDB,
 PARTITION p202409 VALUES LESS THAN ('2024-09-20') ENGINE = InnoDB,
 PARTITION p20240920 VALUES LESS THAN ('2024-09-21') ENGINE = InnoDB,
 PARTITION p20240921 VALUES LESS THAN ('2024-09-22') ENGINE = InnoDB,
 PARTITION p20240922 VALUES LESS THAN ('2024-09-23') ENGINE = InnoDB,
 PARTITION p20240923 VALUES LESS THAN ('2024-09-24') ENGINE = InnoDB,
 PARTITION p20240924 VALUES LESS THAN ('2024-09-25') ENGINE = InnoDB,
 PARTITION p20240925 VALUES LESS THAN ('2024-09-26') ENGINE = InnoDB,
 PARTITION p20240926 VALUES LESS THAN ('2024-09-27') ENGINE = InnoDB,
 PARTITION p20240927 VALUES LESS THAN ('2024-09-28') ENGINE = InnoDB,
 PARTITION p20240928 VALUES LESS THAN ('2024-09-29') ENGINE = InnoDB,
 PARTITION p20240929 VALUES LESS THAN ('2024-09-30') ENGINE = InnoDB,
 PARTITION p20240930 VALUES LESS THAN ('2024-10-01') ENGINE = InnoDB,
 PARTITION p20241001 VALUES LESS THAN ('2024-10-02') ENGINE = InnoDB,
 PARTITION p20241002 VALUES LESS THAN ('2024-10-03') ENGINE = InnoDB,
 PARTITION p20241003 VALUES LESS THAN ('2024-10-04') ENGINE = InnoDB,
 PARTITION p20241004 VALUES LESS THAN ('2024-10-05') ENGINE = InnoDB,
 PARTITION p20241005 VALUES LESS THAN ('2024-10-06') ENGINE = InnoDB,
 PARTITION p20241006 VALUES LESS THAN ('2024-10-07') ENGINE = InnoDB,
 PARTITION p20241007 VALUES LESS THAN ('2024-10-08') ENGINE = InnoDB,
 PARTITION p20241008 VALUES LESS THAN ('2024-10-09') ENGINE = InnoDB,
 PARTITION p20241009 VALUES LESS THAN ('2024-10-10') ENGINE = InnoDB,
 PARTITION p20241010 VALUES LESS THAN ('2024-10-11') ENGINE = InnoDB,
 PARTITION p20241011 VALUES LESS THAN ('2024-10-12') ENGINE = InnoDB,
 PARTITION p20241012 VALUES LESS THAN ('2024-10-13') ENGINE = InnoDB,
 PARTITION p20241013 VALUES LESS THAN ('2024-10-14') ENGINE = InnoDB,
 PARTITION p20241014 VALUES LESS THAN ('2024-10-15') ENGINE = InnoDB,
 PARTITION p20241015 VALUES LESS THAN ('2024-10-16') ENGINE = InnoDB,
 PARTITION p20241016 VALUES LESS THAN ('2024-10-17') ENGINE = InnoDB,
 PARTITION p20241017 VALUES LESS THAN ('2024-10-18') ENGINE = InnoDB,
 PARTITION p20241018 VALUES LESS THAN ('2024-10-19') ENGINE = InnoDB,
 PARTITION p20241019 VALUES LESS THAN ('2024-10-20') ENGINE = InnoDB,
 PARTITION p20241020 VALUES LESS THAN ('2024-10-21') ENGINE = InnoDB,
 PARTITION p20241021 VALUES LESS THAN ('2024-10-22') ENGINE = InnoDB,
 PARTITION p20241022 VALUES LESS THAN ('2024-10-23') ENGINE = InnoDB,
 PARTITION p20241023 VALUES LESS THAN ('2024-10-24') ENGINE = InnoDB,
 PARTITION p20241024 VALUES LESS THAN ('2024-10-25') ENGINE = InnoDB,
 PARTITION p20241025 VALUES LESS THAN ('2024-10-26') ENGINE = InnoDB,
 PARTITION p20241026 VALUES LESS THAN ('2024-10-27') ENGINE = InnoDB,
 PARTITION p20241027 VALUES LESS THAN ('2024-10-28') ENGINE = InnoDB,
 PARTITION p20241028 VALUES LESS THAN ('2024-10-29') ENGINE = InnoDB,
 PARTITION p20241029 VALUES LESS THAN ('2024-10-30') ENGINE = InnoDB,
 PARTITION p20241030 VALUES LESS THAN ('2024-10-31') ENGINE = InnoDB,
 PARTITION p20241031 VALUES LESS THAN ('2024-11-01') ENGINE = InnoDB,
 PARTITION p20241101 VALUES LESS THAN ('2024-11-02') ENGINE = InnoDB,
 PARTITION p20241102 VALUES LESS THAN ('2024-11-03') ENGINE = InnoDB,
 PARTITION p20241103 VALUES LESS THAN ('2024-11-04') ENGINE = InnoDB,
 PARTITION p20241104 VALUES LESS THAN ('2024-11-05') ENGINE = InnoDB,
 PARTITION p20241105 VALUES LESS THAN ('2024-11-06') ENGINE = InnoDB,
 PARTITION p20241106 VALUES LESS THAN ('2024-11-07') ENGINE = InnoDB,
 PARTITION p20241107 VALUES LESS THAN ('2024-11-08') ENGINE = InnoDB,
 PARTITION p20241108 VALUES LESS THAN ('2024-11-09') ENGINE = InnoDB,
 PARTITION p20241109 VALUES LESS THAN ('2024-11-10') ENGINE = InnoDB,
 PARTITION p20241110 VALUES LESS THAN ('2024-11-11') ENGINE = InnoDB,
 PARTITION p20241111 VALUES LESS THAN ('2024-11-12') ENGINE = InnoDB,
 PARTITION p20241112 VALUES LESS THAN ('2024-11-13') ENGINE = InnoDB,
 PARTITION pMAX VALUES LESS THAN (MAXVALUE) ENGINE = InnoDB) */;

--
-- Dumping data for table `middleware_udp_sensor_synchronous_sender_log`
--


--
-- Table structure for table `middleware_udp_sensor_synchronous_sender_log_flash`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `middleware_udp_sensor_synchronous_sender_log_flash` (
  `idflash` int NOT NULL AUTO_INCREMENT,
  `id` int NOT NULL,
  `id_sensor_log` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `idsensor` int NOT NULL DEFAULT '1',
  `idsensor_type` int DEFAULT NULL,
  `date` datetime NOT NULL,
  `value_last` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value_last_date` datetime DEFAULT NULL,
  `values` text COLLATE utf8mb4_unicode_ci,
  `values_summary` varchar(2000) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `TS` datetime DEFAULT NULL,
  `endpoint_sent` int DEFAULT '-1',
  `endpoint_sending_date` datetime DEFAULT NULL,
  `endpoint_attempts` int DEFAULT '0',
  `endpoint_response` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`idflash`),
  KEY `id` (`id`),
  KEY `endpoint_sent` (`endpoint_sent`),
  KEY `endpoint_sending_date` (`endpoint_sending_date`),
  KEY `endpoint_attempts` (`endpoint_attempts`),
  KEY `iddevice` (`iddevice`),
  KEY `idsensor` (`idsensor`),
  KEY `date` (`date`),
  KEY `value_last_date` (`value_last_date`),
  KEY `id_sensor_log` (`id_sensor_log`),
  KEY `idsensor_type` (`idsensor_type`),
  KEY `TS` (`TS`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `middleware_udp_sensor_synchronous_sender_log_flash`
--


--
-- Table structure for table `middleware_udp_sensors_type`
--

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

--
-- Dumping data for table `middleware_udp_sensors_type`
--

INSERT INTO `middleware_udp_sensors_type` VALUES (1,'S1'),(2,'S2'),(3,'S3'),(4,'S4'),(5,'S5'),(6,'Pulse');

--
-- Table structure for table `migrations`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `migrations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` VALUES (1,'2024_10_23_135641_create_users2_table',1);

--
-- Table structure for table `mobile_sessions`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `mobile_sessions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned DEFAULT NULL,
  `token` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mobile_sessions_token_unique` (`token`),
  KEY `mobile_sessions_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_sessions`
--

INSERT INTO `mobile_sessions` VALUES (1,2,'25|4upvIoWhFVzLKoYVQsDFMCIvOrgVVt1DW51TgFhaa82094ed',NULL,'2024-11-15 07:50:05','2024-11-12 11:23:11','2024-11-14 07:50:05');

--
-- Table structure for table `modbus_devices_types`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `modbus_devices_types` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(2000) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `events_fields` text COLLATE utf8mb4_unicode_ci,
  `datalogger_fields` text COLLATE utf8mb4_unicode_ci,
  `data_fields` text COLLATE utf8mb4_unicode_ci,
  `chart_fields` text COLLATE utf8mb4_unicode_ci,
  `display_options` text COLLATE utf8mb4_unicode_ci,
  `parameters` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `modbus_devices_types`
--

INSERT INTO `modbus_devices_types` VALUES (1,'SOCOMEC','SOCOMEC','idslave;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;energy_3phase','idslave;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','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;energy_3phase',NULL,'<display_options><consumption>1</consumption><threephase>1</threephase><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></display_options>','<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>2</dl_calc_send><e_freq_calc>0</e_freq_calc><e_freq_send>0</e_freq_send><e_calc_send>0</e_calc_send><meter_type>0</meter_type><dimmer_type>1</dimmer_type><meterparams_voltage_enable>0</meterparams_voltage_enable><meterparams_voltage_step>5</meterparams_voltage_step><meterparams_voltage_1_enable>0</meterparams_voltage_1_enable><meterparams_voltage_1_step>5</meterparams_voltage_1_step><meterparams_voltage_2_enable>0</meterparams_voltage_2_enable><meterparams_voltage_2_step>5</meterparams_voltage_2_step><meterparams_voltage_3_enable>0</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>0</meterparams_poweractive_enable><meterparams_poweractive_step>10</meterparams_poweractive_step><meterparams_poweractive_1_enable>0</meterparams_poweractive_1_enable><meterparams_poweractive_1_step>10</meterparams_poweractive_1_step><meterparams_poweractive_2_enable>0</meterparams_poweractive_2_enable><meterparams_poweractive_2_step>10</meterparams_poweractive_2_step><meterparams_poweractive_3_enable>0</meterparams_poweractive_3_enable><meterparams_poweractive_3_step>10</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>0</i1_enable><i1_type>15</i1_type><i1_min>0</i1_min><i1_step>1</i1_step><i1_max>100</i1_max><i2_n>2</i2_n><i2_enable>0</i2_enable><i2_type>0</i2_type><i2_min>0</i2_min><i2_step>10</i2_step><i2_max>2500</i2_max><i3_n>3</i3_n><i3_enable>0</i3_enable><i3_type>0</i3_type><i3_min>0</i3_min><i3_step>10</i3_step><i3_max>2500</i3_max><i4_n>4</i4_n><i4_enable>0</i4_enable><i4_type>15</i4_type><i4_min>0</i4_min><i4_step>1</i4_step><i4_max>10</i4_max><i5_n>5</i5_n><i5_enable>0</i5_enable><i5_type>0</i5_type><i5_min>0</i5_min><i5_step>10</i5_step><i5_max>2500</i5_max><i6_n>6</i6_n><i6_enable>0</i6_enable><i6_type>15</i6_type><i6_min>0</i6_min><i6_step>1</i6_step><i6_max>10</i6_max><o1_n>1</o1_n><o1_type>0</o1_type><e1_n>1</e1_n><e1_enable>1</e1_enable><e1_type>5</e1_type><e1_sensor>1</e1_sensor><e1_p1>80</e1_p1><e1_p2>10</e1_p2><e1_p3>100</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>4</e4_type><e4_sensor>4</e4_sensor><e4_p1>1</e4_p1><e4_p2>10</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>4</e6_type><e6_sensor>6</e6_sensor><e6_p1>1</e6_p1><e6_p2>10</e6_p2><e6_p3>0</e6_p3><e6_p4>0</e6_p4><e6_p5>0</e6_p5></parameters>');

--
-- Table structure for table `monitors`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `monitors` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idtype` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '1,2,3',
  `active` int DEFAULT NULL,
  `detected` int DEFAULT '0',
  `iddevice` int DEFAULT NULL,
  `user` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_update` datetime DEFAULT NULL,
  `level` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `monitors`
--


--
-- Table structure for table `mqtt_users_auth`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `mqtt_users_auth` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iduser` int DEFAULT NULL,
  `idsesion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mqtt_username` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `idsesion_UNIQUE` (`idsesion`)
) ENGINE=InnoDB AUTO_INCREMENT=137 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mqtt_users_auth`
--

INSERT INTO `mqtt_users_auth` VALUES (1,1,'b8oJt7cqbtOGYqpkcPyHiw1Js96Jw7ntNQgMsAM3','admin','2024-11-12 10:38:13'),(3,3,'nzk0VyCprV9xbM1hKpD7kai7t8io2lRh6RgRwzRW','Vicente Zarzo Toutoundji','2024-11-19 12:16:13'),(4,3,'ZCM6DOvMgBSJO1sni5fsHSlIvr6EKELLxmYauhOQ','Vicente Zarzo Toutoundji','2024-11-20 12:08:49'),(6,3,'KxnDikUEWirU4THKb6uZNkivFFrvWTIJxkpLVaJR','Vicente Zarzo Toutoundji','2024-11-21 08:07:37'),(7,19,'RkvPhetxxDBHzB943LNqWLS5iNLnd5nvttrOwYbh','Miguel Toledo','2024-11-21 08:09:10'),(8,3,'8cs2lASyitXqiBVufrZcK5mPlXS02zfeHooe5ENd','Vicente Zarzo Toutoundji','2024-11-21 09:27:35'),(10,3,'AkYbnXJP7DSmjQSSHkHIcJXP9E5hxJYpSf0VMvm9','Vicente Zarzo Toutoundji','2024-11-21 14:16:03'),(11,3,'nN72E4vQdVeB4Yqd9L200yMz59wuxE0gfgBsDHJ5','Vicente Zarzo Toutoundji','2024-11-21 10:23:28'),(14,5,'yVPJEkvZXgZydRqjQO3pHmQZyFK0ONaVPwhg2Xu0','Diego Márquez','2024-11-21 10:44:53'),(15,5,'O5VxHn896SX2lzh25UkxQTNpMeo2gimp551iUQI6','Diego Márquez','2024-11-21 11:31:10'),(16,16,'sXsmbXDA708po7PDKsTUvAWW5rgZPZhcVWoKlxIn','Jose Moril','2024-11-21 10:46:49'),(19,25,'I8JRPaYnX9bmkpNDxDMkBrG0gyXEDJSHUGA7dPQ0','Test','2024-11-21 11:26:38'),(22,5,'vK1Q4u4gQ2srF4inmZ2TN4ts67eUF6X5OqgtW9jv','Diego Márquez','2024-11-21 12:10:07'),(27,5,'wWsIsxfFYNPgbLGV9ff6UZprQI4GyzekXDuKgnKe','Diego Márquez','2024-11-21 13:09:33'),(30,3,'YblRKevMR5l91RrqFV1EToZ8JMnIKenoUlvzN8QR','Vicente Zarzo Toutoundji','2024-11-22 11:07:21'),(34,3,'RtBgCSRWEm49dxpYBjybRAX524sbXcwx68tagIBn','Vicente Zarzo Toutoundji','2024-11-22 12:33:30'),(36,5,'Fbav3uPXDwaKF7GQZgJTvSJ5gL2QIqbfKlSPsabk','Diego Márquez','2024-11-25 08:14:11'),(38,3,'b5F2vKrdrfvly5gh5Ld9nxJy3KuYf99XLHZfeIwR','Vicente Zarzo Toutoundji','2024-11-26 12:30:39'),(39,3,'OgCZiGPOUqXSpBRvNcoasNj0YyU75RYeY7sSxk6j','Vicente Zarzo Toutoundji','2024-11-27 11:07:19'),(40,20,'nawcBgTB3tqGEy9gE3mbretmLlTjAuLgDwSEekML','Rafael Milara','2024-11-27 08:17:04'),(41,24,'MP3OSu4Zlg0OdxuFRJd9STmIu8EZzA3zRxGOKGOk','jrudilla','2024-11-27 08:18:17'),(43,3,'VgZOO9PE70kmf5pH5Y63jxlZbx1gjsJpUW8hI2ux','Vicente Zarzo Toutoundji','2024-11-28 08:53:32'),(45,5,'zTND7HJ4QgxY6XJsDyhlrHopS6T1k3T4nkiq5Kjs','Diego Márquez','2024-11-28 12:34:37'),(46,3,'3zd3JvsLOKU36i006mHAx6EdU1Z71JNAhtisJQAP','Vicente Zarzo Toutoundji','2024-11-29 08:47:51'),(48,3,'5xZcuvbtvoKpeZIsDo6zE71BKXGZprpCaWQaVCdv','Vicente Zarzo Toutoundji','2024-11-29 09:18:31'),(49,5,'ytugISrhTTgjz3yZBor5Oxxz9UzzhenMecdVpj0L','Diego Márquez','2024-11-29 09:48:31'),(50,3,'GpF0G26B0D1bO4z9T0U96m67v2jG30Sy8GhHiw9k','Vicente Zarzo Toutoundji','2024-12-02 09:28:13'),(51,5,'QDazd3Hmo9G3kXZDRe6x1b2NJ1yuZqDEmYqYYjB7','Diego Márquez','2024-12-02 12:08:03'),(57,3,'ZmOFMGDifwSKhqDDDMlsmbUXyblRjq3Rg7knk8LM','Vicente Zarzo Toutoundji','2024-12-03 09:33:32'),(59,3,'RMnEpd3IzoSSp8e3043zHa2NZ7coES0IzoOZE8Bq','Vicente Zarzo Toutoundji','2024-12-03 13:31:15'),(61,12,'nCPkJp9VYcRn5oEjoUYSyPKyIpnZLx1tlzAQjTU8','Andreu Sambonet','2024-12-03 16:33:19'),(62,16,'ajFksb2bpvXUiro7RiqrMrxdyzdVj7Aq5IUMc91T','Jose Moril','2024-12-03 16:35:39'),(64,17,'GkqQ0FSKyrHnrv64tJRe31czCI5Rpl8gENr1umDg','Antonio Calonge','2024-12-04 09:58:55'),(66,3,'YJleOzYQW2UUqHg3HZXNbfte64KgrkSzT7tNqSpl','Vicente Zarzo Toutoundji','2024-12-04 08:07:37'),(68,12,'qOFZ4J0VJUrAaGldcl1rsAOc3vo8IHn4zbcDjK6N','Andreu Sambonet','2024-12-04 08:32:54'),(70,24,'bl9YSolUnZNj0A0l0khlSrBlNyUWWy6fRHhxgZnp','jrudilla','2024-12-04 09:40:58'),(72,3,'fRn8t8Zeg1Cin7sljIQc7Ko04o1nEBTfhEl81VmS','Vicente Zarzo Toutoundji','2024-12-04 12:12:10'),(79,5,'isQQSk6Mx9Gzbq7tr9xweEpEXqGnuU0c6ZT2z24I','Diego Márquez','2024-12-04 12:56:39'),(80,12,'PoyGKirHNHM7WmWgqmh8XYh2ri315m0bir8nYl2E','Andreu Sambonet','2024-12-04 13:43:24'),(81,12,'6fv8Hc7cBk5cfNocwaMCXWfhHBDEe1kfNBVrMylL','Andreu Sambonet','2024-12-04 13:44:06'),(82,12,'vzRu0ep5F41VVyCsgSg2ZKiH2RDsEkZ1zAuPxwaO','Andreu Sambonet','2024-12-05 08:52:27'),(83,7,'j6BW01UmNQHJiFcumKLbPUBCLCC0GN5RDzQdvbzw','Jorge Benedicto','2024-12-05 08:53:09'),(85,24,'yJIq4Mst7mJEotLWbAtIdBEzVT03GSx6KR423aea','jrudilla','2024-12-05 11:37:57'),(87,3,'sEj3cQivTTixGb5kxRke2CZVwch1UT07pjQCO3XU','Vicente Zarzo Toutoundji','2024-12-05 12:05:33'),(90,18,'U4KFrmJ6jVNhd8hAcUvWmlaCx3pn8pyBcOTgkGOh','Jesus Chover','2024-12-09 08:14:02'),(92,2,'QLcfTvmkMoZ33W8B3MlFwLSVjT6critgbC0yUzVM','Miguel Nebot','2024-12-09 08:18:43'),(94,5,'qkZECMPJboIMKqg6qd25PuSzwmY1mBxa4j794zVg','Diego Márquez','2024-12-09 09:52:19'),(95,3,'CyQrbYUstS8AxelfTcAIfIHVDgEDmeo1YQha9p5z','Vicente Zarzo Toutoundji','2024-12-10 08:50:27'),(97,13,'CtFtplpTQ8SExSOjYX24sncXebLUHqjgRbpgOiFW','Jose Manuel Rodríguez','2024-12-10 08:40:16'),(101,3,'EDlw6DJOT1TrbLUYVipJQueD9POJKAbvlZI8Vv20','Vicente Zarzo Toutoundji','2024-12-10 10:47:09'),(102,23,'g4YZf2oRYDZz3mM6amGnebQECkR3CSRuE9fx4VDy','Roberto Pascual','2024-12-10 09:32:19'),(103,23,'mAf9nqjNcWxB84MfTYcBjyM8mTqNoD1FhyLiT15d','Roberto Pascual','2024-12-10 09:33:22'),(104,5,'yIx8l1wA6eXQu6MTPQt6OlHn01ExO7DpJWXH6VzA','Diego Márquez','2024-12-10 10:33:30'),(106,3,'DxWNoExSHod3ByBYCpybMQcQOGYA4WgqmFyMnRQn','Vicente Zarzo Toutoundji','2024-12-10 15:14:51'),(108,5,'zdSKwjDKrinssZBp71WAvatrqNTpEFakyDR3kh04','Diego Márquez','2024-12-10 12:46:26'),(109,2,'AeUbZKCx2ZaajWeyu70tp6eaOeN1htqmuFYSs0gd','Miguel Nebot','2024-12-10 14:29:24'),(113,3,'ajD8Oyu878YQTIEMwiA9fx1t0k3efrHOAoEHvgcG','Vicente Zarzo Toutoundji','2024-12-10 15:27:43'),(115,3,'uSQ70I7S7YpVUXBtF3Xi1UcZSGUaBulN0YLvhbui','Vicente Zarzo Toutoundji','2024-12-11 11:08:18'),(117,18,'woVqiLJpEw8ug6Ys74sdGhgi2u4mHbOzytWYqHym','Jesus Chover','2024-12-11 08:15:12'),(118,23,'I19SbOZRIjiNAvR7RM2dGYbpuJI7cIKWKJnDSdGK','Roberto Pascual','2024-12-11 08:30:02'),(119,8,'2SswgPWZuoGLHjbY4nItVyYrnL6qYcOVGNH66s8D','Jorge Martin','2024-12-11 09:41:49'),(121,3,'0oSJdYxfqLVD8xlOoDq1AeI5ASdsxTTWtl2D8G9m','Vicente Zarzo Toutoundji','2024-12-11 15:25:13'),(122,3,'NCglzwbRAhVBzIxntUahfDPMKMMhjf6m30e46ztP','Vicente Zarzo Toutoundji','2024-12-12 10:58:20'),(124,23,'9zDcagvvJNJ88T29coQ8orpfTyr3ol6H1e9WVHnv','Roberto Pascual','2024-12-12 16:30:26'),(125,3,'cIZSODeyS6mCHa9JUpJCe7eYJPPETrtMSxHO6gvG','Vicente Zarzo Toutoundji','2024-12-13 07:02:23'),(127,3,'QHEasNPwBLJLcHMqZGwydMHJ1iKI4wL7YYM8Yu24','Vicente Zarzo Toutoundji','2024-12-13 07:49:46'),(128,6,'cqLWRile70tIOSj60BTG4cqVr7j2S9bMQ4i4WKRt','Lara Trilles','2024-12-13 09:00:04'),(129,2,'jSSY0hERiUhCzL8pmTo4QtBM5sCi7NMs1WNGvH2e','Miguel Nebot','2024-12-13 09:13:50'),(130,23,'Lkk1SVIEBsYi8OYyqLqGlnOocb9rE3szUDlcrGNr','Roberto Pascual','2024-12-13 09:15:16'),(131,5,'MHkKDFNwLubn9bkP7QuOye9wCMfXl2KWAcnaIuho','Diego Márquez','2024-12-13 11:39:05'),(132,5,'ryOfC6OqONtFgRz2bFMltX73qxb996tyqVM1NZMb','Diego Márquez','2024-12-13 11:44:43'),(133,23,'lq0UQHcYzoqGJmYHsTCA6ruplE0lm1GlquTXt81w','Roberto Pascual','2024-12-13 11:54:31'),(134,2,'Tl7xVh1My1v46J8mvbOY5hkM3SIjLvl0a9yVAfs0','Miguel Nebot','2024-12-13 12:07:59'),(135,3,'CxVAY1cY7JxQw7KoK0fw1EKHY5HbXiXOnhWRNcET','Vicente Zarzo Toutoundji','2024-12-13 12:32:50'),(136,2,'aFaxd05tBJzd2umYhLevGwLcxPAIWwKNbFItDFDL','Miguel Nebot','2024-12-16 07:21:53');

--
-- Table structure for table `notifications`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `notifications` (
  `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,
  `level` int DEFAULT NULL,
  `on_email` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `on_subject` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `on_body` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `on_type` int NOT NULL DEFAULT '0',
  `off_email` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `off_subject` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `off_body` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `off_type` int NOT NULL DEFAULT '1',
  `updates_resend` int DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notifications`
--


--
-- Table structure for table `notifications_emails_extra`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `notifications_emails_extra` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `idnotification` int DEFAULT NULL,
  `on_email` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `off_email` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `idgroup` (`idgroup`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notifications_emails_extra`
--


--
-- Table structure for table `notifications_levels`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `notifications_levels` (
  `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 `notifications_levels`
--


--
-- Table structure for table `notifications_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `notifications_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `iddevice_event` int DEFAULT NULL,
  `active` int DEFAULT NULL,
  `type` int DEFAULT NULL,
  `level` int DEFAULT NULL,
  `email` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subject` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `body` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `date` datetime DEFAULT NULL,
  `date_read` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `level` (`level`),
  KEY `date_read` (`date_read`),
  KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notifications_log`
--


--
-- Table structure for table `numbers`
--

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

--
-- Dumping data for table `numbers`
--


--
-- Table structure for table `output_config_schedule_list`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `output_config_schedule_list` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idoutput_config_schedule` int DEFAULT NULL,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `iddevice_type` int DEFAULT NULL,
  `output_number` 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,
  `power` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idgroup` (`idgroup`),
  KEY `iddevice` (`iddevice`),
  KEY `week_day` (`week_day`),
  KEY `time_start` (`time_start`),
  KEY `time_end` (`time_end`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `output_config_schedule_list`
--


--
-- Table structure for table `output_config_schedule_matrix`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `output_config_schedule_matrix` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `iddevice_type` int DEFAULT NULL,
  `output_number` 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 `output_config_schedule_matrix`
--


--
-- Table structure for table `output_config_schedule_matrix_total`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `output_config_schedule_matrix_total` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `iddevice_type` int DEFAULT NULL,
  `output_number` 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 `output_config_schedule_matrix_total`
--


--
-- Table structure for table `output_config_schedule_matrix_total_template`
--

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

--
-- Dumping data for table `output_config_schedule_matrix_total_template`
--


--
-- Table structure for table `outputs`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `outputs` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int NOT NULL,
  `output_number` int DEFAULT NULL,
  `idoutput_type` int NOT NULL,
  `idmode` int DEFAULT '0',
  `idstatus` int DEFAULT '0',
  `idstatus_date` datetime DEFAULT NULL,
  `idconfiguration` int DEFAULT NULL,
  `idconfiguration_date` datetime DEFAULT NULL,
  `manual_power` decimal(10,2) DEFAULT '0.00',
  `config_schedule_matrix` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `iddevice` (`iddevice`),
  KEY `idoutput_type` (`idoutput_type`),
  KEY `output_number` (`output_number`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outputs`
--


--
-- Table structure for table `outputs_config_schedule`
--

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

--
-- Dumping data for table `outputs_config_schedule`
--


--
-- Table structure for table `outputs_configurations`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `outputs_configurations` (
  `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,
  `idstatus` int DEFAULT NULL,
  `power` decimal(5,2) DEFAULT NULL,
  `switch_type` int DEFAULT NULL,
  `sensor_threshold_on` decimal(5,2) DEFAULT NULL,
  `sensor_threshold_off` decimal(5,2) DEFAULT NULL,
  `acustic_sensor_threshold_on` decimal(5,2) DEFAULT NULL,
  `mouvement_sensor_threshold_on` decimal(5,2) DEFAULT NULL,
  `time_on` time DEFAULT NULL,
  `parameters` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'sensor_umbral_on/off, sensor_acustico_umbral_on, sensor_movimiento_umbral_on, encendido_tiempo...',
  `idgroup` int DEFAULT NULL,
  `idfunction` int DEFAULT '0',
  `relays` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '000000',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outputs_configurations`
--


--
-- Table structure for table `outputs_deleted`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `outputs_deleted` (
  `id` int NOT NULL,
  `iddevice` int NOT NULL,
  `output_number` int DEFAULT NULL,
  `idoutput_type` int NOT NULL,
  `idmode` int DEFAULT '0',
  `idstatus` int DEFAULT '0',
  `idstatus_date` datetime DEFAULT NULL,
  `idconfiguration` int DEFAULT NULL,
  `idconfiguration_date` datetime DEFAULT NULL,
  `manual_power` decimal(10,2) DEFAULT '0.00',
  `config_schedule_matrix` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outputs_deleted`
--


--
-- Table structure for table `outputs_measurements`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `outputs_measurements` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idoutput` int DEFAULT NULL,
  `measurements` int DEFAULT '0',
  `measurements_date_first` datetime DEFAULT NULL,
  `measurements_date_last` datetime DEFAULT NULL,
  `start_date_last` datetime DEFAULT NULL,
  `power_active` decimal(10,2) DEFAULT NULL,
  `power_active_min` decimal(10,2) DEFAULT NULL,
  `power_active_max` decimal(10,2) DEFAULT NULL,
  `power_active_average` decimal(10,2) DEFAULT NULL,
  `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_average` decimal(10,2) DEFAULT NULL,
  `power_apparent` decimal(10,2) DEFAULT NULL,
  `power_apparent_min` decimal(10,2) DEFAULT NULL,
  `power_apparent_max` decimal(10,2) DEFAULT NULL,
  `power_apparent_average` decimal(10,2) DEFAULT NULL,
  `power_factor` decimal(10,2) DEFAULT NULL,
  `power_factor_min` decimal(10,2) DEFAULT NULL,
  `power_factor_max` decimal(10,2) DEFAULT NULL,
  `power_factor_average` decimal(10,2) DEFAULT NULL,
  `voltage` decimal(10,2) DEFAULT NULL,
  `voltage_min` decimal(10,2) DEFAULT NULL,
  `voltage_max` decimal(10,2) DEFAULT NULL,
  `voltage_average` decimal(10,2) DEFAULT NULL,
  `current` decimal(10,2) DEFAULT NULL,
  `current_min` decimal(10,2) DEFAULT NULL,
  `current_max` decimal(10,2) DEFAULT NULL,
  `current_average` decimal(10,2) DEFAULT NULL,
  `line_impedance` decimal(10,2) DEFAULT NULL,
  `line_impedance_min` decimal(10,2) DEFAULT NULL,
  `line_impedance_max` decimal(10,2) DEFAULT NULL,
  `line_impedance_average` decimal(10,2) DEFAULT NULL,
  `battery_status` decimal(10,2) DEFAULT NULL,
  `battery_status_min` decimal(10,2) DEFAULT NULL,
  `battery_status_max` decimal(10,2) DEFAULT NULL,
  `battery_status_average` decimal(10,2) DEFAULT NULL,
  `energy` decimal(10,2) DEFAULT NULL,
  `switching_on` int DEFAULT NULL,
  `switch_on_time` bigint DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `idoutput` (`idoutput`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outputs_measurements`
--


--
-- Table structure for table `outputs_modes`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `outputs_modes` (
  `id` int NOT NULL,
  `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 `outputs_modes`
--


--
-- Table structure for table `outputs_status`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `outputs_status` (
  `id` int NOT NULL,
  `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 `outputs_status`
--


--
-- Table structure for table `outputs_types`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `outputs_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,
  `parameters` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outputs_types`
--


--
-- Table structure for table `panels`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `panels` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `devices` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `measures` int DEFAULT NULL,
  `labels` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `input1` int DEFAULT NULL,
  `input2` int DEFAULT NULL,
  `input3` int DEFAULT NULL,
  `input4` int DEFAULT NULL,
  `input5` int DEFAULT NULL,
  `input6` int DEFAULT NULL,
  `input7` int DEFAULT NULL,
  `input8` int DEFAULT NULL,
  `input9` int DEFAULT NULL,
  `input10` int DEFAULT NULL,
  `active` int DEFAULT NULL,
  `reactive` int DEFAULT NULL,
  `active_total` int DEFAULT NULL,
  `reactive_total` int DEFAULT NULL,
  `power_factor` int DEFAULT NULL,
  `power_factor_total` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `panels`
--


--
-- Table structure for table `parameters`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `parameters` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` enum('Text','Multiselect') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value_options` json DEFAULT NULL,
  `idadmin_read` int DEFAULT '0',
  `idadmin_read_write` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=92 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `parameters`
--

INSERT INTO `parameters` VALUES (1,'Gateway-ID',NULL,'Text',NULL,2,0),(2,'Middleware-ID',NULL,'Text',NULL,2,2),(3,'Meter-ID',NULL,'Text',NULL,2,2),(4,'release_assistance',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Off\"}, {\"id\": 1, \"name\": \"On\"}]',2,2),(5,'delete_memory',NULL,'Multiselect','[{\"id\": 0, \"name\": \"No\"}, {\"id\": 1, \"name\": \"Yes\"}, {\"id\": 2, \"name\": \"Enabled\"}]',2,2),(6,'max_dtlog_msgs',NULL,'Text',NULL,2,2),(7,'max_dtlog_size',NULL,'Text',NULL,2,2),(8,'reset_meters',NULL,'Multiselect','[{\"id\": 0, \"name\": \"No\"}, {\"id\": 1, \"name\": \"Yes\"}]',2,2),(9,'private_key',NULL,'Text',NULL,3,3),(10,'loglive_level',NULL,'Multiselect','[{\"id\": 9, \"name\": \"Disabled\"}, {\"id\": 1, \"name\": \"All\"}, {\"id\": 2, \"name\": \"High\"}, {\"id\": 3, \"name\": \"Medium\"}]',1,1),(11,'reed_activation',NULL,'Multiselect','[{\"id\": 0, \"name\": \"No\"}, {\"id\": 1, \"name\": \"Yes\"}]',2,2),(12,'sformat',NULL,'Multiselect','[{\"id\": 0, \"name\": \"RAW Telegram\"}, {\"id\": 1, \"name\": \"Datakorum\"}]',2,2),(13,'pulse_on',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Disabled\"}, {\"id\": 1, \"name\": \"1 Meter\"}, {\"id\": 2, \"name\": \"2 Meters\"}, {\"id\": 3, \"name\": \"3 Meters\"}]',3,3),(14,'pulse_acc',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Off\"}, {\"id\": 1, \"name\": \"On\"}]',2,2),(15,'k2_factor',NULL,'Multiselect','[{\"id\": 1, \"name\": \"1\"}, {\"id\": 10, \"name\": \"10\"}, {\"id\": 100, \"name\": \"100\"}, {\"id\": 1000, \"name\": \"1000\"}]',3,3),(16,'wq',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Off\"}, {\"id\": 1, \"name\": \"On\"}]',2,2),(17,'overpressure_alarm',NULL,'Text',NULL,2,2),(18,'low_pressure_alarm',NULL,'Text',NULL,2,2),(19,'sensor',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Off\"}, {\"id\": 1, \"name\": \"On\"}]',2,2),(20,'sensor_log',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Reduced\"}, {\"id\": 1, \"name\": \"All\"}]',2,2),(21,'mbus_baudrate',NULL,'Text',NULL,3,3),(22,'apn',NULL,'Text',NULL,3,3),(23,'server',NULL,'Text',NULL,2,2),(24,'snbpower',NULL,'Multiselect','[{\"id\": 0, \"name\": \"On/Off\"}, {\"id\": 1, \"name\": \"PSM\"}]',2,2),(25,'meter_type',NULL,'Multiselect','[{\"id\": 1, \"name\": \"1 x M-Bus\"}, {\"id\": 2, \"name\": \"1 x ST\"}, {\"id\": 3, \"name\": \"2 x M-bus\"}]',1,1),(26,'mqtt_dc_on',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Disabled\"}, {\"id\": 1, \"name\": \"Enabled\"}]',1,1),(27,'PSM',NULL,'Text',NULL,2,2),(28,'sprotocol',NULL,'Multiselect','[{\"id\": \"UDP\", \"name\": \"UDP\"}, {\"id\": \"TCP\", \"name\": \"TCP\"}]',2,2),(29,'sport',NULL,'Multiselect','[{\"id\": 9998, \"name\": 9998}, {\"id\": 443, \"name\": 443}, {\"id\": 80, \"name\": 80}, {\"id\": 1883, \"name\": 1883}]',2,2),(30,'eDRX',NULL,'Multiselect','[{\"id\": 0, \"name\": \"0 s\"}, {\"id\": 1, \"name\": \"5.12 s\"}, {\"id\": 2, \"name\": \"10.24 s\"}, {\"id\": 3, \"name\": \"20.48 s\"}, {\"id\": 4, \"name\": \"40.96 s\"}, {\"id\": 5, \"name\": \"61.44 s\"}, {\"id\": 6, \"name\": \"81.92 s\"}, {\"id\": 7, \"name\": \"102.4 s\"}, {\"id\": 8, \"name\": \"122.88 s\"}, {\"id\": 9, \"name\": \"143.36 s\"}, {\"id\": 10, \"name\": \"163.84 s\"}, {\"id\": 11, \"name\": \"327.68 s\"}, {\"id\": 12, \"name\": \"655.36 s\"}, {\"id\": 13, \"name\": \"1310.72 s\"}, {\"id\": 14, \"name\": \"2621.44 s\"}, {\"id\": 15, \"name\": \"2621.44 s\"}, {\"id\": 16, \"name\": \"10485.76 s\"}]',2,2),(31,'retries_socket',NULL,'Text',NULL,2,2),(32,'retries_server',NULL,'Text',NULL,2,2),(33,'Keepalive',NULL,'Text',NULL,1,1),(34,'no_ack',NULL,'Text',NULL,2,2),(35,'period',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Off\"}, {\"id\": 1, \"name\": \"On\"}]',2,2),(36,'sync_read',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Off\"}, {\"id\": 1, \"name\": \"On\"}]',2,2),(37,'rt_period',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Disabled\"}, {\"id\": 15, \"name\": \"15 min\"}, {\"id\": 60, \"name\": \"60 min\"}, {\"id\": 360, \"name\": \"6 hours\"}]',3,3),(38,'st_period',NULL,'Multiselect','[{\"id\": 15, \"name\": \"15 min\"}, {\"id\": 60, \"name\": \"1 hour\"}, {\"id\": 120, \"name\": \"2 hours\"}, {\"id\": 240, \"name\": \"4 hours\"}, {\"id\": 360, \"name\": \"6 hours\"}, {\"id\": 1440, \"name\": \"24 hours\"}]',3,3),(39,'timeout_connection',NULL,'Text',NULL,2,2),(40,'timeout_server',NULL,'Text',NULL,2,2),(41,'reset_time',NULL,'Text',NULL,2,2),(42,'version_firmware',NULL,'Text',NULL,2,0),(43,'fwupdate',NULL,'Multiselect','[{\"id\": 0, \"name\": \"No\"}, {\"id\": 1, \"name\": \"Yes\"}]',2,2),(44,'parameters_modbus',NULL,NULL,NULL,3,3),(45,'parameters_dlms',NULL,NULL,NULL,3,3),(46,'firmware_version',NULL,NULL,NULL,2,2),(47,'reed_min_time',NULL,'Text',NULL,1,1),(48,'reed_max_time',NULL,'Text',NULL,1,1),(49,'reed_shutdown_time',NULL,'Text',NULL,1,1),(50,'reed_reset_time',NULL,'Text',NULL,1,1),(51,'reed_factory_reset_time',NULL,'Text',NULL,1,1),(52,'erase_params',NULL,'Multiselect','[{\"id\": 0, \"name\": \"No\"}, {\"id\": 1, \"name\": \"Yes\"}]',1,1),(53,'net_psm',NULL,'Multiselect','[{\"id\": 0, \"name\": \"PSM\"}, {\"id\": 1, \"name\": \"ON/OFF\"}]',1,1),(54,'net_tech',NULL,'Multiselect','[{\"id\": 0, \"name\": \"NB-IOT\"}, {\"id\": 1, \"name\": \"CAT M1\"}]',1,1),(55,'keep_alive',NULL,'Multiselect','[{\"id\": 1800, \"name\": \"30 min\"}, {\"id\": 3600, \"name\": \"1 hour\"}, {\"id\": 7200, \"name\": \"2 hours\"}, {\"id\": 21600, \"name\": \"6 hours\"}, {\"id\": 43200, \"name\": \"12 hours\"}]',1,1),(56,'night_start',NULL,'Text',NULL,1,1),(57,'night_end',NULL,'Text',NULL,1,1),(58,'downsampling',NULL,'Text',NULL,1,1),(59,'hwaas',NULL,'Text',NULL,1,1),(60,'range_start',NULL,'Text',NULL,1,1),(61,'lenght_m',NULL,'Text',NULL,1,1),(62,'gain',NULL,'Text',NULL,1,1),(63,'running_average_factor',NULL,'Text',NULL,1,1),(64,'buffer_size',NULL,'Text',NULL,1,1),(65,'weight_threshold',NULL,'Text',NULL,1,1),(66,'displacement_threshold',NULL,'Text',NULL,1,1),(67,'weight_ratio_threshold',NULL,'Text',NULL,1,1),(68,'background_level',NULL,'Text',NULL,1,1),(69,'max_leak_amplitude',NULL,'Text',NULL,1,1),(70,'position_leak_sample',NULL,'Text',NULL,1,1),(71,'position_leak_end',NULL,'Text',NULL,1,1),(72,'psm',NULL,'Text',NULL,1,1),(73,'sampling_time_day',NULL,'Text',NULL,1,1),(74,'fw_block_size',NULL,'Text',NULL,1,1),(75,'no_ack',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Necessary\"}, {\"id\": 1, \"name\": \"Not necessary\"}]',2,2),(76,'MODBUS_dt',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Off\"}, {\"id\": 1, \"name\": \"Standard\"}, {\"id\": 2, \"name\": \"DLT645\"}]',3,3),(77,'modbus_speed',NULL,'Multiselect','[{\"id\": 1200, \"name\": 1200}, {\"id\": 2400, \"name\": 2400}, {\"id\": 3600, \"name\": 3600}, {\"id\": 4800, \"name\": 4800}, {\"id\": 9600, \"name\": 9600}, {\"id\": 19200, \"name\": 19200}, {\"id\": 38400, \"name\": 38400}, {\"id\": 57600, \"name\": 57600}, {\"id\": 115200, \"name\": 115200}]',3,3),(78,'modbus_mode',NULL,'Multiselect','[{\"id\": 0, \"name\": \"8N1\"}, {\"id\": 1, \"name\": \"8N2\"}]',3,3),(79,'modbus_parity',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Even\"}, {\"id\": 1, \"name\": \"Odd\"}, {\"id\": 2, \"name\": \"No Parity\"}]',3,3),(80,'slave_id',NULL,'Text',NULL,3,3),(81,'modbus_read',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Disabled\"}, {\"id\": 30, \"name\": \"30 sec\"}, {\"id\": 900, \"name\": \"15 min\"}, {\"id\": 3600, \"name\": \"1 hour\"}, {\"id\": 21600, \"name\": \"6 hours\"}]',3,3),(82,'modbus_send',NULL,'Multiselect','[{\"id\": 900, \"name\": \"15 min\"}, {\"id\": 3600, \"name\": \"1 hour\"}]',3,3),(83,'function',NULL,'Text',NULL,3,3),(84,'addr',NULL,'Text',NULL,3,3),(85,'quantity',NULL,'Text',NULL,3,3),(86,'dlms_enable',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Off\"}, {\"id\": 1, \"name\": \"On\"}]',3,3),(87,'dlms_cl_address',NULL,'Text',NULL,3,3),(88,'dlms_srv_address',NULL,'Text',NULL,3,3),(89,'dlms_authen_pass',NULL,'Text',NULL,3,3),(90,'dlms_baudrate',NULL,'Text',NULL,3,3),(91,'local_port',NULL,'Multiselect','[{\"id\": 0, \"name\": \"Locked\"}, {\"id\": 1, \"name\": \"Unlocked\"}]',3,3);

--
-- Table structure for table `password_reset_tokens`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `password_reset_tokens`
--


--
-- Table structure for table `personal_access_tokens`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `personal_access_tokens` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tokenable_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `tokenable_id` bigint unsigned NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `abilities` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`)
) ENGINE=InnoDB AUTO_INCREMENT=116 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `personal_access_tokens`
--

INSERT INTO `personal_access_tokens` VALUES (1,'App\\Models\\User',1,'admin','fa1a63c3f09f60ef1b4af450edd0348a5fb408d20c1748764c1534170c7f729e','[\"*\"]',NULL,NULL,'2024-11-12 10:03:03','2024-11-12 10:03:03'),(2,'App\\Models\\User',1,'admin','69a8a50a0d2cdb1a0129841772401cf8a6f2fd967c2ff4914a3ceb2afb640da9','[\"*\"]',NULL,NULL,'2024-11-12 10:38:13','2024-11-12 10:38:13'),(3,'App\\Models\\User',2,'mobile-app-token','13ea741d643e450ce67017e45cf55af5804eb42b4e30267045d9156e9eba672d','[\"*\"]',NULL,NULL,'2024-11-12 11:23:11','2024-11-12 11:23:11'),(4,'App\\Models\\User',2,'mobile-app-token','161eb11784dfaf262f078ff32a2c7373bf6135b926e3897befa252f7fe180d1a','[\"*\"]',NULL,NULL,'2024-11-12 11:25:40','2024-11-12 11:25:40'),(5,'App\\Models\\User',2,'mobile-app-token','f1b49615de352bfe720642c4d0c74257e6ffd1d003decd96ba89dea650ae3664','[\"*\"]',NULL,NULL,'2024-11-12 11:33:59','2024-11-12 11:33:59'),(6,'App\\Models\\User',2,'mobile-app-token','58be62407ba0db13303d3d55df20fe363409e899b2b4e1fa7e5856db2a10b3c6','[\"*\"]',NULL,NULL,'2024-11-12 11:36:15','2024-11-12 11:36:15'),(7,'App\\Models\\User',2,'mobile-app-token','462cfbe16ec1fb2ff094d9da809534e38d6ea2274722b82c229fe4091b29d1f9','[\"*\"]',NULL,NULL,'2024-11-12 11:48:23','2024-11-12 11:48:23'),(8,'App\\Models\\User',2,'mobile-app-token','93210832ef7786b22debf1fd78ef445fab25921aca59eafad457df94397bec6b','[\"*\"]',NULL,NULL,'2024-11-12 11:49:44','2024-11-12 11:49:44'),(9,'App\\Models\\User',2,'mobile-app-token','002b7153f1ebdbf23645441e54b3d6001868792d05b115f05d3a940d76d95847','[\"*\"]',NULL,NULL,'2024-11-12 11:51:59','2024-11-12 11:51:59'),(10,'App\\Models\\User',2,'mobile-app-token','5dbfd1fe23c9e904b30368e03494800d8e4f7f5b56e68d8618dee8b9060e0604','[\"*\"]',NULL,NULL,'2024-11-12 11:59:55','2024-11-12 11:59:55'),(11,'App\\Models\\User',2,'mobile-app-token','9f2336b4a9afc70c7adb2a3bb62775a98aa18e4d7cbc6484819757aa441dd075','[\"*\"]',NULL,NULL,'2024-11-12 12:51:23','2024-11-12 12:51:23'),(12,'App\\Models\\User',2,'mobile-app-token','96922cf24b314e4a827148966c23f5c546ac0080504aa396da35f8e74d7bb131','[\"*\"]',NULL,NULL,'2024-11-12 14:06:25','2024-11-12 14:06:25'),(13,'App\\Models\\User',2,'mobile-app-token','bb03c6930d95388b0a864d16eb6997b7fed54f7fde78436daa46f21db4589ab3','[\"*\"]',NULL,NULL,'2024-11-12 14:54:36','2024-11-12 14:54:36'),(14,'App\\Models\\User',2,'mobile-app-token','af346f5a2b4b6ef2f0fdfa212913198c9b66b859f58c8ecf8799d99939e06533','[\"*\"]',NULL,NULL,'2024-11-12 14:55:22','2024-11-12 14:55:22'),(15,'App\\Models\\User',2,'mobile-app-token','a86e944464c4880171f78736a0e2e1d121c8391afa8beb2061532b65d615da36','[\"*\"]',NULL,NULL,'2024-11-12 14:56:35','2024-11-12 14:56:35'),(16,'App\\Models\\User',2,'mobile-app-token','6eb73dbd14d2fd33f7e1b254f25ca1cc933c5223a17a90f21a16ffee3c057c80','[\"*\"]',NULL,NULL,'2024-11-12 14:56:49','2024-11-12 14:56:49'),(17,'App\\Models\\User',2,'mobile-app-token','87a61c1768c200aa187afaae772d5c83aeb426a774617711d8a1e9df53f1c518','[\"*\"]',NULL,NULL,'2024-11-12 15:00:53','2024-11-12 15:00:53'),(18,'App\\Models\\User',2,'mobile-app-token','e564763d69dfa6b5ed7bc821974d014635ebf7445bf57054577e2d838ece1b78','[\"*\"]',NULL,NULL,'2024-11-12 15:12:00','2024-11-12 15:12:00'),(19,'App\\Models\\User',2,'mobile-app-token','f3e4655924c74d8493a85d7cd6bcffef34d9e43c3c61772017965e9347652c82','[\"*\"]',NULL,NULL,'2024-11-12 15:12:27','2024-11-12 15:12:27'),(20,'App\\Models\\User',2,'mobile-app-token','c4d9123ee102bdedea6cc49cb9d8bbcb5310a7a42b09bd95fd627118cc759610','[\"*\"]',NULL,NULL,'2024-11-12 16:08:09','2024-11-12 16:08:09'),(21,'App\\Models\\User',2,'mobile-app-token','7ea9bbabe7e89d5680e049381b4f85872d20e7ce836f61a33ea43bbefc9f7d92','[\"*\"]',NULL,NULL,'2024-11-12 16:09:35','2024-11-12 16:09:35'),(22,'App\\Models\\User',2,'mobile-app-token','7f8bd83d8b674f2d64bf918e6decf77410fe0363734b61a95605bac1107a11d2','[\"*\"]',NULL,NULL,'2024-11-12 16:21:31','2024-11-12 16:21:31'),(23,'App\\Models\\User',2,'mobile-app-token','727ab4d88af9ce305db57c4c12bcf9b300e5c5a7b7afaaeec312d7a800b36583','[\"*\"]',NULL,NULL,'2024-11-12 16:28:44','2024-11-12 16:28:44'),(24,'App\\Models\\User',2,'mobile-app-token','11a790248e0a74b198cb4d4fd4d68f985f84e759b40bb9227ea98603a4e1e211','[\"*\"]',NULL,NULL,'2024-11-13 13:08:27','2024-11-13 13:08:27'),(25,'App\\Models\\User',2,'mobile-app-token','37dcda76a98ca1feed613e6012cdb763653651b1f7bde175e45d45f361ed6bca','[\"*\"]',NULL,NULL,'2024-11-14 07:50:05','2024-11-14 07:50:05'),(26,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','45850939d51f85ea2cfbe95b5b442d34d783585aee61c05234197f45ac54622f','[\"*\"]',NULL,NULL,'2024-11-19 12:16:13','2024-11-19 12:16:13'),(27,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','ca8ed9a65bb05ba4e7dbc4a0e42504a752032d1db9bf08a652c8493763c49ecd','[\"*\"]',NULL,NULL,'2024-11-20 11:18:21','2024-11-20 11:18:21'),(28,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','9ef17fe809f78fb44f9ceb273a52a7033fdc88bb74ee964d340600d2bac9c899','[\"*\"]',NULL,NULL,'2024-11-20 12:08:49','2024-11-20 12:08:49'),(29,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','34b2430b5e3eda935cabad0b5d3e472257303b81465edba3d083bdc77c970987','[\"*\"]',NULL,NULL,'2024-11-21 08:07:37','2024-11-21 08:07:37'),(30,'App\\Models\\User',19,'Miguel Toledo','77053d34110a445e4568766808270596bddb8ba438cebff2b6a997145f2c36b6','[\"*\"]',NULL,NULL,'2024-11-21 08:09:10','2024-11-21 08:09:10'),(31,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','593283bcab24f902667656ddb4f4de28e6f4caf442b391a8b5ea177dcb3f6569','[\"*\"]',NULL,NULL,'2024-11-21 08:10:32','2024-11-21 08:10:32'),(32,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','24ade6029732a7f8d6e2f00875d2b39f22e565a012bf5bd2cb16025def01f784','[\"*\"]',NULL,NULL,'2024-11-21 09:27:34','2024-11-21 09:27:34'),(33,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','92684d0eaffcc927f3b3644447e855a0b598e9acfc6628d1afe8ecbf1e4e5f34','[\"*\"]',NULL,NULL,'2024-11-21 10:16:48','2024-11-21 10:16:48'),(34,'App\\Models\\User',5,'Diego Márquez','9b986b01fd5dd02a6755471e98f7fdfe78d276e537342ccce50f369508ec025a','[\"*\"]',NULL,NULL,'2024-11-21 10:44:53','2024-11-21 10:44:53'),(35,'App\\Models\\User',5,'Diego Márquez','bd0e171876e80773997fd347eac5ac8e5cccfe07c078888884fec7ef82582716','[\"*\"]',NULL,NULL,'2024-11-21 10:45:46','2024-11-21 10:45:46'),(36,'App\\Models\\User',16,'Jose Moril','4ea1526f8fc48ed74cfa1177e7bd008923b478c54116a5312bf35ef7ac58586e','[\"*\"]',NULL,NULL,'2024-11-21 10:46:49','2024-11-21 10:46:49'),(37,'App\\Models\\User',25,'Test','6d6d31baa5d8f2121918d5a1564cada1ed29efa13f58ffc188c6a075a1e4b7a0','[\"*\"]',NULL,NULL,'2024-11-21 11:26:38','2024-11-21 11:26:38'),(38,'App\\Models\\User',5,'Diego Márquez','fc89d94c860684ce422da1d6210953608047d2732fe9edf6d21726f3f6c5711e','[\"*\"]',NULL,NULL,'2024-11-21 11:31:46','2024-11-21 11:31:46'),(39,'App\\Models\\User',5,'Diego Márquez','55cd7d98b91baf7aa7ec24519ddaaa3272df19623dfe59a2ef6cec2f4a09ca51','[\"*\"]',NULL,NULL,'2024-11-21 12:10:07','2024-11-21 12:10:07'),(40,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','1a89c3e2e261ef3fb9a693756f450cb939061212c247c3915e646625a2d12974','[\"*\"]',NULL,NULL,'2024-11-22 06:58:25','2024-11-22 06:58:25'),(41,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','e3076636e4a88b179aab9bec0b42260ffafe8be56b1cded7d7ad5931f0982a4f','[\"*\"]',NULL,NULL,'2024-11-22 09:22:36','2024-11-22 09:22:36'),(42,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','9ff94672b4f04856ee20f4eb2489964a22fdd350690553448cebacd3bda3e55f','[\"*\"]',NULL,NULL,'2024-11-22 12:33:29','2024-11-22 12:33:29'),(43,'App\\Models\\User',5,'Diego Márquez','f2e92f5e1af778153462430895e00b8c63f8bfc8aae866e401a434549986c50c','[\"*\"]',NULL,NULL,'2024-11-25 07:52:43','2024-11-25 07:52:43'),(44,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','ef20e83fb4a16e347446c9e4c17af413b79e51cae96b834f9de9d94289961449','[\"*\"]',NULL,NULL,'2024-11-26 12:30:39','2024-11-26 12:30:39'),(45,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','3064b4e347ba0690cab6343122df1c0f8093d113ed25db403415a089460ee985','[\"*\"]',NULL,NULL,'2024-11-27 07:06:23','2024-11-27 07:06:23'),(46,'App\\Models\\User',20,'Rafael Milara','7cbb15798e762328dbe4be46421dd831cfa1a88bc2c086692a4ecb6d647fcb0c','[\"*\"]',NULL,NULL,'2024-11-27 08:17:04','2024-11-27 08:17:04'),(47,'App\\Models\\User',24,'jrudilla','c0e1f8cef476d3894fccbbb6317d471068bc4319d8f03c519881cb5d12960bb2','[\"*\"]',NULL,NULL,'2024-11-27 08:18:17','2024-11-27 08:18:17'),(48,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','efa422c3bcec6e8cc25b19a247d693fec44a468c93cf7803354deabba077650a','[\"*\"]',NULL,NULL,'2024-11-27 11:07:19','2024-11-27 11:07:19'),(49,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','4dca45e465fc4156a18bd30207d42cc40f9b198295d3588d966463f4c65a573a','[\"*\"]',NULL,NULL,'2024-11-28 08:08:20','2024-11-28 08:08:20'),(50,'App\\Models\\User',5,'Diego Márquez','a9d1ad9513f96f213be2c60d65b6387d2b022449a6a6fe6c4f63aee772bd2c4b','[\"*\"]',NULL,NULL,'2024-11-28 12:34:37','2024-11-28 12:34:37'),(51,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','18e33972ec0985dd23b4eff9700e165335771fc7ecad4741d25bcc1c9e8b6175','[\"*\"]',NULL,NULL,'2024-11-29 08:14:47','2024-11-29 08:14:47'),(52,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','1c27644d088c3c1d7aa928c81063d41a0d37e25e69cb82ad705de645e086df60','[\"*\"]',NULL,NULL,'2024-11-29 08:47:50','2024-11-29 08:47:50'),(53,'App\\Models\\User',5,'Diego Márquez','5711c4ff92279445df1c2634e8356c47f8acf6f37ca515c8079faf64607fbbc1','[\"*\"]',NULL,NULL,'2024-11-29 09:48:31','2024-11-29 09:48:31'),(54,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','783378b106489e62c371f30c8dacfc26e1a130e329056d0c9a61d6351d4dbbe1','[\"*\"]',NULL,NULL,'2024-12-02 09:28:12','2024-12-02 09:28:12'),(55,'App\\Models\\User',5,'Diego Márquez','37a19d2b91f799e788b2ff0e4b9eeb131e86de6bec8f2a889fe17617c5ba01a5','[\"*\"]',NULL,NULL,'2024-12-02 10:08:29','2024-12-02 10:08:29'),(56,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','f9d5a97ee9def7cb81ebde32b7dd85d8cc9c4bd07d0742aed0d911d7ab743679','[\"*\"]',NULL,NULL,'2024-12-03 07:13:21','2024-12-03 07:13:21'),(57,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','d6208443b6eadc3b3601e23c787c779a6548c9011739cc19f7f49968a52b3fce','[\"*\"]',NULL,NULL,'2024-12-03 12:09:58','2024-12-03 12:09:58'),(58,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','86d3403406e93006d6f5836b84b4eebf923e29cceb0891f56940b32561bad02e','[\"*\"]',NULL,NULL,'2024-12-03 13:31:15','2024-12-03 13:31:15'),(59,'App\\Models\\User',12,'Andreu Sambonet','0fff34974eac9077fd9c83c2c3dcdca5dc062d81df3892542a1c4a7033c23bb6','[\"*\"]',NULL,NULL,'2024-12-03 16:33:19','2024-12-03 16:33:19'),(60,'App\\Models\\User',16,'Jose Moril','061686ef5a0c6aa02fc91af6573f59b7fba4171ff945082b3a269722e1b08976','[\"*\"]',NULL,NULL,'2024-12-03 16:33:53','2024-12-03 16:33:53'),(61,'App\\Models\\User',17,'Antonio Calonge','9ded13fdd8406d586ee32e6ae6859644a52e5968629aa104c521e1addf0a80c0','[\"*\"]',NULL,NULL,'2024-12-04 07:37:12','2024-12-04 07:37:12'),(62,'App\\Models\\User',17,'Antonio Calonge','fe93699cb4cd7d53f91213e97bbd7f830a33a937492c727a24a91a20f69d9908','[\"*\"]',NULL,NULL,'2024-12-04 08:02:51','2024-12-04 08:02:51'),(63,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','3d386b028e48441e1ce3cba86b4d3825e20eee72c1eff78e5f3b357774f9bf39','[\"*\"]',NULL,NULL,'2024-12-04 08:07:37','2024-12-04 08:07:37'),(64,'App\\Models\\User',17,'Antonio Calonge','fa758a87de78ff34c1cc0d6576e53c6da294b3d1c9774096422ca868e9fe3e01','[\"*\"]',NULL,NULL,'2024-12-04 08:07:55','2024-12-04 08:07:55'),(65,'App\\Models\\User',12,'Andreu Sambonet','9a8c571938714e7d01f63e674174d35f2e5ab3f98387d81534e36eccfb550d40','[\"*\"]',NULL,NULL,'2024-12-04 08:26:58','2024-12-04 08:26:58'),(66,'App\\Models\\User',24,'jrudilla','e5ee88f3db75cfe65a1f63fa2bb46d15f6ca21bc72dd3a5a3e6a688360738bf9','[\"*\"]',NULL,NULL,'2024-12-04 09:40:58','2024-12-04 09:40:58'),(67,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','ea15a8fe2666d1408ba80e5070d8b0abb4b01782af17bf7cee5fb1463c820332','[\"*\"]',NULL,NULL,'2024-12-04 10:08:53','2024-12-04 10:08:53'),(68,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','f10d32e8b94097d2bc51fe4c828aaab9d84712ec36c4a9a28efd3f7b842976e9','[\"*\"]',NULL,NULL,'2024-12-04 10:30:11','2024-12-04 10:30:11'),(69,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','2efbd67ba81d5ea8ded4c4a00add6129941e60c65d9cc5e727843370434f0abb','[\"*\"]',NULL,NULL,'2024-12-04 12:01:53','2024-12-04 12:01:53'),(70,'App\\Models\\User',5,'Diego Márquez','328e4f9670477c300f26522c7f2e9fa9e4646b96a1b85f883b101460fe9b671d','[\"*\"]',NULL,NULL,'2024-12-04 12:56:39','2024-12-04 12:56:39'),(71,'App\\Models\\User',12,'Andreu Sambonet','07cd34cb8a127460b83c978f9fd9480c7b8d70701a886b206c31cb2e5bc91858','[\"*\"]',NULL,NULL,'2024-12-04 13:43:24','2024-12-04 13:43:24'),(72,'App\\Models\\User',12,'Andreu Sambonet','58c60ef5a0acda46dd8b8b70de0ec1c2c2f2727d5e9b9a5a69dda781e6315173','[\"*\"]',NULL,NULL,'2024-12-04 13:44:06','2024-12-04 13:44:06'),(73,'App\\Models\\User',12,'Andreu Sambonet','21e2d38308ce5284fd734eefe20f545b41152dbe1f6cc006bff7bd99792d0291','[\"*\"]',NULL,NULL,'2024-12-05 08:52:27','2024-12-05 08:52:27'),(74,'App\\Models\\User',7,'Jorge Benedicto','5072e67898678e3903d16ebd12652177638d70d6abed36765c75138622c41770','[\"*\"]',NULL,NULL,'2024-12-05 08:52:35','2024-12-05 08:52:35'),(75,'App\\Models\\User',7,'Jorge Benedicto','ca1180f83c7cd93099d4bc2ddd5923f721931d772842902e79a2a436aad2890f','[\"*\"]',NULL,NULL,'2024-12-05 08:53:09','2024-12-05 08:53:09'),(76,'App\\Models\\User',24,'jrudilla','b237ad703edb1654c66aaf6721dd35359c4cb9794b605351215dc51ec6fe1beb','[\"*\"]',NULL,NULL,'2024-12-05 11:37:23','2024-12-05 11:37:23'),(77,'App\\Models\\User',24,'jrudilla','b43726443b14bb10fc21f124a83e9e023240722d1cebd645a99a172ef41f147a','[\"*\"]',NULL,NULL,'2024-12-05 11:37:57','2024-12-05 11:37:57'),(78,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','bd8a284c1d601bcfb11cfe22478a7c7e85ffc5995d2b716031a5903f1dabfee8','[\"*\"]',NULL,NULL,'2024-12-05 11:44:00','2024-12-05 11:44:00'),(79,'App\\Models\\User',18,'Jesus Chover','2909461840711e7c24ea14f5f3768f789b0af4973274bc826d5c58a8359a308f','[\"*\"]',NULL,NULL,'2024-12-09 08:13:42','2024-12-09 08:13:42'),(80,'App\\Models\\User',2,'Miguel Nebot','1c0c6ae5f7c7a4c2926f46c5f7e98bc281fdaf4ad8ac4b8fbe9fde1792a2f62d','[\"*\"]',NULL,NULL,'2024-12-09 08:14:05','2024-12-09 08:14:05'),(81,'App\\Models\\User',2,'Miguel Nebot','3c551e2ecc4bfa3831a89384371b1a9d3dc9edd37e405059f871c9baeb0ac0e0','[\"*\"]',NULL,NULL,'2024-12-09 08:18:43','2024-12-09 08:18:43'),(82,'App\\Models\\User',5,'Diego Márquez','f33ecf1b68e297491a727b8aa06e6482d58df4c485245cd6b101c3de70ad3e81','[\"*\"]',NULL,NULL,'2024-12-09 09:52:19','2024-12-09 09:52:19'),(83,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','33af6f48f5a2e11e1d807484900e29f1ea14742aef62608417bb06d16e8b547f','[\"*\"]',NULL,NULL,'2024-12-10 07:08:52','2024-12-10 07:08:52'),(84,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','c82309600d21f6d6e5bb30fa79799e3ca7cbf2a9cd34f804405b9d4eefd2aeb0','[\"*\"]',NULL,NULL,'2024-12-10 08:23:17','2024-12-10 08:23:17'),(85,'App\\Models\\User',13,'Jose Manuel Rodríguez','5b0f2a2c0be42a1b7977a5cb4739dc4c2de571e3bcedc1b4ef5f8c3916cb434f','[\"*\"]',NULL,NULL,'2024-12-10 08:24:57','2024-12-10 08:24:57'),(86,'App\\Models\\User',13,'Jose Manuel Rodríguez','ff32dd15ea766c9a430fdb80d2c0fcf51739e36c0965e66e159076cdc244d9be','[\"*\"]',NULL,NULL,'2024-12-10 08:33:00','2024-12-10 08:33:00'),(87,'App\\Models\\User',13,'Jose Manuel Rodríguez','bb5a8bfbd2d34ec8a20665875e65c333a4e2f4dce19de22311194e65b22ed613','[\"*\"]',NULL,NULL,'2024-12-10 08:40:16','2024-12-10 08:40:16'),(88,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','6ee98ebab12a05fcf6cfb24f489b3414224a00192626b76a2a8dcc170440fc3c','[\"*\"]','2024-12-10 14:38:19',NULL,'2024-12-10 09:26:18','2024-12-10 14:38:19'),(89,'App\\Models\\User',23,'Roberto Pascual','db8ea967e43fd42422d64177592ab400f4a00c0590fa264b4b679b7630a8c4b0','[\"*\"]',NULL,NULL,'2024-12-10 09:32:19','2024-12-10 09:32:19'),(90,'App\\Models\\User',23,'Roberto Pascual','07fe80e46ca33e6fe272de7cc566e265d9178cd9106c9cd9cbf285059b01a542','[\"*\"]',NULL,NULL,'2024-12-10 09:33:22','2024-12-10 09:33:22'),(91,'App\\Models\\User',5,'Diego Márquez','f53fec80038ea29d7e01816953457095a8e2c218d174b31281578125b9e97914','[\"*\"]',NULL,NULL,'2024-12-10 10:33:30','2024-12-10 10:33:30'),(92,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','fbe3d9f8f8d36a73e8fee07827f9b57184544f428ae363aead81a5a558abccc1','[\"*\"]',NULL,NULL,'2024-12-10 10:54:39','2024-12-10 10:54:39'),(93,'App\\Models\\User',5,'Diego Márquez','af318af28058e0b9e68a3780269f4f7e5e383a368b300901db5ad872c1b16f6d','[\"*\"]',NULL,NULL,'2024-12-10 12:46:26','2024-12-10 12:46:26'),(94,'App\\Models\\User',2,'Miguel Nebot','d9a3fbd53446868118f809224073308328dc8bfdb2d196cde849a3c0c36ce7c6','[\"*\"]',NULL,NULL,'2024-12-10 14:06:42','2024-12-10 14:06:42'),(95,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','d099f82d0745b4446f759a66d5f0d9c96e66d5a2ed7e86da7ae8b210cf061594','[\"*\"]',NULL,NULL,'2024-12-10 15:15:24','2024-12-10 15:15:24'),(96,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','25b3221aea39d44b1f49de238214a6a572f3c63394d71825328a3149ed9253b6','[\"*\"]',NULL,NULL,'2024-12-11 07:16:07','2024-12-11 07:16:07'),(97,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','39d5ae2ae467445c3ed8da944d4f5839128b7f8c22072a0f5e4bf670f2e28aab','[\"*\"]','2024-12-11 10:05:01',NULL,'2024-12-11 07:32:46','2024-12-11 10:05:01'),(98,'App\\Models\\User',18,'Jesus Chover','c778eb46250d6f2c52931246b7fc0e210942e9b69e3f8a5ef83e7ce012e6b3e9','[\"*\"]',NULL,NULL,'2024-12-11 08:15:12','2024-12-11 08:15:12'),(99,'App\\Models\\User',23,'Roberto Pascual','285f83d07f455691173d25401ac79ac3b11afc1c21a5bc9dd36010c0a3a7e9f9','[\"*\"]','2024-12-12 16:21:23',NULL,'2024-12-11 08:30:02','2024-12-12 16:21:23'),(100,'App\\Models\\User',8,'Jorge Martin','14200ed5615e580ff0332a0dd5fdd0aeb730d7164dc0fdef862f55a1dc5d3275','[\"*\"]',NULL,NULL,'2024-12-11 09:41:49','2024-12-11 09:41:49'),(101,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','5d3baa0d5066a807b1a8e958a3a07834f6077ef05fddf4f0cacf0491bc1fe572','[\"*\"]',NULL,NULL,'2024-12-11 11:08:18','2024-12-11 11:08:18'),(102,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','ec2ce29ac12911c35aac2b0e6b38dd9e84a0923946039c73340c9ee775b4dfca','[\"*\"]',NULL,NULL,'2024-12-11 15:25:13','2024-12-11 15:25:13'),(103,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','aba0af20b10ac49949baad71dbc5b17453636ff172f01ee3e761d068b24dbc83','[\"*\"]',NULL,NULL,'2024-12-12 07:13:53','2024-12-12 07:13:53'),(104,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','8a14383d73a0b696fd6a6feb0f78d8eeeac81ea6f2b815604d62c7c0aeff1a20','[\"*\"]',NULL,NULL,'2024-12-12 10:58:20','2024-12-12 10:58:20'),(105,'App\\Models\\User',23,'Roberto Pascual','dc17cdfc1bf24d963e5d6cbdbd9dd678116ec880a4823b305ee7c10470055c1f','[\"*\"]','2024-12-13 07:48:42',NULL,'2024-12-12 16:30:26','2024-12-13 07:48:42'),(106,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','565e3823cc8bcc91ca0ad27df2512306c1518e93ec17257fedb06bfab026f63e','[\"*\"]','2024-12-13 12:20:10',NULL,'2024-12-13 07:01:50','2024-12-13 12:20:10'),(107,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','f00af13e4a1390a701902103efc2bee30e5a210a8d2b45bbadb60d0db78d33c1','[\"*\"]',NULL,NULL,'2024-12-13 07:02:23','2024-12-13 07:02:23'),(108,'App\\Models\\User',6,'Lara Trilles','dcbeef68fa27d71f74641dfb175281262f5363228e28b64231f8e44a0f9d2c41','[\"*\"]',NULL,NULL,'2024-12-13 09:00:04','2024-12-13 09:00:04'),(109,'App\\Models\\User',2,'Miguel Nebot','091751a958727a38915c0f4e5e79650853be166cea40e75c17c7e599b58b5ba0','[\"*\"]',NULL,NULL,'2024-12-13 09:13:50','2024-12-13 09:13:50'),(110,'App\\Models\\User',23,'Roberto Pascual','08ca0e54adc5d2c2c8503af7a31456e0974403378da5ee60925ec54582b03ee7','[\"*\"]',NULL,NULL,'2024-12-13 09:15:16','2024-12-13 09:15:16'),(111,'App\\Models\\User',5,'Diego Márquez','17565a305376c9fbb5b55e542f7bd57072a615eebe0d3f88de5f0a823ff3dc3a','[\"*\"]',NULL,NULL,'2024-12-13 11:39:05','2024-12-13 11:39:05'),(112,'App\\Models\\User',23,'Roberto Pascual','df0cd115ad8de075aae0c78fe57cd74cf1e14f410e0df7472544b3e41ba54555','[\"*\"]',NULL,NULL,'2024-12-13 11:54:31','2024-12-13 11:54:31'),(113,'App\\Models\\User',2,'Miguel Nebot','d9c7882ee3454dd4a7cecc7d165053a5578b68f41ac5ca38a278b68e5338e77f','[\"*\"]',NULL,NULL,'2024-12-13 12:07:58','2024-12-13 12:07:58'),(114,'App\\Models\\User',3,'Vicente Zarzo Toutoundji','8aa72c293e0e1d40547b59cbf86fecff9886e38ce8172702393ca010f4d2a74d','[\"*\"]',NULL,NULL,'2024-12-13 12:32:50','2024-12-13 12:32:50'),(115,'App\\Models\\User',2,'Miguel Nebot','be84738dfd17d8fb04d41f7bf50b2e6ce16c272e721594371a6ad6a87066f366','[\"*\"]',NULL,NULL,'2024-12-16 07:21:53','2024-12-16 07:21:53');

--
-- Table structure for table `physical_units`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `physical_units` (
  `id` int NOT NULL,
  `unit` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quantity` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unit_name` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `SI_definition` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `channels` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `physical_units`
--

INSERT INTO `physical_units` VALUES (1,'a','time','year','',NULL),(2,'mo','time','month','',NULL),(3,'wk','time','week','7*24*60*60 s',NULL),(4,'d','time','day','24*60*60 s',NULL),(5,'h','time','hour','60*60 s',NULL),(6,'min.','time','min','60 s','Cum_PwrOff_Duration'),(7,'s','time','second','s',NULL),(8,'°','(phase) angle','degree','rad*180/π','Phase_Angle_L1,Phase_Angle_L2,Phase_Angle_L3,Ph_Angle_L1,Ph_Angle_L2,Ph_Angle_L3,I_Ph_Angle_L2,I_Ph_Angle_L3,PF_Angle'),(9,'°C','temperature (T)','degree-celsius','K-273.15',NULL),(10,'currency','(local) currency','','',NULL),(11,'m','length(l)','metre','m',NULL),(12,'m/s','speed(v)','metre per second','m/s','F_V'),(13,'m3','volume(V), rV meter constant or pulse value (volume)','cubic metre','m3','T_V,Fwd_V,R_V'),(14,'m3','corrected volume','cubic metre','m3',NULL),(15,'m3/h','volume flux','cubic metre per hour','m3/(60*60s)','N_F,F_R'),(16,'m3/h','corrected volume flux','cubic metre per hour','m3/(60*60s)',NULL),(17,'m3/d','volume flux','','m3/(24*60*60s)',NULL),(18,'m3/d','corrected volume flux','','m3/(24*60*60s)',NULL),(19,'l','volume','litre','m3/1000',NULL),(20,'kg','mass(m)','kilogram','',NULL),(21,'N','force(F)','newton','',NULL),(22,'Nm','energy','newton meter','J=Nm=Ws',NULL),(23,'Pa','pressure(p)','pascal','N/m2',NULL),(24,'bar','pressure(p)','bar','100000 N/m2','F_P'),(25,'J','energy','joule','J=Nm=Ws',NULL),(26,'J/h','thermal power','joule per hour','J/(60*60s)',NULL),(27,'W','active power(P)','watt','W=J/s','IA_P,EA_P,IA_P_L1,IA_P_L2,IA_P_L3,EA_P_L1,EA_P_L2,EA_P_L3,+MDA,-MDA,+MDA_T1,+MDA_T2,+MDA_T3,+MDA_T4,-MDA_T1,-MDA_T2,-MDA_T3,-MDA_T4'),(28,'VA','apparent power(S)','volt-ampere','','IApp_P,EApp_P,IApp_P_L1,IApp_P_L2,IApp_P_L3,EApp_P_L1,EApp_P_L2,EApp_P_L3,+MDS,-MDS,+MDS_T1,+MDS_T2,+MDS_T3,+MDS_T4,-MDS_T1,-MDS_T2,-MDS_T3,-MDS_T4'),(29,'var','reactive power(Q)','var','','IR_P,ER_P,IR_P_L1,IR_P_L2,IR_P_L3,ER_P_L1,ER_P_L2,ER_P_L3,+MDR,-MDR,+MDR_T1,+MDR_T2,+MDR_T3,+MDR_T4,-MDR_T1,-MDR_T2,-MDR_T3,-MDR_T4'),(30,'Wh','active energy, rW  active energy meter constant or pulse value','watt-hour','W*(60*60s)','+A,-A,ABS,NET,+A_L1,+A_L2,+A_L3,-A_L1,-A_L2,-A_L3,ABS_L1,ABS_L2,ABS_L3,+A_T1,+A_T2,+A_T3,+A_T4,-A_T1,-A_T2,-A_T3,-A_T4,ABS_T1,ABS_T2,ABS_T3,ABS_T4,Lst_Avg_IAD_L1,Lst_Avg_IAD_L2,Lst_Avg_IAD_L3,Lst_Avg_IAD,Lst_Avg_EAD,IAD_L1,IAD_L2,IAD_L3'),(31,'VAh','apparent energy, rS apparent energy meter constant or pulse value','volt-ampere-hour','VA*(60*60s)','+S,-S,+S_L1,+S_L2,+S_L3,-S_L1,-S_L2,-S_L3,+S_T1,+S_T2,+S_T3,+S_T4,-S_T1,-S_T2,-S_T3,-S_T4'),(32,'varh','reactive energy, rB reactive energy meter constant or pulse value','var-hour','var*(60*60s)','+Q,-Q,Q1,Q2,Q3,Q4,+Q_L1,+Q_L2,+Q_L3,-Q_L1,-Q_L2,-Q_L3,+Q_T1,+Q_T2,+Q_T3,+Q_T4,-Q_T1,-Q_T2,-Q_T3,-Q_T4,Lst_Avg_IRD,Lst_Avg_ERD'),(33,'A','current(I)','ampere','A','Inst_I_L1,Inst_I_L2,Inst_I_L3,I_max_LI,I_max_L2,I_max_L3,Avg_I_L1,Avg_I_L2,Avg_I_L3,Avg_I_THD_L1,Avg_I_THD_L2,Avg_I_THD_L3,I_THD_L1,I_THD_L2,I_THD_L3'),(34,'C','electrical charge(Q)','coulomb','C=As',NULL),(35,'V','voltage(U)','volt','V','Inst_V_L1,Inst_V_L2,Inst_V_L3,V_THD_L1,V_THD_L2,V_THD_L3,Avg_V_L1,Avg_V_L2,Avg_V_L3,Avg_V_L1,Avg_V_L2,Avg_V_L3,Avg_V_THD_L1,Avg_V_THD_L2,Avg_V_THD_L3'),(36,'V/m','electric field strength(E)','volt per metre','V/m',NULL),(37,'F','capacitance(C)','farad','C/V=As/V',NULL),(38,'Ω','resistance(R)','ohm','Ω=V/A',NULL),(39,'Ωm2/m','resistivity(ρ)','','Ωm',NULL),(40,'Wb','magnetic flux(Φ)','weber','Wb=Vs',NULL),(41,'T','magnetic flux density(B)','tesla','Wb/m2',NULL),(42,'A/m','magnetic field strength(H)','ampere per metre','A/m',NULL),(43,'H','inductance(L)','henry','H=Wb/A',NULL),(44,'Hz','frequency(f, ω)','hertz','1/s','Freq'),(45,'1 /(Wh)','RW, active energy meter constant or pulse value','','',NULL),(46,'1 /(varh)','RB , reactive energy meter constant or pulse value','','',NULL),(47,'1 /(VAh)','RS, apparent energy meter constant or pulse value','','',NULL),(48,'V2h','volt-squared hour, rV2h volt-squared hour meter constant or pulse value','volt-squared-hours','V2*(60*60s)',NULL),(49,'A2h','ampere-squared hour, rA2h ampere-squared hour meter constant or pulse value','ampere-squared-hours','A2*(60*60s)',NULL),(50,'kg/s','mass flux','kilogram per second','kg/s',NULL),(51,'S, mho','conductance','siemens','1/Ω',NULL),(52,'K','temperature (T)','kelvin','','F_Temp'),(53,'1 /(V2h)','RU2h , volt-squared hour meter constant or pulse value','','',NULL),(54,'1 /(A2h)','RI2h , ampere-squared hour meter constant or pulse value','','',NULL),(55,'1/m3','RV, meter constant or pulse value (volume)','','',NULL),(56,'','percentage','%','',NULL),(57,'Ah','ampere-hours','Ampere-hour','','BAT_L'),(60,'Wh/m3','energy per volume','3.6* 1000 J/m3','',NULL),(61,'J /m3','calorific value, wobbe','','',NULL),(62,'Mol %','molar fraction of gas composition','mole percent','(Basic gas composition unit)',NULL),(63,'g/m3','mass density, quantity of material','','(Gas analysis, accompanying elements)',NULL),(64,'Pa s','dynamic viscosity','pascal second','(Characteristic of gas stream)',NULL),(65,'J/kg','Specific energy (The amount of energy per unit of mass of substance)','Joule/kilogram','m2*kg*s(-2)/kg=m2*s(-2)',NULL),(70,'dBm','Signal strength, dB milliwatt (e.g. of GSM radio systems)','','',NULL),(71,'dbμV','Signal strength, dB microvolt','','',NULL),(72,'dB','Logarithmic unit that expresses the ratio between two values of a physical quantity','','',NULL),(128,'in','length(I)','inch','',NULL),(129,'ft','length(l)','foot','',NULL),(130,'lb','mass(m)','pound','',NULL),(131,'°F','temperature','degree Fahrenheit','',NULL),(132,'°R','temperature','degree Rankine','',NULL),(133,'sq in','area','square inch','',NULL),(134,'sq ft','area','square foot','',NULL),(135,'ac','area','acre','',NULL),(136,'cu in','volume','cubic inch','',NULL),(137,'cu ft','volume','cubic foot','',NULL),(138,'ac ft','volume','acre-foot','',NULL),(139,'gal (imp)','volume','gallon (imperial)','',NULL),(140,'gal (US)','volume','gallon (US)','',NULL),(141,'lbf','force(F)','pound force','',NULL),(142,'psi','pressure(p)','Pound force per square inch','',NULL),(143,'lb/cu ft','density','pound per cubic foot','',NULL),(144,'lb/(ft*s)','dynamic viscosity','pound per (foot*second)','',NULL),(145,'sq ft/s','kinematic viscosity','sqare foot per second','',NULL),(146,'Btu','energy','British thermal unit','',NULL),(147,'thm(EC)','energy','Therm(EU)','',NULL),(148,'thm(US)','energy','Therm(US)','',NULL),(149,'Btu/lb','calorific value of mass, enthalpy','British thermal unit per pound','',NULL),(150,'Btu/cu ft','calorific value of volume, wobbe','British thermal unit er cubic foot','',NULL),(151,'cu ft','volume(V) rv, meter constant or pulse value (volume)','cubic feet','',NULL),(152,'ft/s','speed(v)','foot per second','',NULL),(153,'cu ft/s','volume flux','cubic foot per second','',NULL),(154,'cu ft/min','volume flux','cubic foot per min','',NULL),(155,'cu ft/h','volume flux','cubic foot per hour','',NULL),(156,'cu ft/d','volume flux','cubic foot per day','',NULL),(157,'ac ft/s','volume flux','acre foot per second','',NULL),(158,'ac ft/min','volume flux','acre foot per min','',NULL),(159,'ac ft/h','volume flux','acre foot per hour','',NULL),(160,'ac ft/d','volume flux','acre foot per day','',NULL),(161,'gal (imp)','volume(V) rv, meter constant or pulse value (volume)','imperial gallon','',NULL),(162,'gal (imp)/s','volume flux','imperial gallon per second','',NULL),(163,'gal (imp)/min','volume flux','imperial gallon per min','',NULL),(164,'gal (imp)/h','volume flux','imperial gallon per hour','',NULL),(165,'gal (imp)/d','volume flux','imperial gallon per day','',NULL),(166,'gal (US)','volume(V) rv, meter constant or pulse value (volume)','US gallon','',NULL),(167,'gal (US)/s','volume flux','US gallon per second','',NULL),(168,'gal (US)/min','volume flux','US gallon per min','',NULL),(169,'gal (US)/h','volume flux','US gallon per hour','',NULL),(170,'gal (US)/d','volume flux','US gallon per day','',NULL),(171,'Btu/s','energy flow, heat, power, change rate','British thermal unit per second','',NULL),(172,'Btu/min','energy flow, heat, power, change rate','British thermal unit per min','',NULL),(173,'Btu/h','energy flow, heat, power, change rate','British thermal unit per hour','',NULL),(174,'Btu/d','energy flow, heat, power, change rate','British thermal unit per day','',NULL),(255,'','no unit','no unit','',NULL);

--
-- Table structure for table `platform_admin`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `platform_admin` (
  `id` int NOT NULL AUTO_INCREMENT,
  `data_logger_last_id` bigint DEFAULT NULL,
  `apprestws_location` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `proc_events_working` int DEFAULT '0',
  `proc_events_date_last` datetime DEFAULT NULL,
  `historicize_logs_days` int DEFAULT '10',
  `historicize_data_days` int DEFAULT '100',
  `historicize_middleware_days` int DEFAULT '90',
  `log_discarded_msg` tinyint DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `platform_admin`
--


--
-- Table structure for table `platforms`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `platforms` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idgroup_home` int DEFAULT NULL,
  `wifi_name_test` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi_pass_test` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi_name_install` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi_pass_install` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `timezone` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `timezone_offset` int NOT NULL DEFAULT '0',
  `timezone_dst` int NOT NULL,
  `timezone_dst_date_next_start` datetime NOT NULL,
  `timezone_dst_date_next_end` datetime NOT NULL,
  `WSS_location` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `RESTWS_location` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sofia2_sessionKey` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sofia2_sessionKey_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `groggy_device_seconds` int NOT NULL DEFAULT '10',
  `idgroup_sales` int DEFAULT NULL,
  `date_mqtt_server_reset_last` datetime DEFAULT CURRENT_TIMESTAMP,
  `MQTT_server` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '172.31.9.235',
  `MQTT_port` int NOT NULL DEFAULT '1883',
  `MQTT_keepalive` int NOT NULL DEFAULT '3600',
  `default_value_voltage` int NOT NULL DEFAULT '220',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `platforms`
--

INSERT INTO `platforms` VALUES (1,'Trango',1,NULL,NULL,NULL,NULL,'UTC',0,0,'2016-03-27 01:00:00','2016-10-30 01:00:00','http://localhost:9311','http://localhost/restws',NULL,'2018-07-03 13:41:06',10,1,'2018-07-03 13:41:06','localhost',1883,3600,220),(9,'TrangoQA',1,NULL,NULL,NULL,NULL,'Europe/Madrid',1,1,'2016-03-27 01:00:00','2016-10-30 01:00:00','http://localhost:9311','http://ip-172-31-43-167.eu-west-1.compute.internal/restws',NULL,'2018-07-03 13:41:06',10,1,'2018-07-03 13:41:06','localhost',1883,3600,220);

--
-- Table structure for table `production`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `production` (
  `id` int NOT NULL AUTO_INCREMENT,
  `default_iddevice_type` int DEFAULT NULL,
  `idgroup_tested` int DEFAULT NULL,
  `idgroup_untested` int DEFAULT NULL,
  `idgroup_testfail` int DEFAULT NULL,
  `user_admin` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `production`
--


--
-- Table structure for table `production_user`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `production_user` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iduser` int DEFAULT NULL,
  `unique_iddevice_type` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `production_user`
--


--
-- Table structure for table `removed_devices`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `removed_devices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` int DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `iduser` int DEFAULT NULL,
  `ref` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idtype` int DEFAULT NULL,
  `idgroup` int DEFAULT NULL,
  `mac` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `icc` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `version_firmware` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `GPS_lat` decimal(25,20) DEFAULT NULL,
  `GPS_lng` decimal(25,20) DEFAULT NULL,
  `parameters` text COLLATE utf8mb4_unicode_ci,
  `descriptors` text COLLATE utf8mb4_unicode_ci,
  `display_options` text COLLATE utf8mb4_unicode_ci,
  `timezone` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parameters_BUS` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `removed_devices`
--

INSERT INTO `removed_devices` VALUES (1,212121212,'2024-11-20 11:24:46',3,'121212121212121121212','121212121212121121212',66,1,'121212121212121','12345','06.07',39.49623847211500000000,-0.40088273585204000000,'<parameters><Gateway-ID>212121212</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','Europe/Madrid','<parameters_BUS></parameters_BUS>'),(2,584617388,'2024-11-22 11:45:11',3,'OP00123F110724C000007','OP00123F110724C000007',110,1,'356995846173889','1234','0.0',39.47243173600000000000,-0.38953729500000000000,'<parameters><Gateway-ID>584617388</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>20:01:48</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','Europe/Madrid','<parameters_BUS></parameters_BUS>'),(3,312312312,'2024-12-02 11:36:36',3,'123123123123123123123','123123123123123123123',68,1,'123123123123123','1234','0.0',39.49623847211500000000,-0.40088273585204000000,'<parameters><Gateway-ID>312312312</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>24D2312312</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>00:07:44</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','Pacific/Marquesas','<parameters_BUS></parameters_BUS>'),(4,111111111,'2024-12-02 11:37:17',3,'111111111111111111111','111111111111111111111',76,1,'111111111111111','123','0.0',39.49623847211500000000,-0.40088273585204000000,'<parameters><Gateway-ID>111111111</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','Africa/Abidjan','<parameters_BUS></parameters_BUS>'),(5,111111111,'2024-12-04 12:09:26',3,'123123123123123123123','123123123123123123123',68,1,'111111111111111','123','0.0',39.49623847211500000000,-0.40088273585204000000,'<parameters><Gateway-ID>111111111</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>24D1111111</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>15:51:29</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','Africa/Brazzaville','<parameters_BUS></parameters_BUS>'),(6,312312313,'2024-12-04 13:54:56',5,'213123123123123123123','213123123123123123123',63,15,'123123123123131','123123123','0.0',39.49623847211500000000,-0.40088273585204000000,'<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>01:08:36</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><sensor_pressure_id/><sensor_pressure_offset/><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send></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>','Africa/Abidjan','<parameters_BUS></parameters_BUS>'),(7,485105051,'2024-12-04 14:24:56',12,'OP00000F041224C000001','OP00000F041224C000001',133,11,'357104851050517','8934071500002733678','0.0',39.47243173612800000000,-0.38953729462582000000,'<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:14</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','UTC','<parameters_BUS></parameters_BUS>'),(8,485145917,'2024-12-09 08:18:51',2,'OP00000F041224C000002','OP00000F041224C000002',63,1,'357104851459171','123456789','0.0',1.00000000000000000000,1.00000000000000000000,'<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>05:18:43</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>','Europe/Madrid','<parameters_BUS></parameters_BUS>'),(9,485096706,'2024-12-10 11:26:08',3,'OP00707F021224C000001','OP00707F021224C000001',123,1,'357104850967067','2147483647','0.0',39.49623847211500000000,-0.40088273585204000000,'<parameters><Gateway-ID>485096706</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>24D5096706</Gateway-SN><Dewa-ID>XXE0XXXXXX</Dewa-ID><pressure_meter_id>85096706</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>18:08:11</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','Europe/Madrid','<parameters_BUS></parameters_BUS>'),(10,485096706,'2024-12-11 10:12:22',3,'OP00707F021224C000001','OP00707F021224C000001',119,1,'357104850967067','2147483647','0.0',39.49623847211500000000,-0.40088273585204000000,'<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>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>','<display_options><dashboard></dashboard></display_options>\n','Europe/Madrid','<parameters_BUS></parameters_BUS>'),(11,485096706,'2024-12-11 10:52:57',3,'OP00707F021224C000001','OP00707F021224C000001',119,1,'357104850967067','2147483647','0.0',39.11635101939436876356,1.72534851580512308026,'<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>3</meter_type><mqtt_dc_on>0</mqtt_dc_on><mbus_num>2</mbus_num><mbus_add>240411279215B207,240411279215B207</mbus_add></parameters>','<descriptors><onetomany_device>1</onetomany_device><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><meters_mbus_idmeter>[\"240411279215B2071\",\"240411279215B2072\"]</meters_mbus_idmeter></descriptors>','<display_options><dashboard></dashboard></display_options>\n','Europe/Madrid','<parameters_BUS></parameters_BUS>'),(12,312312313,'2024-12-12 10:07:11',3,'OP1231231231231321231','OP1231231231231321231',109,16,'123123123123132','1234','0.0',39.11635101939436876356,1.72534851580512308026,'<parameters><Gateway-ID>312312313</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>24D2312313</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>01:06:12</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','Europe/Madrid','<parameters_BUS></parameters_BUS>'),(13,111111111,'2024-12-12 10:20:56',3,'OP1111111111111111111','OP1111111111111111111',109,16,'111111111111111','1234','0.0',39.11635101939436876356,1.72534851580512308026,'<parameters><Gateway-ID>111111111</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><Gateway-SN>24D1111111</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>15:51:47</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','Europe/Madrid','<parameters_BUS></parameters_BUS>'),(14,111111111,'2024-12-12 10:36:31',3,'OP1111111111111111111','OP1111111111111111111',59,1,'111111111111111','123','0.0',39.11635101939436876356,1.72534851580512308026,'<parameters><Gateway-ID>111111111</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>','Europe/Madrid','<parameters_BUS></parameters_BUS>'),(15,111111122,'2024-12-12 10:37:52',3,'OP21111111111111111','OP21111111111111111',59,1,'211111111111222','12345','0.0',39.11635101939436876356,1.72534851580512308026,'<parameters><Gateway-ID>111111122</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>','Europe/Madrid','<parameters_BUS></parameters_BUS>');

--
-- Table structure for table `reports`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `reports` (
  `id` int NOT NULL AUTO_INCREMENT,
  `querys` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `body` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `subject` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `email` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `frequency` int DEFAULT NULL,
  `last_update` datetime DEFAULT NULL,
  `report_type` int DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `reports`
--


--
-- Table structure for table `reports_sendings_groups`
--

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

--
-- Dumping data for table `reports_sendings_groups`
--


--
-- Table structure for table `reset_password_tokens`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `reset_password_tokens` (
  `iduser` int NOT NULL,
  `token` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`iduser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `reset_password_tokens`
--

INSERT INTO `reset_password_tokens` VALUES (2,'RJROZ7','2024-11-12 13:00:14');

--
-- Table structure for table `robbery_lines`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `robbery_lines` (
  `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,
  `iddevice_event_offline` int DEFAULT NULL,
  `iddevice_event_robbery` int DEFAULT NULL,
  `iddevice_dcsource` int DEFAULT NULL,
  `active` int NOT NULL DEFAULT '1',
  `offset_seconds` int DEFAULT '300',
  PRIMARY KEY (`id`),
  KEY `iddevice_event_offline` (`iddevice_event_offline`),
  KEY `iddevice_event_robbery` (`iddevice_event_robbery`),
  KEY `iddevice_dcsource` (`iddevice_dcsource`),
  KEY `active` (`active`),
  KEY `offset_seconds` (`offset_seconds`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `robbery_lines`
--


--
-- Table structure for table `robbery_lines_devices`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `robbery_lines_devices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idline` int DEFAULT NULL,
  `iddevice_line` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `first` bit(1) DEFAULT NULL,
  `last` bit(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idline` (`idline`),
  KEY `iddevice_line` (`iddevice_line`),
  KEY `iddevice` (`iddevice`),
  KEY `first` (`first`),
  KEY `last` (`last`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `robbery_lines_devices`
--


--
-- Table structure for table `schedules`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `schedules` (
  `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,
  `week_days` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `time_start` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `time_start_offset` int NOT NULL DEFAULT '0',
  `time_end` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `time_end_offset` int NOT NULL DEFAULT '0',
  `idgroup` int DEFAULT NULL,
  `delay` int DEFAULT '0',
  `timer` int DEFAULT '0',
  `repeat` int DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `idprogramacion` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `schedules`
--


--
-- Table structure for table `sessions`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `sessions` (
  `id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `ip_address` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sessions_user_id_index` (`user_id`),
  KEY `sessions_last_activity_index` (`last_activity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` VALUES ('aFaxd05tBJzd2umYhLevGwLcxPAIWwKNbFItDFDL',2,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0','[encoded data, 5248 characters]',1734334461);

--
-- Table structure for table `solutions_pmr_devices`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `solutions_pmr_devices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iddevice` bigint DEFAULT NULL,
  `occupied` int DEFAULT NULL,
  `occupied_date` datetime DEFAULT NULL,
  `occupied_day` int DEFAULT NULL,
  `occupied_day_time` time DEFAULT NULL,
  `occupied_month_time` time DEFAULT NULL,
  `reserved` int DEFAULT NULL,
  `reserved_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `solutions_pmr_devices`
--


--
-- Table structure for table `specific_leliana_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `specific_leliana_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` datetime DEFAULT NULL,
  `idgroup` int DEFAULT NULL,
  `idaction_command` int DEFAULT NULL,
  `places` int DEFAULT NULL,
  `places219` int DEFAULT NULL,
  `places220` int DEFAULT NULL,
  `places221` int DEFAULT NULL,
  `overflow` int DEFAULT NULL,
  `places_reset` int DEFAULT NULL,
  `SUM` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `date` (`date`),
  KEY `idgroup` (`idgroup`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `specific_leliana_log`
--


--
-- Table structure for table `specific_leliana_log_overflows`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `specific_leliana_log_overflows` (
  `id` int NOT NULL DEFAULT '0',
  `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(20,2) DEFAULT NULL,
  `power_active_min` decimal(20,2) DEFAULT NULL,
  `power_active_max` decimal(20,2) DEFAULT NULL,
  `power_active_average` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_reactive` decimal(20,2) DEFAULT NULL,
  `power_reactive_min` decimal(20,2) DEFAULT NULL,
  `power_reactive_max` decimal(20,2) DEFAULT NULL,
  `power_reactive_average` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_apparent` decimal(20,2) DEFAULT NULL,
  `power_apparent_min` decimal(20,2) DEFAULT NULL,
  `power_apparent_max` decimal(20,2) DEFAULT NULL,
  `power_apparent_average` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor` decimal(20,2) DEFAULT NULL,
  `power_factor_min` decimal(20,2) DEFAULT NULL,
  `power_factor_max` decimal(20,2) DEFAULT NULL,
  `power_factor_average` decimal(20,2) NOT NULL,
  `voltage` decimal(20,2) DEFAULT NULL,
  `voltage_min` decimal(20,2) DEFAULT NULL,
  `voltage_max` decimal(20,2) DEFAULT NULL,
  `voltage_average` decimal(20,2) NOT NULL DEFAULT '0.00',
  `current` decimal(20,2) DEFAULT NULL,
  `current_min` decimal(20,2) DEFAULT NULL,
  `current_max` decimal(20,2) DEFAULT NULL,
  `current_average` decimal(20,2) NOT NULL DEFAULT '0.00',
  `line_impedance` decimal(20,2) DEFAULT NULL,
  `line_impedance_min` decimal(20,2) DEFAULT NULL,
  `line_impedance_max` decimal(20,2) DEFAULT NULL,
  `line_impedance_average` decimal(20,2) NOT NULL DEFAULT '0.00',
  `battery_status` decimal(20,2) DEFAULT NULL,
  `battery_status_min` decimal(20,2) DEFAULT NULL,
  `battery_status_max` decimal(20,2) DEFAULT NULL,
  `battery_status_average` decimal(20,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',
  `measurements_date_last_log` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `input1` decimal(20,2) DEFAULT NULL,
  `input2` decimal(20,2) DEFAULT NULL,
  `input3` decimal(20,2) DEFAULT NULL,
  `input4` decimal(20,2) DEFAULT NULL,
  `input5` decimal(20,2) DEFAULT NULL,
  `input6` decimal(20,2) DEFAULT NULL,
  `input7` decimal(20,2) DEFAULT NULL,
  `input8` decimal(20,2) DEFAULT NULL,
  `input9` decimal(20,2) DEFAULT NULL,
  `input10` decimal(20,2) 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(20,2) DEFAULT NULL,
  `power_active2` decimal(20,2) DEFAULT NULL,
  `power_reactive2` decimal(20,2) DEFAULT NULL,
  `voltage2` decimal(20,2) DEFAULT NULL,
  `current2` decimal(20,2) DEFAULT NULL,
  `power_active3` decimal(20,2) DEFAULT NULL,
  `power_reactive3` decimal(20,2) DEFAULT NULL,
  `voltage3` decimal(20,2) DEFAULT NULL,
  `current3` decimal(20,2) DEFAULT NULL,
  `energy_reactive` decimal(20,2) DEFAULT NULL,
  `relays` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '1',
  `delay` int DEFAULT NULL,
  `timer` int DEFAULT NULL,
  `energy_3phase` decimal(20,2) NOT NULL DEFAULT '0.00',
  `energy_reactive_3phase` decimal(20,2) NOT NULL DEFAULT '0.00',
  `power_factor2` decimal(20,2) DEFAULT NULL,
  `power_factor3` decimal(20,2) DEFAULT NULL,
  `power_active1` decimal(20,2) DEFAULT NULL,
  `power_reactive1` decimal(20,2) DEFAULT NULL,
  `power_factor1` decimal(20,2) DEFAULT NULL,
  `voltage1` decimal(20,2) DEFAULT NULL,
  `current1` decimal(20,2) DEFAULT NULL,
  `wifi_ssid` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `power_factor_total` decimal(20,2) DEFAULT NULL,
  `ts` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `idgroup` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `specific_leliana_log_overflows`
--


--
-- Table structure for table `specific_water_free_clorine`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `specific_water_free_clorine` (
  `id` int NOT NULL AUTO_INCREMENT,
  `ph` decimal(10,1) NOT NULL DEFAULT '0.0',
  `orp` int NOT NULL DEFAULT '0',
  `cloro` decimal(10,1) DEFAULT '0.0',
  PRIMARY KEY (`id`),
  KEY `ph` (`ph`),
  KEY `orp` (`orp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `specific_water_free_clorine`
--


--
-- Table structure for table `subdomains`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `subdomains` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subdomain` 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 `subdomains`
--


--
-- Table structure for table `t`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `t` (
  `txt` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `t`
--


--
-- Table structure for table `tempMeters`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `tempMeters` (
  `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,
  `sendings_6` int DEFAULT NULL,
  `sendings_5` int DEFAULT NULL,
  `sendings_4` int DEFAULT NULL,
  `sendings_3` int DEFAULT NULL,
  `sendings_2` int DEFAULT NULL,
  `sendings_1` int DEFAULT NULL,
  `sendings_0` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tempMeters`
--

INSERT INTO `tempMeters` VALUES (485096706,'240411279215B20',NULL,1,NULL,'2024-12-13 07:55:41',NULL,'{\"address\": \"240411279215B20\", \"baudrate\": 2400, \"meterBrand\": \"HYDRUS\", \"meterModel\": \"HYD171\", \"protocolType\": \"mbus\"}','6,9,13,17,3,',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(485096706,'240411279215B20',NULL,1,NULL,'2024-12-13 07:55:42',NULL,'{\"address\": \"240411279215B207\", \"baudrate\": 2400, \"meterBrand\": \"HYDRUS\", \"meterModel\": \"HYD171\", \"protocolType\": \"mbus\"}','6,9,13,17,3,',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(485096706,'240411279215B20',NULL,1,NULL,'2024-12-13 07:55:42',NULL,'{\"address\": \"240411279215B207\", \"baudrate\": 2400, \"meterBrand\": \"ITRON\", \"meterModel\": \"ECHODIS\", \"protocolType\": \"mbus\"}','6,9,13,17,3,',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(678912345,'678912345_MD2',NULL,2,NULL,'2024-12-13 12:08:21',NULL,'{\"parity\": \"Even\", \"framing\": \"8,N,1\", \"slaveId\": \"1\", \"baudrate\": 9600, \"meterBrand\": \"KROHNE\", \"meterModel\": \"WAFX3070\", \"protocolType\": \"modbus\"}','6,9,13,18,3,',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(678912345,'678912345_MD1',NULL,2,NULL,'2024-12-13 12:16:05',NULL,'{\"parity\": \"Even\", \"framing\": \"8,N,1\", \"slaveId\": \"1\", \"baudrate\": 9600, \"meterBrand\": \"KROHNE\", \"meterModel\": \"WAFX3070\", \"protocolType\": \"modbus\"}','6,9,13,18,3,',NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `tempSendingsMeters0`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `tempSendingsMeters0` (
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddevice` int NOT NULL,
  `sendings` json DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tempSendingsMeters0`
--


--
-- Table structure for table `tempSendingsMeters1`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `tempSendingsMeters1` (
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddevice` int NOT NULL,
  `sendings` json DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tempSendingsMeters1`
--


--
-- Table structure for table `tempSendingsMeters2`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `tempSendingsMeters2` (
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddevice` int NOT NULL,
  `sendings` json DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tempSendingsMeters2`
--


--
-- Table structure for table `tempSendingsMeters3`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `tempSendingsMeters3` (
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddevice` int NOT NULL,
  `sendings` json DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tempSendingsMeters3`
--


--
-- Table structure for table `tempSendingsMeters4`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `tempSendingsMeters4` (
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddevice` int NOT NULL,
  `sendings` json DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tempSendingsMeters4`
--

INSERT INTO `tempSendingsMeters4` VALUES ('678912345_MD2',678912345,NULL),('678912345_MD1',678912345,NULL);

--
-- Table structure for table `tempSendingsMeters5`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `tempSendingsMeters5` (
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddevice` int NOT NULL,
  `sendings` json DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tempSendingsMeters5`
--


--
-- Table structure for table `tempSendingsMeters6`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `tempSendingsMeters6` (
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddevice` int NOT NULL,
  `sendings` json DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tempSendingsMeters6`
--


--
-- Table structure for table `tempSendingsMeters7`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `tempSendingsMeters7` (
  `BUS_iddevice` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddevice` int NOT NULL,
  `sendings` json DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tempSendingsMeters7`
--


--
-- Table structure for table `timezones`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `timezones` (
  `id` int NOT NULL AUTO_INCREMENT,
  `timezone` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `timezone_offset` int DEFAULT NULL,
  `timezone_dst` int DEFAULT NULL,
  `timezone_dst_date_next_start` datetime DEFAULT NULL,
  `timezone_dst_date_next_end` datetime DEFAULT NULL,
  `updated` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `timezone` (`timezone`)
) ENGINE=InnoDB AUTO_INCREMENT=463 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `timezones`
--

INSERT INTO `timezones` VALUES (1,'Africa/Abidjan',0,0,NULL,NULL,NULL),(2,'Africa/Accra',0,0,NULL,NULL,NULL),(3,'Africa/Addis_Ababa',3,0,NULL,NULL,NULL),(4,'Africa/Algiers',1,0,NULL,NULL,NULL),(5,'Africa/Asmara',3,0,NULL,NULL,NULL),(6,'Africa/Asmera',3,0,NULL,NULL,NULL),(7,'Africa/Bamako',0,0,NULL,NULL,NULL),(8,'Africa/Bangui',1,0,NULL,NULL,NULL),(9,'Africa/Banjul',0,0,NULL,NULL,NULL),(10,'Africa/Bissau',0,0,NULL,NULL,NULL),(11,'Africa/Blantyre',2,0,NULL,NULL,NULL),(12,'Africa/Brazzaville',1,0,NULL,NULL,NULL),(13,'Africa/Bujumbura',2,0,NULL,NULL,NULL),(14,'Africa/Cairo',2,0,NULL,NULL,NULL),(15,'Africa/Casablanca',0,1,'2025-04-06 02:00:00','2025-02-23 02:00:00','2024-12-16 00:00:01'),(16,'Africa/Ceuta',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:01'),(17,'Africa/Conakry',0,0,NULL,NULL,NULL),(18,'Africa/Dakar',0,0,NULL,NULL,NULL),(19,'Africa/Dar_es_Salaam',3,0,NULL,NULL,NULL),(20,'Africa/Djibouti',3,0,NULL,NULL,NULL),(21,'Africa/Douala',1,0,NULL,NULL,NULL),(22,'Africa/El_Aaiun',0,1,'2025-04-06 02:00:00','2025-02-23 02:00:00','2024-12-16 00:00:01'),(23,'Africa/Freetown',0,0,NULL,NULL,NULL),(24,'Africa/Gaborone',2,0,NULL,NULL,NULL),(25,'Africa/Harare',2,0,NULL,NULL,NULL),(26,'Africa/Johannesburg',2,0,NULL,NULL,NULL),(27,'Africa/Juba',3,0,NULL,NULL,NULL),(28,'Africa/Kampala',3,0,NULL,NULL,NULL),(29,'Africa/Khartoum',3,0,NULL,NULL,NULL),(30,'Africa/Kigali',2,0,NULL,NULL,NULL),(31,'Africa/Kinshasa',1,0,NULL,NULL,NULL),(32,'Africa/Lagos',1,0,NULL,NULL,NULL),(33,'Africa/Libreville',1,0,NULL,NULL,NULL),(34,'Africa/Lome',0,0,NULL,NULL,NULL),(35,'Africa/Luanda',1,0,NULL,NULL,NULL),(36,'Africa/Lubumbashi',2,0,NULL,NULL,NULL),(37,'Africa/Lusaka',2,0,NULL,NULL,NULL),(38,'Africa/Malabo',1,0,NULL,NULL,NULL),(39,'Africa/Maputo',2,0,NULL,NULL,NULL),(40,'Africa/Maseru',2,0,NULL,NULL,NULL),(41,'Africa/Mbabane',2,0,NULL,NULL,NULL),(42,'Africa/Mogadishu',3,0,NULL,NULL,NULL),(43,'Africa/Monrovia',0,0,NULL,NULL,NULL),(44,'Africa/Nairobi',3,0,NULL,NULL,NULL),(45,'Africa/Ndjamena',1,0,NULL,NULL,NULL),(46,'Africa/Niamey',1,0,NULL,NULL,NULL),(47,'Africa/Nouakchott',0,0,NULL,NULL,NULL),(48,'Africa/Ouagadougou',0,0,NULL,NULL,NULL),(49,'Africa/Porto-Novo',1,0,NULL,NULL,NULL),(50,'Africa/Sao_Tome',0,0,NULL,NULL,NULL),(51,'Africa/Timbuktu',0,0,NULL,NULL,NULL),(52,'Africa/Tripoli',2,0,NULL,NULL,NULL),(53,'Africa/Tunis',1,0,NULL,NULL,NULL),(54,'Africa/Windhoek',1,1,'2018-09-02 01:00:00','2018-04-01 00:00:00','2017-11-11 00:00:02'),(55,'America/Adak',-10,1,'2025-03-09 12:00:00','2025-11-02 11:00:00','2024-12-16 00:00:01'),(56,'America/Anchorage',-9,1,'2025-03-09 11:00:00','2025-11-02 10:00:00','2024-12-16 00:00:01'),(57,'America/Anguilla',-4,0,NULL,NULL,NULL),(58,'America/Antigua',-4,0,NULL,NULL,NULL),(59,'America/Araguaina',-3,0,NULL,NULL,NULL),(60,'America/Argentina/Buenos_Aires',-3,0,NULL,NULL,NULL),(61,'America/Argentina/Catamarca',-3,0,NULL,NULL,NULL),(62,'America/Argentina/ComodRivadavia',-3,0,NULL,NULL,NULL),(63,'America/Argentina/Cordoba',-3,0,NULL,NULL,NULL),(64,'America/Argentina/Jujuy',-3,0,NULL,NULL,NULL),(65,'America/Argentina/La_Rioja',-3,0,NULL,NULL,NULL),(66,'America/Argentina/Mendoza',-3,0,NULL,NULL,NULL),(67,'America/Argentina/Rio_Gallegos',-3,0,NULL,NULL,NULL),(68,'America/Argentina/Salta',-3,0,NULL,NULL,NULL),(69,'America/Argentina/San_Juan',-3,0,NULL,NULL,NULL),(70,'America/Argentina/San_Luis',-3,0,NULL,NULL,NULL),(71,'America/Argentina/Tucuman',-3,0,NULL,NULL,NULL),(72,'America/Argentina/Ushuaia',-3,0,NULL,NULL,NULL),(73,'America/Aruba',-4,0,NULL,NULL,NULL),(74,'America/Asuncion',-4,1,'2025-10-05 04:00:00','2025-03-23 03:00:00','2024-12-16 00:00:01'),(75,'America/Atikokan',-5,0,NULL,NULL,NULL),(76,'America/Atka',-10,1,'2025-03-09 12:00:00','2025-11-02 11:00:00','2024-12-16 00:00:01'),(77,'America/Bahia',-3,0,NULL,NULL,NULL),(78,'America/Bahia_Banderas',-6,1,'2024-04-07 08:00:00','2023-10-29 07:00:00','2023-05-30 00:00:01'),(79,'America/Barbados',-4,0,NULL,NULL,NULL),(80,'America/Belem',-3,0,NULL,NULL,NULL),(81,'America/Belize',-6,0,NULL,NULL,NULL),(82,'America/Blanc-Sablon',-4,0,NULL,NULL,NULL),(83,'America/Boa_Vista',-4,0,NULL,NULL,NULL),(84,'America/Bogota',-5,0,NULL,NULL,NULL),(85,'America/Boise',-7,1,'2025-03-09 09:00:00','2025-11-02 08:00:00','2024-12-16 00:00:01'),(86,'America/Buenos_Aires',-3,0,NULL,NULL,NULL),(87,'America/Cambridge_Bay',-7,1,'2025-03-09 09:00:00','2025-11-02 08:00:00','2024-12-16 00:00:01'),(88,'America/Campo_Grande',-4,1,'2019-11-03 04:00:00','2020-02-16 03:00:00','2019-07-05 00:00:02'),(89,'America/Cancun',-5,0,NULL,NULL,NULL),(90,'America/Caracas',-4,0,NULL,NULL,NULL),(91,'America/Catamarca',-3,0,NULL,NULL,NULL),(92,'America/Cayenne',-3,0,NULL,NULL,NULL),(93,'America/Cayman',-5,0,NULL,NULL,NULL),(94,'America/Chicago',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(95,'America/Chihuahua',-7,1,'2024-04-07 09:00:00','2023-10-29 08:00:00','2023-05-30 00:00:01'),(96,'America/Coral_Harbour',-5,0,NULL,NULL,NULL),(97,'America/Cordoba',-3,0,NULL,NULL,NULL),(98,'America/Costa_Rica',-6,0,NULL,NULL,NULL),(99,'America/Creston',-7,0,NULL,NULL,NULL),(100,'America/Cuiaba',-4,1,'2019-11-03 04:00:00','2020-02-16 03:00:00','2019-07-05 00:00:02'),(101,'America/Curacao',-4,0,NULL,NULL,NULL),(102,'America/Danmarkshavn',0,0,NULL,NULL,NULL),(103,'America/Dawson',-8,1,'2020-11-01 07:00:00',NULL,'2020-11-01 00:00:04'),(104,'America/Dawson_Creek',-7,0,NULL,NULL,NULL),(105,'America/Denver',-7,1,'2025-03-09 09:00:00','2025-11-02 08:00:00','2024-12-16 00:00:01'),(106,'America/Detroit',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(107,'America/Dominica',-4,0,NULL,NULL,NULL),(108,'America/Edmonton',-7,1,'2025-03-09 09:00:00','2025-11-02 08:00:00','2024-12-16 00:00:01'),(109,'America/Eirunepe',-5,0,NULL,NULL,NULL),(110,'America/El_Salvador',-6,0,NULL,NULL,NULL),(111,'America/Ensenada',-8,1,'2025-03-09 10:00:00','2025-11-02 09:00:00','2024-12-16 00:00:01'),(112,'America/Fort_Nelson',-7,0,NULL,NULL,NULL),(113,'America/Fort_Wayne',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(114,'America/Fortaleza',-3,0,NULL,NULL,NULL),(115,'America/Glace_Bay',-4,1,'2025-03-09 06:00:00','2025-11-02 05:00:00','2024-12-16 00:00:01'),(116,'America/Godthab',-3,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:01'),(117,'America/Goose_Bay',-4,1,'2025-03-09 06:00:00','2025-11-02 05:00:00','2024-12-16 00:00:01'),(118,'America/Grand_Turk',-4,0,NULL,NULL,NULL),(119,'America/Grenada',-4,0,NULL,NULL,NULL),(120,'America/Guadeloupe',-4,0,NULL,NULL,NULL),(121,'America/Guatemala',-6,0,NULL,NULL,NULL),(122,'America/Guayaquil',-5,0,NULL,NULL,NULL),(123,'America/Guyana',-4,0,NULL,NULL,NULL),(124,'America/Halifax',-4,1,'2025-03-09 06:00:00','2025-11-02 05:00:00','2024-12-16 00:00:01'),(125,'America/Havana',-5,1,'2025-03-09 05:00:00','2025-11-02 05:00:00','2024-12-16 00:00:01'),(126,'America/Hermosillo',-7,0,NULL,NULL,NULL),(127,'America/Indiana/Indianapolis',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(128,'America/Indiana/Knox',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(129,'America/Indiana/Marengo',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(130,'America/Indiana/Petersburg',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(131,'America/Indiana/Tell_City',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(132,'America/Indiana/Vevay',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(133,'America/Indiana/Vincennes',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(134,'America/Indiana/Winamac',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(135,'America/Indianapolis',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(136,'America/Inuvik',-7,1,'2025-03-09 09:00:00','2025-11-02 08:00:00','2024-12-16 00:00:01'),(137,'America/Iqaluit',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(138,'America/Jamaica',-5,0,NULL,NULL,NULL),(139,'America/Jujuy',-3,0,NULL,NULL,NULL),(140,'America/Juneau',-9,1,'2025-03-09 11:00:00','2025-11-02 10:00:00','2024-12-16 00:00:01'),(141,'America/Kentucky/Louisville',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(142,'America/Kentucky/Monticello',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(143,'America/Knox_IN',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(144,'America/Kralendijk',-4,0,NULL,NULL,NULL),(145,'America/La_Paz',-4,0,NULL,NULL,NULL),(146,'America/Lima',-5,0,NULL,NULL,NULL),(147,'America/Los_Angeles',-8,1,'2025-03-09 10:00:00','2025-11-02 09:00:00','2024-12-16 00:00:01'),(148,'America/Louisville',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(149,'America/Lower_Princes',-4,0,NULL,NULL,NULL),(150,'America/Maceio',-3,0,NULL,NULL,NULL),(151,'America/Managua',-6,0,NULL,NULL,NULL),(152,'America/Manaus',-4,0,NULL,NULL,NULL),(153,'America/Marigot',-4,0,NULL,NULL,NULL),(154,'America/Martinique',-4,0,NULL,NULL,NULL),(155,'America/Matamoros',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(156,'America/Mazatlan',-7,1,'2024-04-07 09:00:00','2023-10-29 08:00:00','2023-05-30 00:00:02'),(157,'America/Mendoza',-3,0,NULL,NULL,NULL),(158,'America/Menominee',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(159,'America/Merida',-6,1,'2024-04-07 08:00:00','2023-10-29 07:00:00','2023-05-30 00:00:02'),(160,'America/Metlakatla',-8,0,NULL,NULL,NULL),(161,'America/Mexico_City',-6,1,'2024-04-07 08:00:00','2023-10-29 07:00:00','2023-05-30 00:00:02'),(162,'America/Miquelon',-3,1,'2025-03-09 05:00:00','2025-11-02 04:00:00','2024-12-16 00:00:01'),(163,'America/Moncton',-4,1,'2025-03-09 06:00:00','2025-11-02 05:00:00','2024-12-16 00:00:01'),(164,'America/Monterrey',-6,1,'2024-04-07 08:00:00','2023-10-29 07:00:00','2023-05-30 00:00:02'),(165,'America/Montevideo',-3,1,'2016-10-02 05:00:00','2017-03-12 04:00:00','2016-07-10 23:59:56'),(166,'America/Montreal',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(167,'America/Montserrat',-4,0,NULL,NULL,NULL),(168,'America/Nassau',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(169,'America/New_York',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(170,'America/Nipigon',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(171,'America/Nome',-9,1,'2025-03-09 11:00:00','2025-11-02 10:00:00','2024-12-16 00:00:01'),(172,'America/Noronha',-2,0,NULL,NULL,NULL),(173,'America/North_Dakota/Beulah',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(174,'America/North_Dakota/Center',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(175,'America/North_Dakota/New_Salem',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(176,'America/Ojinaga',-7,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(177,'America/Panama',-5,0,NULL,NULL,NULL),(178,'America/Pangnirtung',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(179,'America/Paramaribo',-3,0,NULL,NULL,NULL),(180,'America/Phoenix',-7,0,NULL,NULL,NULL),(181,'America/Port_of_Spain',-4,0,NULL,NULL,NULL),(182,'America/Port-au-Prince',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(183,'America/Porto_Acre',-5,0,NULL,NULL,NULL),(184,'America/Porto_Velho',-4,0,NULL,NULL,NULL),(185,'America/Puerto_Rico',-4,0,NULL,NULL,NULL),(186,'America/Rainy_River',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(187,'America/Rankin_Inlet',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(188,'America/Recife',-3,0,NULL,NULL,NULL),(189,'America/Regina',-6,0,NULL,NULL,NULL),(190,'America/Resolute',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(191,'America/Rio_Branco',-5,0,NULL,NULL,NULL),(192,'America/Rosario',-3,0,NULL,NULL,NULL),(193,'America/Santa_Isabel',-8,1,'2025-03-09 10:00:00','2025-11-02 09:00:00','2024-12-16 00:00:01'),(194,'America/Santarem',-3,0,NULL,NULL,NULL),(195,'America/Santiago',-3,0,NULL,NULL,NULL),(196,'America/Santo_Domingo',-4,0,NULL,NULL,NULL),(197,'America/Sao_Paulo',-3,1,'2019-11-03 03:00:00','2020-02-16 02:00:00','2019-07-05 00:00:02'),(198,'America/Scoresbysund',-1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:01'),(199,'America/Shiprock',-7,1,'2025-03-09 09:00:00','2025-11-02 08:00:00','2024-12-16 00:00:01'),(200,'America/Sitka',-9,1,'2025-03-09 11:00:00','2025-11-02 10:00:00','2024-12-16 00:00:01'),(201,'America/St_Barthelemy',-4,0,NULL,NULL,NULL),(202,'America/St_Johns',-3,1,'2025-03-09 05:30:00','2025-11-02 04:30:00','2024-12-16 00:00:01'),(203,'America/St_Kitts',-4,0,NULL,NULL,NULL),(204,'America/St_Lucia',-4,0,NULL,NULL,NULL),(205,'America/St_Thomas',-4,0,NULL,NULL,NULL),(206,'America/St_Vincent',-4,0,NULL,NULL,NULL),(207,'America/Swift_Current',-6,0,NULL,NULL,NULL),(208,'America/Tegucigalpa',-6,0,NULL,NULL,NULL),(209,'America/Thule',-4,1,'2025-03-09 06:00:00','2025-11-02 05:00:00','2024-12-16 00:00:01'),(210,'America/Thunder_Bay',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(211,'America/Tijuana',-8,1,'2025-03-09 10:00:00','2025-11-02 09:00:00','2024-12-16 00:00:01'),(212,'America/Toronto',-5,1,'2025-03-09 07:00:00','2025-11-02 06:00:00','2024-12-16 00:00:01'),(213,'America/Tortola',-4,0,NULL,NULL,NULL),(214,'America/Vancouver',-8,1,'2025-03-09 10:00:00','2025-11-02 09:00:00','2024-12-16 00:00:01'),(215,'America/Virgin',-4,0,NULL,NULL,NULL),(216,'America/Whitehorse',-8,1,'2020-11-01 07:00:00',NULL,'2020-11-01 00:00:04'),(217,'America/Winnipeg',-6,1,'2025-03-09 08:00:00','2025-11-02 07:00:00','2024-12-16 00:00:01'),(218,'America/Yakutat',-9,1,'2025-03-09 11:00:00','2025-11-02 10:00:00','2024-12-16 00:00:01'),(219,'America/Yellowknife',-7,1,'2025-03-09 09:00:00','2025-11-02 08:00:00','2024-12-16 00:00:01'),(220,'Asia/Aden',3,0,NULL,NULL,NULL),(221,'Asia/Almaty',6,0,NULL,NULL,NULL),(222,'Asia/Amman',2,1,'2024-02-29 22:00:00','2023-10-26 22:00:00','2023-05-30 00:00:02'),(223,'Asia/Anadyr',12,0,NULL,NULL,NULL),(224,'Asia/Aqtau',5,0,NULL,NULL,NULL),(225,'Asia/Aqtobe',5,0,NULL,NULL,NULL),(226,'Asia/Ashgabat',5,0,NULL,NULL,NULL),(227,'Asia/Ashkhabad',5,0,NULL,NULL,NULL),(228,'Asia/Baghdad',3,0,NULL,NULL,NULL),(229,'Asia/Bahrain',3,0,NULL,NULL,NULL),(230,'Asia/Baku',4,1,'2017-03-26 00:00:00','2016-10-30 00:00:00','2016-07-10 23:59:56'),(231,'Asia/Bangkok',7,0,NULL,NULL,NULL),(232,'Asia/Beirut',2,1,'2025-03-29 22:00:00','2025-10-25 21:00:00','2024-12-16 00:00:01'),(233,'Asia/Bishkek',6,0,NULL,NULL,NULL),(234,'Asia/Brunei',8,0,NULL,NULL,NULL),(235,'Asia/Calcutta',5,0,NULL,NULL,NULL),(236,'Asia/Chita',8,0,NULL,NULL,NULL),(237,'Asia/Choibalsan',8,1,'2018-03-30 18:00:00','2018-09-28 15:00:00','2017-11-11 00:00:02'),(238,'Asia/Chongqing',8,0,NULL,NULL,NULL),(239,'Asia/Chungking',8,0,NULL,NULL,NULL),(240,'Asia/Colombo',5,0,NULL,NULL,NULL),(241,'Asia/Dacca',6,0,NULL,NULL,NULL),(242,'Asia/Damascus',2,1,'2024-03-28 22:00:00','2023-10-26 21:00:00','2023-05-30 00:00:03'),(243,'Asia/Dhaka',6,0,NULL,NULL,NULL),(244,'Asia/Dili',9,0,NULL,NULL,NULL),(245,'Asia/Dubai',4,0,NULL,NULL,NULL),(246,'Asia/Dushanbe',5,0,NULL,NULL,NULL),(247,'Asia/Gaza',2,1,'2025-04-12 00:00:00','2025-10-24 23:00:00','2024-12-16 00:00:01'),(248,'Asia/Harbin',8,0,NULL,NULL,NULL),(249,'Asia/Hebron',2,1,'2025-04-12 00:00:00','2025-10-24 23:00:00','2024-12-16 00:00:01'),(250,'Asia/Ho_Chi_Minh',7,0,NULL,NULL,NULL),(251,'Asia/Hong_Kong',8,0,NULL,NULL,NULL),(252,'Asia/Hovd',7,1,'2018-03-30 19:00:00','2018-09-28 16:00:00','2017-11-11 00:00:02'),(253,'Asia/Irkutsk',8,0,NULL,NULL,NULL),(254,'Asia/Istanbul',2,1,'2018-03-25 01:00:00','2017-10-29 01:00:00','2017-06-29 22:00:02'),(255,'Asia/Jakarta',7,0,NULL,NULL,NULL),(256,'Asia/Jayapura',9,0,NULL,NULL,NULL),(257,'Asia/Jerusalem',2,1,'2025-03-28 00:00:00','2025-10-25 23:00:00','2024-12-16 00:00:01'),(258,'Asia/Kabul',4,0,NULL,NULL,NULL),(259,'Asia/Kamchatka',12,0,NULL,NULL,NULL),(260,'Asia/Karachi',5,0,NULL,NULL,NULL),(261,'Asia/Kashgar',6,0,NULL,NULL,NULL),(262,'Asia/Kathmandu',5,0,NULL,NULL,NULL),(263,'Asia/Katmandu',5,0,NULL,NULL,NULL),(264,'Asia/Khandyga',9,0,NULL,NULL,NULL),(265,'Asia/Kolkata',5,0,NULL,NULL,NULL),(266,'Asia/Krasnoyarsk',7,0,NULL,NULL,NULL),(267,'Asia/Kuala_Lumpur',8,0,NULL,NULL,NULL),(268,'Asia/Kuching',8,0,NULL,NULL,NULL),(269,'Asia/Kuwait',3,0,NULL,NULL,NULL),(270,'Asia/Macao',8,0,NULL,NULL,NULL),(271,'Asia/Macau',8,0,NULL,NULL,NULL),(272,'Asia/Magadan',10,0,NULL,NULL,NULL),(273,'Asia/Makassar',8,0,NULL,NULL,NULL),(274,'Asia/Manila',8,0,NULL,NULL,NULL),(275,'Asia/Muscat',4,0,NULL,NULL,NULL),(276,'Asia/Nicosia',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(277,'Asia/Novokuznetsk',7,0,NULL,NULL,NULL),(278,'Asia/Novosibirsk',6,0,NULL,NULL,NULL),(279,'Asia/Omsk',6,0,NULL,NULL,NULL),(280,'Asia/Oral',5,0,NULL,NULL,NULL),(281,'Asia/Phnom_Penh',7,0,NULL,NULL,NULL),(282,'Asia/Pontianak',7,0,NULL,NULL,NULL),(283,'Asia/Pyongyang',8,0,NULL,NULL,NULL),(284,'Asia/Qatar',3,0,NULL,NULL,NULL),(285,'Asia/Qyzylorda',6,0,NULL,NULL,NULL),(286,'Asia/Rangoon',6,0,NULL,NULL,NULL),(287,'Asia/Riyadh',3,0,NULL,NULL,NULL),(288,'Asia/Saigon',7,0,NULL,NULL,NULL),(289,'Asia/Sakhalin',10,0,NULL,NULL,NULL),(290,'Asia/Samarkand',5,0,NULL,NULL,NULL),(291,'Asia/Seoul',9,0,NULL,NULL,NULL),(292,'Asia/Shanghai',8,0,NULL,NULL,NULL),(293,'Asia/Singapore',8,0,NULL,NULL,NULL),(294,'Asia/Srednekolymsk',11,0,NULL,NULL,NULL),(295,'Asia/Taipei',8,0,NULL,NULL,NULL),(296,'Asia/Tashkent',5,0,NULL,NULL,NULL),(297,'Asia/Tbilisi',4,0,NULL,NULL,NULL),(298,'Asia/Tehran',3,1,'2024-03-20 20:30:00','2023-09-21 19:30:00','2023-05-30 00:00:03'),(299,'Asia/Tel_Aviv',2,1,'2025-03-28 00:00:00','2025-10-25 23:00:00','2024-12-16 00:00:02'),(300,'Asia/Thimbu',6,0,NULL,NULL,NULL),(301,'Asia/Thimphu',6,0,NULL,NULL,NULL),(302,'Asia/Tokyo',9,0,NULL,NULL,NULL),(303,'Asia/Ujung_Pandang',8,0,NULL,NULL,NULL),(304,'Asia/Ulaanbaatar',8,1,'2018-03-30 18:00:00','2018-09-28 15:00:00','2017-11-11 00:00:02'),(305,'Asia/Ulan_Bator',8,1,'2018-03-30 18:00:00','2018-09-28 15:00:00','2017-11-11 00:00:02'),(306,'Asia/Urumqi',6,0,NULL,NULL,NULL),(307,'Asia/Ust-Nera',10,0,NULL,NULL,NULL),(308,'Asia/Vientiane',7,0,NULL,NULL,NULL),(309,'Asia/Vladivostok',10,0,NULL,NULL,NULL),(310,'Asia/Yakutsk',9,0,NULL,NULL,NULL),(311,'Asia/Yekaterinburg',5,0,NULL,NULL,NULL),(312,'Asia/Yerevan',4,0,NULL,NULL,NULL),(313,'Atlantic/Azores',-1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(314,'Atlantic/Bermuda',-4,1,'2025-03-09 06:00:00','2025-11-02 05:00:00','2024-12-16 00:00:02'),(315,'Atlantic/Canary',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(316,'Atlantic/Cape_Verde',-1,0,NULL,NULL,NULL),(317,'Atlantic/Faeroe',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(318,'Atlantic/Faroe',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(319,'Atlantic/Jan_Mayen',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(320,'Atlantic/Madeira',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(321,'Atlantic/Reykjavik',0,0,NULL,NULL,NULL),(322,'Atlantic/South_Georgia',-2,0,NULL,NULL,NULL),(323,'Atlantic/St_Helena',0,0,NULL,NULL,NULL),(324,'Atlantic/Stanley',-3,0,NULL,NULL,NULL),(325,'Australia/ACT',10,1,'2025-10-04 16:00:00','2025-04-05 16:00:00','2024-12-16 00:00:02'),(326,'Australia/Adelaide',9,1,'2025-10-04 16:30:00','2025-04-05 16:30:00','2024-12-16 00:00:02'),(327,'Australia/Brisbane',10,0,NULL,NULL,NULL),(328,'Australia/Broken_Hill',9,1,'2025-10-04 16:30:00','2025-04-05 16:30:00','2024-12-16 00:00:02'),(329,'Australia/Canberra',10,1,'2025-10-04 16:00:00','2025-04-05 16:00:00','2024-12-16 00:00:02'),(330,'Australia/Currie',10,1,'2025-10-04 16:00:00','2025-04-05 16:00:00','2024-12-16 00:00:02'),(331,'Australia/Darwin',9,0,NULL,NULL,NULL),(332,'Australia/Eucla',8,0,NULL,NULL,NULL),(333,'Australia/Hobart',10,1,'2025-10-04 16:00:00','2025-04-05 16:00:00','2024-12-16 00:00:02'),(334,'Australia/LHI',10,1,'2025-10-04 15:30:00','2025-04-05 15:00:00','2024-12-16 00:00:02'),(335,'Australia/Lindeman',10,0,NULL,NULL,NULL),(336,'Australia/Lord_Howe',10,1,'2025-10-04 15:30:00','2025-04-05 15:00:00','2024-12-16 00:00:02'),(337,'Australia/Melbourne',10,1,'2025-10-04 16:00:00','2025-04-05 16:00:00','2024-12-16 00:00:02'),(338,'Australia/North',9,0,NULL,NULL,NULL),(339,'Australia/NSW',10,1,'2025-10-04 16:00:00','2025-04-05 16:00:00','2024-12-16 00:00:02'),(340,'Australia/Perth',8,0,NULL,NULL,NULL),(341,'Australia/Queensland',10,0,NULL,NULL,NULL),(342,'Australia/South',9,1,'2025-10-04 16:30:00','2025-04-05 16:30:00','2024-12-16 00:00:02'),(343,'Australia/Sydney',10,1,'2025-10-04 16:00:00','2025-04-05 16:00:00','2024-12-16 00:00:02'),(344,'Australia/Tasmania',10,1,'2025-10-04 16:00:00','2025-04-05 16:00:00','2024-12-16 00:00:02'),(345,'Australia/Victoria',10,1,'2025-10-04 16:00:00','2025-04-05 16:00:00','2024-12-16 00:00:02'),(346,'Australia/West',8,0,NULL,NULL,NULL),(347,'Australia/Yancowinna',9,1,'2025-10-04 16:30:00','2025-04-05 16:30:00','2024-12-16 00:00:02'),(348,'Europe/Amsterdam',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(349,'Europe/Andorra',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(350,'Europe/Athens',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(351,'Europe/Belfast',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(352,'Europe/Belgrade',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(353,'Europe/Berlin',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(354,'Europe/Bratislava',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(355,'Europe/Brussels',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(356,'Europe/Bucharest',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(357,'Europe/Budapest',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(358,'Europe/Busingen',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(359,'Europe/Chisinau',2,1,'2025-03-30 00:00:00','2025-10-26 00:00:00','2024-12-16 00:00:02'),(360,'Europe/Copenhagen',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(361,'Europe/Dublin',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(362,'Europe/Gibraltar',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(363,'Europe/Guernsey',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(364,'Europe/Helsinki',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(365,'Europe/Isle_of_Man',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(366,'Europe/Istanbul',2,1,'2018-03-25 01:00:00','2017-10-29 01:00:00','2017-06-29 22:00:02'),(367,'Europe/Jersey',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(368,'Europe/Kaliningrad',2,0,NULL,NULL,NULL),(369,'Europe/Kiev',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(370,'Europe/Lisbon',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(371,'Europe/Ljubljana',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(372,'Europe/London',0,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(373,'Europe/Luxembourg',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(374,'Europe/Madrid',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(375,'Europe/Malta',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(376,'Europe/Mariehamn',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(377,'Europe/Minsk',3,0,NULL,NULL,NULL),(378,'Europe/Monaco',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(379,'Europe/Moscow',3,0,NULL,NULL,NULL),(380,'Europe/Nicosia',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(381,'Europe/Oslo',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(382,'Europe/Paris',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(383,'Europe/Podgorica',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(384,'Europe/Prague',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(385,'Europe/Riga',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(386,'Europe/Rome',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(387,'Europe/Samara',4,0,NULL,NULL,NULL),(388,'Europe/San_Marino',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(389,'Europe/Sarajevo',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(390,'Europe/Simferopol',2,1,NULL,NULL,NULL),(391,'Europe/Skopje',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(392,'Europe/Sofia',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(393,'Europe/Stockholm',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(394,'Europe/Tallinn',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(395,'Europe/Tirane',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(396,'Europe/Tiraspol',2,1,'2025-03-30 00:00:00','2025-10-26 00:00:00','2024-12-16 00:00:02'),(397,'Europe/Uzhgorod',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(398,'Europe/Vaduz',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(399,'Europe/Vatican',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(400,'Europe/Vienna',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(401,'Europe/Vilnius',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(402,'Europe/Volgograd',3,0,NULL,NULL,NULL),(403,'Europe/Warsaw',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(404,'Europe/Zagreb',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(405,'Europe/Zaporozhye',2,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(406,'Europe/Zurich',1,1,'2025-03-30 01:00:00','2025-10-26 01:00:00','2024-12-16 00:00:02'),(407,'Indian/Antananarivo',3,0,NULL,NULL,NULL),(408,'Indian/Chagos',6,0,NULL,NULL,NULL),(409,'Indian/Christmas',7,0,NULL,NULL,NULL),(410,'Indian/Cocos',6,0,NULL,NULL,NULL),(411,'Indian/Comoro',3,0,NULL,NULL,NULL),(412,'Indian/Kerguelen',5,0,NULL,NULL,NULL),(413,'Indian/Mahe',4,0,NULL,NULL,NULL),(414,'Indian/Maldives',5,0,NULL,NULL,NULL),(415,'Indian/Mauritius',4,0,NULL,NULL,NULL),(416,'Indian/Mayotte',3,0,NULL,NULL,NULL),(417,'Indian/Reunion',4,0,NULL,NULL,NULL),(418,'Pacific/Apia',13,1,'2022-09-24 14:00:00','2022-04-02 14:00:00','2021-10-07 00:00:06'),(419,'Pacific/Auckland',12,1,'2025-09-27 14:00:00','2025-04-05 14:00:00','2024-12-16 00:00:02'),(420,'Pacific/Bougainville',11,0,NULL,NULL,NULL),(421,'Pacific/Chatham',12,1,'2025-09-27 14:00:00','2025-04-05 14:00:00','2024-12-16 00:00:02'),(422,'Pacific/Chuuk',10,0,NULL,NULL,NULL),(423,'Pacific/Easter',-5,0,NULL,NULL,NULL),(424,'Pacific/Efate',11,0,NULL,NULL,NULL),(425,'Pacific/Enderbury',13,0,NULL,NULL,NULL),(426,'Pacific/Fakaofo',13,0,NULL,NULL,NULL),(427,'Pacific/Fiji',12,1,'2023-11-11 14:00:00','2024-01-13 14:00:00','2023-05-30 00:00:04'),(428,'Pacific/Funafuti',12,0,NULL,NULL,NULL),(429,'Pacific/Galapagos',-6,0,NULL,NULL,NULL),(430,'Pacific/Gambier',-9,0,NULL,NULL,NULL),(431,'Pacific/Guadalcanal',11,0,NULL,NULL,NULL),(432,'Pacific/Guam',10,0,NULL,NULL,NULL),(433,'Pacific/Honolulu',-10,0,NULL,NULL,NULL),(434,'Pacific/Johnston',-10,0,NULL,NULL,NULL),(435,'Pacific/Kiritimati',14,0,NULL,NULL,NULL),(436,'Pacific/Kosrae',11,0,NULL,NULL,NULL),(437,'Pacific/Kwajalein',12,0,NULL,NULL,NULL),(438,'Pacific/Majuro',12,0,NULL,NULL,NULL),(439,'Pacific/Marquesas',-9,0,NULL,NULL,NULL),(440,'Pacific/Midway',-11,0,NULL,NULL,NULL),(441,'Pacific/Nauru',12,0,NULL,NULL,NULL),(442,'Pacific/Niue',-11,0,NULL,NULL,NULL),(443,'Pacific/Norfolk',11,0,NULL,NULL,NULL),(444,'Pacific/Noumea',11,0,NULL,NULL,NULL),(445,'Pacific/Pago_Pago',-11,0,NULL,NULL,NULL),(446,'Pacific/Palau',9,0,NULL,NULL,NULL),(447,'Pacific/Pitcairn',-8,0,NULL,NULL,NULL),(448,'Pacific/Pohnpei',11,0,NULL,NULL,NULL),(449,'Pacific/Ponape',11,0,NULL,NULL,NULL),(450,'Pacific/Port_Moresby',10,0,NULL,NULL,NULL),(451,'Pacific/Rarotonga',-10,0,NULL,NULL,NULL),(452,'Pacific/Saipan',10,0,NULL,NULL,NULL),(453,'Pacific/Samoa',-11,0,NULL,NULL,NULL),(454,'Pacific/Tahiti',-10,0,NULL,NULL,NULL),(455,'Pacific/Tarawa',12,0,NULL,NULL,NULL),(456,'Pacific/Tongatapu',13,0,NULL,NULL,NULL),(457,'Pacific/Truk',10,0,NULL,NULL,NULL),(458,'Pacific/Wake',12,0,NULL,NULL,NULL),(459,'Pacific/Wallis',12,0,NULL,NULL,NULL),(460,'Pacific/Yap',10,0,NULL,NULL,NULL),(461,'GMT',0,0,NULL,NULL,NULL),(462,'UTC',0,0,NULL,NULL,NULL);

--
-- Table structure for table `timezones_aux`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `timezones_aux` (
  `timezone` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `timezone_offset` int DEFAULT NULL,
  `timezone_dst` int DEFAULT NULL,
  PRIMARY KEY (`timezone`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `timezones_aux`
--


--
-- Table structure for table `unknown_imei_mac_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `unknown_imei_mac_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `TS` datetime DEFAULT NULL,
  `imei_mac` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=396 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `unknown_imei_mac_log`
--

INSERT INTO `unknown_imei_mac_log` VALUES (1,'2024-11-15 12:10:48','352247631947596'),(2,'2024-11-15 12:15:22','352247631947596'),(3,'2024-11-15 12:16:43','352247631947596'),(4,'2024-11-15 12:18:18','352247631947596'),(5,'2024-11-15 12:20:01','352247631947596'),(6,'2024-11-15 12:23:16','352247631947596'),(7,'2024-11-15 12:28:35','352247631947596'),(8,'2024-11-15 12:31:22','352247631947596'),(9,'2024-11-15 12:33:47','352247631947596'),(10,'2024-11-15 12:38:14','352247631947596'),(11,'2024-11-15 12:38:42','352247631947596'),(12,'2024-11-18 10:57:06','352247631947596'),(13,'2024-11-18 10:59:15','352247631947596'),(14,'2024-11-18 11:10:21','352247631947596'),(15,'2024-11-18 12:03:26','353081091628142'),(16,'2024-11-18 12:07:20','353081091628142'),(17,'2024-11-18 12:09:04','353081091628142'),(18,'2024-11-18 12:13:46','352247631947596'),(19,'2024-11-20 09:27:38','356995846173889'),(20,'2024-11-20 09:28:16','356995846173889'),(21,'2024-11-20 10:16:13','356995846173889'),(22,'2024-11-20 10:37:44','356995846173889'),(23,'2024-11-20 11:09:46','356995846173889'),(24,'2024-11-20 11:14:39','356995846173889'),(25,'2024-11-21 08:00:53','359206100244003'),(26,'2024-11-21 09:30:55','359206100244003'),(27,'2024-11-21 09:31:04','359206100244003'),(28,'2024-11-21 09:32:46','359206100244003'),(29,'2024-11-22 08:31:37','359206100244003'),(30,'2024-11-22 09:06:05','359206100244003'),(31,'2024-11-26 13:54:02','121212121212121'),(32,'2024-12-03 09:58:57','359206100301373'),(33,'2024-12-03 09:58:59','359206100301373'),(34,'2024-12-03 09:58:59','359206100301373'),(35,'2024-12-03 09:58:59','359206100301373'),(36,'2024-12-03 09:58:59','359206100301373'),(37,'2024-12-03 09:59:00','359206100301373'),(38,'2024-12-03 09:59:00','359206100301373'),(39,'2024-12-03 16:05:45','359206100301373'),(40,'2024-12-03 16:05:47','359206100301373'),(41,'2024-12-03 16:05:47','359206100301373'),(42,'2024-12-03 16:05:47','359206100301373'),(43,'2024-12-03 16:05:47','359206100301373'),(44,'2024-12-03 16:05:48','359206100301373'),(45,'2024-12-03 16:05:48','359206100301373'),(46,'2024-12-03 22:13:35','359206100301373'),(47,'2024-12-03 22:13:37','359206100301373'),(48,'2024-12-03 22:13:37','359206100301373'),(49,'2024-12-03 22:13:37','359206100301373'),(50,'2024-12-03 22:13:37','359206100301373'),(51,'2024-12-03 22:13:38','359206100301373'),(52,'2024-12-03 22:13:38','359206100301373'),(53,'2024-12-04 04:20:41','359206100301373'),(54,'2024-12-04 04:20:43','359206100301373'),(55,'2024-12-04 04:20:43','359206100301373'),(56,'2024-12-04 04:20:43','359206100301373'),(57,'2024-12-04 04:20:43','359206100301373'),(58,'2024-12-04 04:20:45','359206100301373'),(59,'2024-12-04 04:20:45','359206100301373'),(60,'2024-12-04 09:58:25','359206100301373'),(61,'2024-12-04 09:58:27','359206100301373'),(62,'2024-12-04 09:58:27','359206100301373'),(63,'2024-12-04 09:58:27','359206100301373'),(64,'2024-12-04 09:58:27','359206100301373'),(65,'2024-12-04 09:58:28','359206100301373'),(66,'2024-12-04 09:58:28','359206100301373'),(67,'2024-12-04 16:04:08','359206100301373'),(68,'2024-12-04 16:04:10','359206100301373'),(69,'2024-12-04 16:04:10','359206100301373'),(70,'2024-12-04 16:04:10','359206100301373'),(71,'2024-12-04 16:04:10','359206100301373'),(72,'2024-12-04 16:04:11','359206100301373'),(73,'2024-12-04 16:04:11','359206100301373'),(74,'2024-12-04 22:11:26','359206100301373'),(75,'2024-12-04 22:11:28','359206100301373'),(76,'2024-12-04 22:11:28','359206100301373'),(77,'2024-12-04 22:11:28','359206100301373'),(78,'2024-12-04 22:11:28','359206100301373'),(79,'2024-12-04 22:11:30','359206100301373'),(80,'2024-12-04 22:11:30','359206100301373'),(81,'2024-12-05 04:20:09','359206100301373'),(82,'2024-12-05 04:20:11','359206100301373'),(83,'2024-12-05 04:20:11','359206100301373'),(84,'2024-12-05 04:20:11','359206100301373'),(85,'2024-12-05 04:20:11','359206100301373'),(86,'2024-12-05 04:20:13','359206100301373'),(87,'2024-12-05 04:20:13','359206100301373'),(88,'2024-12-05 09:58:21','359206100301373'),(89,'2024-12-05 09:58:23','359206100301373'),(90,'2024-12-05 09:58:23','359206100301373'),(91,'2024-12-05 09:58:23','359206100301373'),(92,'2024-12-05 09:58:23','359206100301373'),(93,'2024-12-05 09:58:24','359206100301373'),(94,'2024-12-05 09:58:24','359206100301373'),(95,'2024-12-05 16:05:15','359206100301373'),(96,'2024-12-05 16:05:16','359206100301373'),(97,'2024-12-05 16:05:16','359206100301373'),(98,'2024-12-05 16:05:16','359206100301373'),(99,'2024-12-05 16:05:16','359206100301373'),(100,'2024-12-05 16:05:18','359206100301373'),(101,'2024-12-05 16:05:18','359206100301373'),(102,'2024-12-05 22:12:23','359206100301373'),(103,'2024-12-05 22:12:24','359206100301373'),(104,'2024-12-05 22:12:24','359206100301373'),(105,'2024-12-05 22:12:24','359206100301373'),(106,'2024-12-05 22:12:24','359206100301373'),(107,'2024-12-05 22:12:26','359206100301373'),(108,'2024-12-05 22:12:26','359206100301373'),(109,'2024-12-06 04:21:04','359206100301373'),(110,'2024-12-06 04:21:05','359206100301373'),(111,'2024-12-06 04:21:05','359206100301373'),(112,'2024-12-06 04:21:05','359206100301373'),(113,'2024-12-06 04:21:05','359206100301373'),(114,'2024-12-06 04:21:07','359206100301373'),(115,'2024-12-06 04:21:07','359206100301373'),(116,'2024-12-06 09:58:57','359206100301373'),(117,'2024-12-06 09:58:59','359206100301373'),(118,'2024-12-06 09:58:59','359206100301373'),(119,'2024-12-06 09:58:59','359206100301373'),(120,'2024-12-06 09:58:59','359206100301373'),(121,'2024-12-06 09:59:01','359206100301373'),(122,'2024-12-06 09:59:01','359206100301373'),(123,'2024-12-06 16:06:21','359206100301373'),(124,'2024-12-06 16:06:23','359206100301373'),(125,'2024-12-06 16:06:23','359206100301373'),(126,'2024-12-06 16:06:23','359206100301373'),(127,'2024-12-06 16:06:23','359206100301373'),(128,'2024-12-06 16:06:25','359206100301373'),(129,'2024-12-06 16:06:25','359206100301373'),(130,'2024-12-06 22:14:56','359206100301373'),(131,'2024-12-06 22:14:58','359206100301373'),(132,'2024-12-06 22:14:58','359206100301373'),(133,'2024-12-06 22:14:58','359206100301373'),(134,'2024-12-06 22:14:58','359206100301373'),(135,'2024-12-06 22:15:00','359206100301373'),(136,'2024-12-06 22:15:00','359206100301373'),(137,'2024-12-07 04:23:30','359206100301373'),(138,'2024-12-07 04:23:32','359206100301373'),(139,'2024-12-07 04:23:32','359206100301373'),(140,'2024-12-07 04:23:32','359206100301373'),(141,'2024-12-07 04:23:32','359206100301373'),(142,'2024-12-07 04:23:34','359206100301373'),(143,'2024-12-07 04:23:34','359206100301373'),(144,'2024-12-07 10:00:16','359206100301373'),(145,'2024-12-07 10:00:18','359206100301373'),(146,'2024-12-07 10:00:18','359206100301373'),(147,'2024-12-07 10:00:18','359206100301373'),(148,'2024-12-07 10:00:18','359206100301373'),(149,'2024-12-07 10:00:20','359206100301373'),(150,'2024-12-07 10:00:20','359206100301373'),(151,'2024-12-07 16:06:51','359206100301373'),(152,'2024-12-07 16:06:53','359206100301373'),(153,'2024-12-07 16:06:53','359206100301373'),(154,'2024-12-07 16:06:53','359206100301373'),(155,'2024-12-07 16:06:53','359206100301373'),(156,'2024-12-07 16:06:54','359206100301373'),(157,'2024-12-07 16:06:54','359206100301373'),(158,'2024-12-07 22:13:26','359206100301373'),(159,'2024-12-07 22:13:27','359206100301373'),(160,'2024-12-07 22:13:27','359206100301373'),(161,'2024-12-07 22:13:27','359206100301373'),(162,'2024-12-07 22:13:27','359206100301373'),(163,'2024-12-07 22:13:29','359206100301373'),(164,'2024-12-07 22:13:29','359206100301373'),(165,'2024-12-08 04:20:32','359206100301373'),(166,'2024-12-08 04:20:34','359206100301373'),(167,'2024-12-08 04:20:34','359206100301373'),(168,'2024-12-08 04:20:34','359206100301373'),(169,'2024-12-08 04:20:34','359206100301373'),(170,'2024-12-08 04:20:35','359206100301373'),(171,'2024-12-08 04:20:35','359206100301373'),(172,'2024-12-08 09:58:32','359206100301373'),(173,'2024-12-08 09:58:34','359206100301373'),(174,'2024-12-08 09:58:34','359206100301373'),(175,'2024-12-08 09:58:34','359206100301373'),(176,'2024-12-08 09:58:34','359206100301373'),(177,'2024-12-08 09:58:35','359206100301373'),(178,'2024-12-08 09:58:35','359206100301373'),(179,'2024-12-08 16:05:51','359206100301373'),(180,'2024-12-08 16:05:52','359206100301373'),(181,'2024-12-08 16:05:52','359206100301373'),(182,'2024-12-08 16:05:52','359206100301373'),(183,'2024-12-08 16:05:52','359206100301373'),(184,'2024-12-08 16:05:54','359206100301373'),(185,'2024-12-08 16:05:54','359206100301373'),(186,'2024-12-08 22:15:52','359206100301373'),(187,'2024-12-08 22:15:54','359206100301373'),(188,'2024-12-08 22:15:54','359206100301373'),(189,'2024-12-08 22:15:54','359206100301373'),(190,'2024-12-08 22:15:54','359206100301373'),(191,'2024-12-08 22:15:56','359206100301373'),(192,'2024-12-08 22:15:56','359206100301373'),(193,'2024-12-09 04:24:12','359206100301373'),(194,'2024-12-09 04:24:14','359206100301373'),(195,'2024-12-09 04:24:14','359206100301373'),(196,'2024-12-09 04:24:14','359206100301373'),(197,'2024-12-09 04:24:14','359206100301373'),(198,'2024-12-09 04:24:15','359206100301373'),(199,'2024-12-09 04:24:15','359206100301373'),(200,'2024-12-09 09:59:29','359206100301373'),(201,'2024-12-09 09:59:31','359206100301373'),(202,'2024-12-09 09:59:31','359206100301373'),(203,'2024-12-09 09:59:31','359206100301373'),(204,'2024-12-09 09:59:31','359206100301373'),(205,'2024-12-09 09:59:33','359206100301373'),(206,'2024-12-09 09:59:33','359206100301373'),(207,'2024-12-09 16:07:18','359206100301373'),(208,'2024-12-09 16:07:20','359206100301373'),(209,'2024-12-09 16:07:20','359206100301373'),(210,'2024-12-09 16:07:20','359206100301373'),(211,'2024-12-09 16:07:20','359206100301373'),(212,'2024-12-09 16:07:22','359206100301373'),(213,'2024-12-09 16:07:22','359206100301373'),(214,'2024-12-09 22:14:06','359206100301373'),(215,'2024-12-09 22:14:08','359206100301373'),(216,'2024-12-09 22:14:08','359206100301373'),(217,'2024-12-09 22:14:08','359206100301373'),(218,'2024-12-09 22:14:08','359206100301373'),(219,'2024-12-09 22:14:09','359206100301373'),(220,'2024-12-09 22:14:09','359206100301373'),(221,'2024-12-10 04:21:10','359206100301373'),(222,'2024-12-10 04:21:12','359206100301373'),(223,'2024-12-10 04:21:12','359206100301373'),(224,'2024-12-10 04:21:12','359206100301373'),(225,'2024-12-10 04:21:12','359206100301373'),(226,'2024-12-10 04:21:14','359206100301373'),(227,'2024-12-10 04:21:14','359206100301373'),(228,'2024-12-10 09:58:47','359206100301373'),(229,'2024-12-10 09:58:49','359206100301373'),(230,'2024-12-10 09:58:49','359206100301373'),(231,'2024-12-10 09:58:49','359206100301373'),(232,'2024-12-10 09:58:49','359206100301373'),(233,'2024-12-10 09:58:51','359206100301373'),(234,'2024-12-10 09:58:51','359206100301373'),(235,'2024-12-10 16:06:46','359206100301373'),(236,'2024-12-10 16:06:48','359206100301373'),(237,'2024-12-10 16:06:48','359206100301373'),(238,'2024-12-10 16:06:48','359206100301373'),(239,'2024-12-10 16:06:48','359206100301373'),(240,'2024-12-10 16:06:49','359206100301373'),(241,'2024-12-10 16:06:49','359206100301373'),(242,'2024-12-10 22:13:28','359206100301373'),(243,'2024-12-10 22:13:30','359206100301373'),(244,'2024-12-10 22:13:30','359206100301373'),(245,'2024-12-10 22:13:30','359206100301373'),(246,'2024-12-10 22:13:30','359206100301373'),(247,'2024-12-10 22:13:32','359206100301373'),(248,'2024-12-10 22:13:32','359206100301373'),(249,'2024-12-11 04:20:24','359206100301373'),(250,'2024-12-11 04:20:26','359206100301373'),(251,'2024-12-11 04:20:26','359206100301373'),(252,'2024-12-11 04:20:26','359206100301373'),(253,'2024-12-11 04:20:26','359206100301373'),(254,'2024-12-11 04:20:28','359206100301373'),(255,'2024-12-11 04:20:28','359206100301373'),(256,'2024-12-11 09:59:00','359206100301373'),(257,'2024-12-11 09:59:02','359206100301373'),(258,'2024-12-11 09:59:02','359206100301373'),(259,'2024-12-11 09:59:02','359206100301373'),(260,'2024-12-11 09:59:02','359206100301373'),(261,'2024-12-11 09:59:04','359206100301373'),(262,'2024-12-11 09:59:04','359206100301373'),(263,'2024-12-11 16:07:12','359206100301373'),(264,'2024-12-11 16:07:14','359206100301373'),(265,'2024-12-11 16:07:14','359206100301373'),(266,'2024-12-11 16:07:14','359206100301373'),(267,'2024-12-11 16:07:14','359206100301373'),(268,'2024-12-11 16:07:15','359206100301373'),(269,'2024-12-11 16:07:15','359206100301373'),(270,'2024-12-11 22:16:07','359206100301373'),(271,'2024-12-11 22:16:09','359206100301373'),(272,'2024-12-11 22:16:09','359206100301373'),(273,'2024-12-11 22:16:09','359206100301373'),(274,'2024-12-11 22:16:09','359206100301373'),(275,'2024-12-11 22:16:10','359206100301373'),(276,'2024-12-11 22:16:10','359206100301373'),(277,'2024-12-12 04:23:03','359206100301373'),(278,'2024-12-12 04:23:05','359206100301373'),(279,'2024-12-12 04:23:05','359206100301373'),(280,'2024-12-12 04:23:05','359206100301373'),(281,'2024-12-12 04:23:05','359206100301373'),(282,'2024-12-12 04:23:07','359206100301373'),(283,'2024-12-12 04:23:07','359206100301373'),(284,'2024-12-12 10:00:22','359206100301373'),(285,'2024-12-12 10:00:23','359206100301373'),(286,'2024-12-12 10:00:23','359206100301373'),(287,'2024-12-12 10:00:23','359206100301373'),(288,'2024-12-12 10:00:23','359206100301373'),(289,'2024-12-12 10:00:25','359206100301373'),(290,'2024-12-12 10:00:25','359206100301373'),(291,'2024-12-12 16:07:52','359206100301373'),(292,'2024-12-12 16:07:53','359206100301373'),(293,'2024-12-12 16:07:53','359206100301373'),(294,'2024-12-12 16:07:54','359206100301373'),(295,'2024-12-12 16:07:54','359206100301373'),(296,'2024-12-12 16:07:55','359206100301373'),(297,'2024-12-12 16:07:55','359206100301373'),(298,'2024-12-12 22:14:13','359206100301373'),(299,'2024-12-12 22:14:15','359206100301373'),(300,'2024-12-12 22:14:15','359206100301373'),(301,'2024-12-12 22:14:15','359206100301373'),(302,'2024-12-12 22:14:15','359206100301373'),(303,'2024-12-12 22:14:17','359206100301373'),(304,'2024-12-12 22:14:17','359206100301373'),(305,'2024-12-13 04:20:47','359206100301373'),(306,'2024-12-13 04:20:49','359206100301373'),(307,'2024-12-13 04:20:49','359206100301373'),(308,'2024-12-13 04:20:49','359206100301373'),(309,'2024-12-13 04:20:49','359206100301373'),(310,'2024-12-13 04:20:51','359206100301373'),(311,'2024-12-13 04:20:51','359206100301373'),(312,'2024-12-13 09:58:53','359206100301373'),(313,'2024-12-13 09:58:55','359206100301373'),(314,'2024-12-13 09:58:55','359206100301373'),(315,'2024-12-13 09:58:55','359206100301373'),(316,'2024-12-13 09:58:55','359206100301373'),(317,'2024-12-13 09:58:57','359206100301373'),(318,'2024-12-13 09:58:57','359206100301373'),(319,'2024-12-13 16:05:43','359206100301373'),(320,'2024-12-13 16:05:45','359206100301373'),(321,'2024-12-13 16:05:45','359206100301373'),(322,'2024-12-13 16:05:45','359206100301373'),(323,'2024-12-13 16:05:45','359206100301373'),(324,'2024-12-13 16:05:46','359206100301373'),(325,'2024-12-13 16:05:46','359206100301373'),(326,'2024-12-13 22:13:59','359206100301373'),(327,'2024-12-13 22:14:01','359206100301373'),(328,'2024-12-13 22:14:01','359206100301373'),(329,'2024-12-13 22:14:01','359206100301373'),(330,'2024-12-13 22:14:01','359206100301373'),(331,'2024-12-13 22:14:03','359206100301373'),(332,'2024-12-13 22:14:03','359206100301373'),(333,'2024-12-14 04:19:24','359206100301373'),(334,'2024-12-14 04:19:26','359206100301373'),(335,'2024-12-14 04:19:26','359206100301373'),(336,'2024-12-14 04:19:26','359206100301373'),(337,'2024-12-14 04:19:26','359206100301373'),(338,'2024-12-14 04:19:28','359206100301373'),(339,'2024-12-14 04:19:28','359206100301373'),(340,'2024-12-14 09:58:14','359206100301373'),(341,'2024-12-14 09:58:16','359206100301373'),(342,'2024-12-14 09:58:16','359206100301373'),(343,'2024-12-14 09:58:16','359206100301373'),(344,'2024-12-14 09:58:16','359206100301373'),(345,'2024-12-14 09:58:17','359206100301373'),(346,'2024-12-14 09:58:17','359206100301373'),(347,'2024-12-14 16:06:28','359206100301373'),(348,'2024-12-14 16:06:30','359206100301373'),(349,'2024-12-14 16:06:30','359206100301373'),(350,'2024-12-14 16:06:30','359206100301373'),(351,'2024-12-14 16:06:30','359206100301373'),(352,'2024-12-14 16:06:32','359206100301373'),(353,'2024-12-14 16:06:32','359206100301373'),(354,'2024-12-14 22:14:43','359206100301373'),(355,'2024-12-14 22:14:45','359206100301373'),(356,'2024-12-14 22:14:45','359206100301373'),(357,'2024-12-14 22:14:45','359206100301373'),(358,'2024-12-14 22:14:45','359206100301373'),(359,'2024-12-14 22:14:46','359206100301373'),(360,'2024-12-14 22:14:46','359206100301373'),(361,'2024-12-15 04:22:51','359206100301373'),(362,'2024-12-15 04:22:53','359206100301373'),(363,'2024-12-15 04:22:53','359206100301373'),(364,'2024-12-15 04:22:53','359206100301373'),(365,'2024-12-15 04:22:53','359206100301373'),(366,'2024-12-15 04:22:55','359206100301373'),(367,'2024-12-15 04:22:55','359206100301373'),(368,'2024-12-15 09:59:51','359206100301373'),(369,'2024-12-15 09:59:53','359206100301373'),(370,'2024-12-15 09:59:53','359206100301373'),(371,'2024-12-15 09:59:53','359206100301373'),(372,'2024-12-15 09:59:53','359206100301373'),(373,'2024-12-15 09:59:55','359206100301373'),(374,'2024-12-15 09:59:55','359206100301373'),(375,'2024-12-15 16:08:28','359206100301373'),(376,'2024-12-15 16:08:30','359206100301373'),(377,'2024-12-15 16:08:30','359206100301373'),(378,'2024-12-15 16:08:30','359206100301373'),(379,'2024-12-15 16:08:30','359206100301373'),(380,'2024-12-15 16:08:31','359206100301373'),(381,'2024-12-15 16:08:31','359206100301373'),(382,'2024-12-15 22:16:35','359206100301373'),(383,'2024-12-15 22:16:37','359206100301373'),(384,'2024-12-15 22:16:37','359206100301373'),(385,'2024-12-15 22:16:37','359206100301373'),(386,'2024-12-15 22:16:37','359206100301373'),(387,'2024-12-15 22:16:38','359206100301373'),(388,'2024-12-15 22:16:38','359206100301373'),(389,'2024-12-16 04:24:37','359206100301373'),(390,'2024-12-16 04:24:39','359206100301373'),(391,'2024-12-16 04:24:39','359206100301373'),(392,'2024-12-16 04:24:39','359206100301373'),(393,'2024-12-16 04:24:39','359206100301373'),(394,'2024-12-16 04:24:41','359206100301373'),(395,'2024-12-16 04:24:41','359206100301373');

--
-- Table structure for table `user_password_reset`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `user_password_reset` (
  `id` int NOT NULL,
  `password_reset` int DEFAULT '0',
  `timestamp` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_password_reset`
--


--
-- Table structure for table `users`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `users` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pass` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `hash` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idplatform` int DEFAULT NULL,
  `admin` int DEFAULT NULL,
  `idgroup_home` int DEFAULT NULL,
  `date_register` datetime DEFAULT NULL,
  `date_last_access` datetime DEFAULT NULL,
  `login_attempts` int DEFAULT '0',
  `blocked` int DEFAULT '0',
  `date_unregister` datetime DEFAULT NULL,
  `language` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'es',
  `timezone` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'Europe/Madrid',
  `start_module` varchar(450) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'client_map',
  `start_idgroup` int DEFAULT NULL,
  `start_iddashboard_type` int DEFAULT NULL,
  `email` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `id_mobile` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idlabels` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '1,2,3,5,6,7,8',
  `token_expire_hours` int DEFAULT '24',
  `idpanels` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `recovery` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=365 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3','$2y$12$wnYAX2JZjIEGRu1B/YBXd.bqS7u3X9oWnz6JRqTXMIIGuhyaoRY/O','Admin',9,1,1,'2023-06-01 12:46:52',NULL,0,0,NULL,'en','UTC','gatewaysList',NULL,NULL,'admin@admin.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(290,'vzarzo','f7b87a435ef85fc4069d94daa4406951','$2y$12$/hG5uRQOnzbpKTxMLatP2edE762Iof70KHE045Juc2A4r/HiF3PSq','Vicente Zarzo',9,1,1,'2023-02-07 08:14:38','2024-12-04 09:26:37',0,0,NULL,'es','UTC','gatewaysList',1,NULL,'vzarzo@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,'d7e06b60ce168b6004cab06dfae4e6c5'),(66,'jrudilla','b38ac82b2f5ad02f7542148fc6f1f71f','$2y$12$eEJhc21hFPO3CpsOt0sk6Ocb.3G7hOWE3AhodblU3/U/AkYugHl4q','jrudilla',9,1,1,'2017-07-03 12:40:33','2024-12-04 10:55:42',0,0,NULL,'en','Europe/Madrid','devices',1,NULL,'jrudilla@hotmail.com','0c936a71-7064-428d-ac46-6bf61936da25','1,2,3,5,6,7,8',24,NULL,NULL),(266,'acalonge',NULL,'$2y$12$LDm3JkJAd3nPPqWaZy.IVO6A5H4ulgpRCfkffDUIag/DJOyyj7ryO','Antonio Calonge',9,1,1,'2022-06-06 15:35:34','2024-12-04 08:11:47',0,0,NULL,'es','Europe/Madrid','gatewaysList',NULL,NULL,'acalonge@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(362,'agoodwin','28766154f542368100262ea38e558d8c','$2y$12$zw/DVqy0TqLDtBczQzjX0OzQf0/WepeCe3G2nh4BhgG4Wii8.GwxC','Andrew Goodwin',9,1,375,'2024-09-18 09:25:17',NULL,0,0,NULL,'en','Europe/Berlin','gatewaysList',NULL,NULL,'agoodwin@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(274,'asambonet',NULL,'$2y$12$g.iGEKVt.cHx9DVQQJTQYuwyc3CmcWH6zTelVx6mjkgMOXV62z1Ni','Andreu Sambonet',9,1,1,'2022-08-02 06:42:04','2024-12-04 12:52:59',0,0,NULL,'es','Europe/Madrid','gatewaysList',1,NULL,'asambonet@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(363,'BaraniKarthikeyan','7decc91bfeee487fae41d550ec2bed63','$2y$12$y5JYArNvRBWDpCmnXZElsurinNsBCzKcnnlqzjsUOArTDKpT7yBaG','BaraniKarthikeyan',9,1,1,'2024-09-23 11:54:31','2024-11-13 11:24:29',0,0,NULL,'en','Asia/Dubai','gatewaysList',NULL,NULL,'baranik@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(154,'data','d195a88734dd703d35824a1376bdb3fe',NULL,'datakorum',9,1,1,'2017-07-03 12:40:33',NULL,0,0,'2021-01-05 13:00:00','en','Europe/Madrid','gatewaysList',1,NULL,NULL,'0c936a71-7064-428d-ac46-6bf61936da25','1,2,3,5,6,7,8',24,NULL,NULL),(152,'datakorum','83ef18e3d8e84e5ac3b65b5f4e3c3b2a',NULL,'datakorum',9,1,372,'2017-07-03 12:40:33',NULL,1,0,'2021-01-05 13:00:00','en','UTC','gatewaysList',372,NULL,NULL,'0c936a71-7064-428d-ac46-6bf61936da25','1,2,3,5,6,7,8',24,NULL,NULL),(8,'datakorum_de','2d9983c5b3a33990a33da1ad8addac47',NULL,'Datakorum_de',9,1,375,'2017-07-03 12:40:33',NULL,1,0,'2021-01-05 13:00:00','en','UTC','gatewaysList',375,NULL,NULL,NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(153,'datakorum_mde','7d9ecafd6d44c057d6c4ec406f7d9ccd',NULL,'datakorum',9,1,384,'2017-07-03 12:40:33',NULL,0,0,'2021-01-05 13:00:00','en','Europe/Madrid','gatewaysList',384,NULL,NULL,'0c936a71-7064-428d-ac46-6bf61936da25','1,2,3,5,6,7,8',24,NULL,NULL),(167,'dewa_state','7d9ecafd6d44c057d6c4ec406f7d9ccd',NULL,'Dewa State',9,1,369,'2017-07-03 12:40:33',NULL,0,0,'2021-01-05 13:00:00','en','Europe/Madrid','gatewaysList',369,NULL,NULL,'0c936a71-7064-428d-ac46-6bf61936da25','1,2,3,5,6,7,8',24,NULL,NULL),(356,'dmarquez','d5b76e9948eb008a573c06791cefccc0','$2y$12$kud4uTOIOJ1GCY/MlNqXB.rqoOlM.Ry5rei0Yw3u3.52c5QDZlqti','Diego Márquez',9,1,1,'2024-06-19 07:05:13','2024-12-03 13:10:11',0,0,NULL,'en','Europe/Madrid','gatewaysList',NULL,NULL,'dmarquez@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(272,'ecervera','62d15b6277f8ea50945a35b57b7e1797','$2y$12$Jpv0KVImCQOLa67dMBYJDeKPrzTG4sL7p0osUBcMnIYz0xBunQqIW','Elena Cervera',9,1,1,'2022-07-20 10:56:24','2024-07-15 11:51:43',0,0,NULL,'es','Europe/Madrid','gatewaysList',1,NULL,NULL,NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(253,'egarcia','5f1acd59fba719d977aebc7ffea0762f','$2y$12$9yupTfDPthNFXUXKxzJ8/.HlNot12eDrampzk56FsOGA./WZY6Ygu','DATAKORUM',9,1,1,'2022-03-14 12:51:22','2024-11-29 07:27:05',0,0,NULL,'en','UTC','devices',1,NULL,'egarcia',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(257,'EgarciaTest','5f1acd59fba719d977aebc7ffea0762f','$2y$12$q/yNFcBkSqhJe2OIuX29Y.lOiJurcqhE6qNHAJ8yuIz5YO5ovbjXW','Eva - Datakorum',9,1,1,'2022-03-29 09:08:58','2024-10-29 08:23:01',0,0,NULL,'es','Europe/Madrid','devices',1,NULL,'egarcia',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(254,'jbenedicto','3f610d4ce7f87bcbb6d6018a894a841d','$2y$12$xaJEdrfpZcO.CxZAS3QklO6JNDRKQ5IQrqVibqzdjWziiJJ3yk.QS','Jorge Benedicto',9,1,1,'2022-03-14 13:18:19','2024-12-03 14:27:58',0,0,NULL,'en','UTC','devices',1,NULL,'jbenedicto@datakorum.es',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(216,'jchover','b6c4e96de595870f949c16bc22a776d0','$2y$12$wCBcsDyR.m4Y5I0CaB6xE.Y/bWApwme87Yg4CcKmgHtC2TuzZ.XNm','Jesús Chover',9,1,1,'2017-07-03 12:40:33','2024-12-11 08:19:03',0,0,NULL,'en','Europe/Madrid','gatewaysList',1,NULL,NULL,'0c936a71-7064-428d-ac46-6bf61936da25','1,2,3,5,6,7,8',24,NULL,NULL),(339,'jmartin','5d2d92ad4a54d1a3617b013a5f2075e6','$2y$12$wyZEZDDHAHgzIOwG1lWYX.ugRsL9cBnMyuJ8DUpvZCQaUCNth3IQ.','Jorge Martin',9,1,1,'2024-02-15 12:15:34','2024-11-21 07:59:10',0,0,NULL,'es','UTC','gatewaysList',1,NULL,'jmartin@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(31,'jmoril','66b6d1cf8bdd137a3a6d86c7f2c0b96d','$2y$12$x4muSRB.MyvDKlIBnr8tyOQ6W5THQ9GQBzcC3aAffASy.xXxKtwjq','Jose Moril',9,1,1,'2016-01-28 15:04:59','2024-05-22 07:33:53',0,0,NULL,'es','UTC','gatewaysList',1,NULL,'jmoril@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(65,'jmrmompo',NULL,'$2y$12$dtejCM5/49vo8J/x0ft2ROAG3UrCVLI9WSfwLBZ5tzKmgD2FF2B4q','Jose Manuel Rodriguez',9,1,1,'2017-07-03 09:55:38','2024-12-10 08:06:44',0,0,NULL,'es','Europe/Madrid','gatewaysList',1,NULL,'jmrodriguez@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(4,'jose','asfdasfasfsasafasfsdsdafsadfsafsafsa',NULL,'Jose Antonio Latorre',9,1,1,'2014-10-25 00:00:00',NULL,0,0,'2020-11-05 13:00:00','es','UTC','gatewaysList',369,NULL,NULL,NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(217,'jrudillautc',NULL,'$2y$12$aAVQ.vtrPj3PpofOhlzP3.w/RdTdrDepoeNQcUKkqyPbxLVf2gANu','jrudilla',9,1,1,'2017-07-03 12:40:33','2024-07-25 10:54:07',0,0,NULL,'en','UTC','gatewaysList',1,NULL,NULL,'0c936a71-7064-428d-ac46-6bf61936da25','1,2,3,5,6,7,8',24,NULL,NULL),(71,'lab1','c6110e0a3fc1c2ae8b3d79e47913d268','$2y$12$.Ow88l8xjEUfGpN8NxBryOfoTmDGOrG0o9drRQXCN6UZ1bjiQL4mO','José Pérez',9,1,1,'2017-07-17 15:19:50','2024-12-03 16:15:27',0,0,NULL,'en','Europe/Madrid','devices',1,NULL,'jperez@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(355,'ltrilles','c055afda464a59261c8e98939bbab13c','$2y$12$gaJM7QQOAIjv7Z.94OMSuetQw.aE2BLNVCyg6V69U2.aoCgElS75q','Lara Trilles',9,1,1,'2024-06-19 07:03:43','2024-12-03 16:15:10',0,0,NULL,'en','Europe/Madrid','devices',1,NULL,'ltrilles@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(246,'mnebot','7157bd56b49fe31579c1d8b6e313dcb1','$2y$12$ualJAOA27WLlzrfvGFDgX.ETrySvY2zGy02jOoMn7kAz4szECHY9G','Miguel Nebot',9,1,1,'2022-01-26 08:37:59','2024-12-10 14:06:46',0,0,NULL,'en','Europe/Madrid','devices',1,NULL,NULL,NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(174,'mtoledo','66254adc6ace998a440805f43e475182','$2y$12$JKT3rmJp8vwPA0tV8hH7DuWBWm0F9EdUtPVJZeWLPTQpRX/PIYr22','mtoledo',9,1,1,'2017-07-03 12:40:33','2024-12-03 10:21:05',0,0,NULL,'en','Europe/Madrid','gatewaysList',1,NULL,'mtoledo@datakorum.com','0c936a71-7064-428d-ac46-6bf61936da25','1,2,3,5,6,7,8',24,NULL,NULL),(222,'mtoledoutc','66254adc6ace998a440805f43e475182','$2y$12$zyW1TF99MPGIdmjyqOOb1OEex4HVjWgybRCJyLraIEm28EEakjwvO','mtoledo',9,1,1,'2017-07-03 12:40:33','2024-04-30 15:31:34',3,0,NULL,'en','UTC','gatewaysList',1,NULL,NULL,'0c936a71-7064-428d-ac46-6bf61936da25','1,2,3,5,6,7,8',24,NULL,NULL),(204,'panel2','202cb962ac59075b964b07152d234b70',NULL,'panel',9,1,1,'2021-01-13 14:27:43',NULL,0,0,'2021-01-05 13:00:00','en','UTC','gatewaysList',NULL,NULL,NULL,NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(3,'rafa','affe6fa03cb9c43943bcca34d860e8fb','$2y$12$ZDk7yRtqxOIDdSpJcdmNleeued5hyNcRkn6G4KOTuWb69.raK/Q..','Rafael Milara',9,1,1,'2014-10-25 00:00:00','2024-08-15 09:24:23',0,0,NULL,'en','UTC','gatewaysList',1,NULL,NULL,NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(151,'rafam','cba7d4a86eea7eee9217139c1835ef76','$2y$12$tNBkOkwzqrGPjZ01bjmTDuLgOrErwl.WfWoO5hp.qTVq8xNRkfW0W','Rafa Martinez',9,1,1,'2019-07-31 06:59:33','2024-10-22 13:03:49',0,0,NULL,'en','Europe/Madrid','gatewaysList',1,NULL,NULL,NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(191,'rmartinez','cba7d4a86eea7eee9217139c1835ef76',NULL,'rmartinez',9,1,1,'2020-07-17 07:04:36',NULL,0,0,'2021-01-05 13:00:00','en','UTC','gatewaysList',1,NULL,NULL,NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(62,'sergio','c8d0eaec918cf619bcc3a3e5d59f0466','$2y$12$/WHGTr6bA2PHgiCgh3BmO.8d/dibiAJa2M9LeEiu7pDjEW.2YLsU2','Sergio Millan',9,1,1,'2017-06-05 10:43:29','2024-12-04 07:01:02',0,0,NULL,'es','UTC','gatewaysList',1,NULL,'smillan@datakorum.com',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(297,'skarakehayov',NULL,'$2y$12$yE2Ma/XNv17OyGrx2iRmLuyiZVeMpcQWizxh7lQrXYMzMo8yuS9uG','Stefan Karakehayov',9,1,375,'2023-03-24 09:32:53','2024-09-26 16:27:46',0,0,NULL,'en','Europe/Berlin','gatewaysList',375,NULL,'skarakehayov@datakorum.de',NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(264,'SreejithSecu',NULL,'$2y$12$RDUXjkU5GqbzAJxZ2b.J..ICg7WKvQN39ytwoEP0S3/YfYCCQ.WOe','Sreejith ',9,1,1,'2022-04-27 15:46:13','2024-11-11 06:09:22',0,0,NULL,'en','Asia/Dubai','gatewaysList',1,NULL,NULL,NULL,'1,2,3,5,6,7,8',24,NULL,NULL),(364,'rober','b2f0bb32b09ad26178e39d5a90d71bca','$2y$12$SeJOHaYCEpD8pTvqstrQz.jGcabgVde73LR5a.ioyIk6sHDVhShUW','Roberto Pascual',9,1,1,'2014-05-09 10:00:00','2024-12-11 10:38:01',0,0,NULL,'es','UTC','gatewaysList',1,NULL,'rpascual@datakorum.com','3cd64a3c-722d-48c1-a2c1-6a7160e3a9a8','1,2,3,5,6,7,8',24,NULL,NULL);

--
-- Table structure for table `users2`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `users2` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `idplatform` int unsigned NOT NULL DEFAULT '7',
  `admin` tinyint(1) NOT NULL DEFAULT '4',
  `idgroup_home` int unsigned NOT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `language` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
  `timezone` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'UTC',
  `start_module` varchar(450) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'SystemStatus',
  PRIMARY KEY (`id`),
  UNIQUE KEY `users2_user_unique` (`user`),
  UNIQUE KEY `users2_email_unique` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users2`
--

INSERT INTO `users2` VALUES (1,'admin','admin','$2y$12$qgQFZbK.La25lqqcmdhqrup1a9A99aGb6gsgJIBNdQHUbeTv/Oylm','admin@datakorum.com',9,1,1,'2024-11-11 13:40:39','2024-11-21 14:21:04','en','Europe/Madrid','SystemStatus'),(2,'mnebot','Miguel Nebot','$2y$10$bAKh3f7BN4oLr/3kRV5RAOdQ5/b.u0e2/Zik3D2texZeUeczhYKtm','mnebot@datakorum.com',9,1,1,'2022-01-26 08:37:59','2024-07-15 08:43:55','en','Europe/Madrid','SystemStatus'),(3,'vzarzo','Vicente Zarzo Toutoundji','$2y$12$aLl/Vf0UTjGcgu5/NiFWAOSy.8T9KkWK2ohoJpWgG4oe.mlx7z/Jm','vzarzo@datakorum.com',9,1,1,'2024-04-22 08:15:11','2024-11-21 14:16:01','en','Europe/Madrid','SystemStatus'),(4,'testApi','Test Api','$2y$12$xN3NUagubzYj9tO93by93evC0JP9Mn7sBNNDw9.NJOnqFTOU.UveK','testapi@example.com',9,1,1,'2024-11-14 09:23:23',NULL,'en','Europe/Madrid','SystemStatus'),(5,'dmarquez','Diego Márquez','$2y$12$/XiEoilAsc3SV12dcjSDfugfEEKO5wOp.o8qVMZ82VFqJ5ohAAM.i','dmarquez@datakorum.com',9,1,1,'2024-11-06 11:48:29','2024-11-25 08:21:31','en','UTC','SystemStatus'),(6,'ltrilles','Lara Trilles','$2y$12$ozjyQk4D75..V9RXq/p8nuM0/MnLztBehS8yI.a1VjAVy2knDuLfO','ltrilles@datakorum.com',9,1,1,'2024-11-06 11:47:49',NULL,'es','Europe/Madrid','SystemStatus'),(7,'jbenedicto','Jorge Benedicto','$2y$12$v4RPaxypBNeLv89DmdMMv.MMxrp4Gn.sTsW96A//IHWcYG0tj.CEO','jbenedicto@datakorum.es',9,1,1,'2024-11-06 11:47:17',NULL,'es','Europe/Madrid','SystemStatus'),(8,'jmartin','Jorge Martin','$2y$12$1g96CU6Su3d2.LShLEDz/.snTm.j.9HVPsUs8uUXbPrgjZLQ1mIQS','jmartin@datakorum.com',9,1,1,'2024-11-06 11:46:45',NULL,'es','Europe/Madrid','SystemStatus'),(9,'smillan','Sergio Millán','$2y$12$/gxKPJ4i4P.ySF39wuXqmeVH.uww7hnq3VC0/KPNZsMtezRXJPP9K','smillan@datakorum.com',9,1,1,'2024-11-06 11:46:17',NULL,'es','Europe/Madrid','SystemStatus'),(10,'egarcia','Eva García','$2y$12$0F/p/W6He0X8hktv3HjLquikjCgWZsGmS9SPM90g78Zdt7SZ5lqWG','egarcia@datakorum.com',9,1,1,'2024-11-06 11:45:36',NULL,'es','Europe/Madrid','SystemStatus'),(11,'jperez','Jose Perez','$2y$12$R.Sb.klr2SxH.UPgtTjuJ.qOiI858ZAm.mSgdUaPW/f.MSQOcY0/e','jperez@datakorum.app',9,1,1,'2024-11-06 11:44:41',NULL,'es','Europe/Madrid','SystemStatus'),(12,'asambonet','Andreu Sambonet','$2y$12$u9m9TB96dn1vAlD2KJ4d/eg32CzJf/8ClwYG4awOXeoSSP789bwoi','asambonet@datakorum.com',9,1,1,'2024-11-06 11:44:05','2024-12-04 13:43:57','es','Europe/Madrid','SystemStatus'),(13,'jmrmompo','Jose Manuel Rodríguez','$2y$12$n4CEQa4aghI3R/ZntWvQJ.JbKtIXCbiXoAX5eNlnfWRDK8.A8J0b2','jmrodriguez@datakorum.com',9,1,1,'2024-11-06 11:43:30','2024-12-10 08:38:57','es','Europe/Madrid','SystemStatus'),(14,'ecervera','Elena Cervera','$2y$12$wWjQJGJjBM9pGeBf9Yz3wOusuL40XMfezzYsUzXsjQv2zyR4mrvlC','ecervera@datakorum.com',9,1,1,'2024-11-06 11:43:02',NULL,'es','Europe/Madrid','SystemStatus'),(15,'rmartinez','Rafael Martínez','$2y$12$R8Z4R8uruqB86U2ulKUdmO7IpzXNNfvC7HcPy1o2WIRpUk6S/OGFe','rmartinez@datakorum.com',9,1,1,'2024-11-06 11:42:30',NULL,'es','Europe/Madrid','SystemStatus'),(16,'jmoril','Jose Moril','$2y$12$08RaRN9UhTsuANX3AoLhtOSrjmArennroIP1.9sTdysKBe.USunDG','jmoril@datakorum.com',9,1,1,'2024-11-06 11:41:54',NULL,'es','Europe/Madrid','SystemStatus'),(17,'acalonge','Antonio Calonge','$2y$12$VdfmalZQQXTaMFC1VCymo.gfW.rY9p.FV4crGg52MAYqP2T1E6iUK','acalonge@datakorum.com',9,1,1,'2024-11-06 11:41:10',NULL,'es','Europe/Madrid','SystemStatus'),(18,'jchover','Jesus Chover','$2y$12$RWUvxr7wUTZkmUdOmtvd6.toD/DWwxbYXLB8.H8lVvnWQCge/Tahy','jchover@datakorum.com',9,1,1,'2024-11-06 11:40:33','2024-12-09 08:14:02','en','Europe/Madrid','SystemStatus'),(19,'mtoledo','Miguel Toledo','$2y$12$FuCrkkC0quz2l.oUYV8UleJcqZNHTcyYgvg7PtUmkEaAjiSiO0jZC','mtoledo@datakorum.com',9,1,1,'2024-11-06 11:39:59',NULL,'es','Europe/Madrid','SystemStatus'),(20,'rmilara','Rafael Milara','$2y$12$s/NdlE5S51CH2siCJcQc8.9pta7OfpGlasL9L1jc3iAU/rropOMZC','rmilara@datakorum.com',9,1,1,'2024-11-06 11:39:23',NULL,'es','Europe/Madrid','SystemStatus'),(21,'Usu_test','Usu_testv','$2y$12$.18q/oxp8.dRlJ7KIjuJxOQZiABJ/bnRFvdj1u79ng2Qi/Zwc8wfO','Usu_test@datakoru.com',9,4,1,'2024-11-06 11:18:37',NULL,'es','Europe/Madrid','GatewaysInventory'),(22,'userDev','userDev','$2y$12$W7OHuNFt2kPHDH1kFUqfKuiXosl4/zY/v2FSakILPtltp0LEa730S','userDev@datakorum.com',9,3,555,'2024-10-25 11:00:34','2024-10-25 11:02:03','en','Europe/Madrid','GatewaysInventory'),(23,'rober','Roberto Pascual','$2y$12$eEfLUmDqKGIEHNsQWPV16ezc4K4c4AP19fajkanj0jw25eTgzujsS','rpascual@datakorum.com',9,1,1,'2014-05-09 10:00:00','2024-12-10 09:33:10','es','UTC','SystemStatus'),(24,'jrudilla','jrudilla','$2y$12$wWjQJGJjBM9pGeBf9Yz3wOusuL40XMfezzYsUzXsjQv2zyR4mrvlC','jrudilla@datakorum.com',9,1,1,'2017-07-03 12:40:33','2024-11-27 08:18:02','en','UTC','SystemStatus'),(26,'PRUEBA','PRUEBA','$2y$12$MQ2f/x5G1Bnmgbig2KedQOUe4F8wqHbmtDHWsI806CvVdObs9cjOm','PRUEBA@PRUEBAPRUEBA.COM',9,4,1,'2024-11-28 12:28:01',NULL,'es','Europe/Madrid','GatewaysInventory'),(29,'Testpas','Testpas','$2y$12$UcOzDRpFD11BhYNde2UdqeyBxGijmZ16M/M.5Jq0sw5MVujg6xziu','Testpas@datak.com',10,4,1,'2024-12-10 09:27:17',NULL,'en','Europe/Madrid','GatewaysInventory');

--
-- Table structure for table `users_customization`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `users_customization` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iduser` int DEFAULT NULL,
  `admin` int DEFAULT NULL,
  `parameters` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_customization`
--


--
-- Table structure for table `users_customization2`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `users_customization2` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iduser` int DEFAULT NULL,
  `parameters` json DEFAULT NULL,
  `platform` json DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_customization2`
--


--
-- Table structure for table `users_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `users_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iduser` int DEFAULT NULL,
  `date` datetime DEFAULT CURRENT_TIMESTAMP,
  `procedure` varchar(450) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `procedure_call` text COLLATE utf8mb4_unicode_ci,
  `init_state` text COLLATE utf8mb4_unicode_ci,
  `iddevice` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iduser` (`iduser`),
  KEY `iddevice` (`iddevice`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_log`
--

INSERT INTO `users_log` VALUES (1,3,'2024-11-22 12:26:31','UPDATE_device_parameters','CALL UPDATE_device_parameters ( \'3\', \'584617388\', \'<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/><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>\' )','<parameters><Gateway-ID>584617388</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>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>',NULL),(2,5,'2024-11-29 09:49:14','UPDATE_device_descriptors','CALL UPDATE_device_descriptors ( \'5\', \'584617388\', \'<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id/><sensor_pressure_offset/><ENDPOINT_sensor_send/></descriptors>\' )','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device></descriptors>',584617388),(3,5,'2024-11-29 09:49:28','UPDATE_device_descriptors','CALL UPDATE_device_descriptors ( \'5\', \'584617388\', \'<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>\' )','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><sensor_pressure_id/><sensor_pressure_offset/><ENDPOINT_sensor_send/></descriptors>',584617388),(4,5,'2024-11-29 09:51:20','UPDATE_device_parameters','CALL UPDATE_device_parameters ( \'5\', \'584617388\', \'<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>\' )','<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/><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>',NULL),(5,5,'2024-12-02 11:33:58','UPDATE_device_parameters','CALL UPDATE_device_parameters ( \'5\', \'678912345\', \'<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>1</fwupdate><firmware_version/><local_port>0</local_port><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>\' )','<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>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>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></parameters>',NULL),(6,5,'2024-12-02 11:43:26','UPDATE_device_parameters','CALL UPDATE_device_parameters ( \'5\', \'678912345\', \'<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>\' )','<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>1</fwupdate><firmware_version/><local_port>0</local_port><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),(7,5,'2024-12-02 11:44:16','UPDATE_device_parameters','CALL UPDATE_device_parameters ( \'5\', \'678912345\', \'<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:1900</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>\' )','<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),(8,5,'2024-12-02 11:44:22','UPDATE_device_parameters','CALL UPDATE_device_parameters ( \'5\', \'678912345\', \'<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>\' )','<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:1900</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),(9,5,'2024-12-02 11:45:48','UPDATE_device_parameters','CALL UPDATE_device_parameters ( \'5\', \'678912345\', \'<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35asas</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>\' )','<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),(10,5,'2024-12-02 11:45:53','UPDATE_device_parameters','CALL UPDATE_device_parameters ( \'5\', \'678912345\', \'<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>\' )','<parameters><Gateway-ID>678912345</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><apn>e3tcity.movistar.es</apn><server>172.31.36.35asas</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),(11,274,'2024-12-04 10:22:18','APP_delete_device','CALL APP_delete_device ( \'1a29014d16664d0094f5a9419ec8ca77\', \'5171655\' )','id,ref,name,idtype,idgroup,group_master,idmode,idstatus,idstatus_device,idstatus_device_date,idconfiguration,idconfiguration_date,idconfiguration_default,mac,icc,ip_private,ip_public,version_firmware,version_hardware,idconnection_type,GPS_lat,GPS_lng,astronomical_sunrise,astronomical_sunset,version_firmware_last,data_logger_idmode,sofia2,device_outputs_status_date_last,device_outputs_status_date_last_request,parameters,descriptors,display_options,timezone,delta_measurement,block_measurements,offline_send_measure0,datalogger_fields,measures_fields,events_fields,iddashboard_type,params_network_fields,params_device_fields,params_device_config_fields,serial_number,parameters_BUS | \'5171655\' , \'OP00000F210224C000001\' , \'OP00000F210224C000001\' , \'133\' , \'9\' , \'0\' , \'0\' , \'1\' , \'2\' , \'2024-12-04 09:04:21\' , \'2\' , \'357104851050517;C1965000000051716551\' , \'8934071500002733678\' , \'0.0\' , \'39.47243173612800000000\' , \'-0.38953729462582000000\' , \'\' , \'\' , \'0.0\' , \'1\' , \'\0\' , \'<parameters><Gateway-ID>005171655</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>24D5171655</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>15:16:40</reset_time><pressure_meter_id>05171655</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\' , \'GMT\' , \'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\' , \'24D5171655\' , \'<parameters_BUS></parameters_BUS>\'',5171655),(12,274,'2024-12-04 10:34:15','APP_delete_device','CALL APP_delete_device ( \'1a29014d16664d0094f5a9419ec8ca77\', \'5171655\' )','id,ref,name,idtype,idgroup,group_master,idmode,idstatus,idstatus_device,idstatus_device_date,idconfiguration,idconfiguration_date,idconfiguration_default,mac,icc,ip_private,ip_public,version_firmware,version_hardware,idconnection_type,GPS_lat,GPS_lng,astronomical_sunrise,astronomical_sunset,version_firmware_last,data_logger_idmode,sofia2,device_outputs_status_date_last,device_outputs_status_date_last_request,parameters,descriptors,display_options,timezone,delta_measurement,block_measurements,offline_send_measure0,datalogger_fields,measures_fields,events_fields,iddashboard_type,params_network_fields,params_device_fields,params_device_config_fields,serial_number,parameters_BUS | \'5171655\' , \'OP00000F041224C000000\' , \'OP00000F041224C000000\' , \'133\' , \'9\' , \'0\' , \'0\' , \'1\' , \'2\' , \'2024-12-04 10:24:16\' , \'2\' , \'357104851050517;C1965000000051716551\' , \'8934071500002733678\' , \'0.0\' , \'39.47243173612800000000\' , \'-0.38953729462582000000\' , \'\' , \'\' , \'0.0\' , \'1\' , \'\0\' , \'<parameters><Gateway-ID>005171655</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>24D5171655</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>15:17:19</reset_time><pressure_meter_id>05171655</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\' , \'GMT\' , \'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\' , \'24D5171655\' , \'<parameters_BUS></parameters_BUS>\'',5171655),(13,274,'2024-12-04 10:49:27','APP_delete_device','CALL APP_delete_device ( \'1a29014d16664d0094f5a9419ec8ca77\', \'5171655\' )','id,ref,name,idtype,idgroup,group_master,idmode,idstatus,idstatus_device,idstatus_device_date,idconfiguration,idconfiguration_date,idconfiguration_default,mac,icc,ip_private,ip_public,version_firmware,version_hardware,idconnection_type,GPS_lat,GPS_lng,astronomical_sunrise,astronomical_sunset,version_firmware_last,data_logger_idmode,sofia2,device_outputs_status_date_last,device_outputs_status_date_last_request,parameters,descriptors,display_options,timezone,delta_measurement,block_measurements,offline_send_measure0,datalogger_fields,measures_fields,events_fields,iddashboard_type,params_network_fields,params_device_fields,params_device_config_fields,serial_number,parameters_BUS | \'5171655\' , \'OP00000F210224C000001\' , \'OP00000F210224C000001\' , \'133\' , \'1\' , \'0\' , \'0\' , \'1\' , \'2\' , \'2024-12-04 10:47:45\' , \'2\' , \'357104851050517;C1965000000051716551\' , \'1234567890\' , \'0.0\' , \'39.47243173612800000000\' , \'-0.38953729462582000000\' , \'\' , \'\' , \'0.0\' , \'1\' , \'\0\' , \'<parameters><Gateway-ID>005171655</Gateway-ID><Middleware-ID>XXE0XXXXXX</Middleware-ID><Gateway-SN>24D5171655</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>15:25:43</reset_time><pressure_meter_id>05171655</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\' , \'GMT\' , \'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\' , \'24D5171655\' , \'<parameters_BUS></parameters_BUS>\'',5171655),(14,5,'2024-12-04 13:19:50','UPDATE_device_descriptors','CALL UPDATE_device_descriptors ( \'5\', \'312312313\', \'<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><store_frames>1</store_frames><solutions_type>6</solutions_type><sensor_pressure_id/><sensor_pressure_offset/><ENDPOINT_sensor_send/></descriptors>\' )','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><store_frames>1</store_frames><solutions_type>6</solutions_type></descriptors>',312312313),(15,5,'2024-12-04 13:20:34','UPDATE_device_descriptors','CALL UPDATE_device_descriptors ( \'5\', \'312312313\', \'<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><store_frames>1</store_frames><solutions_type>6</solutions_type><sensor_pressure_id/><sensor_pressure_offset/><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send></descriptors>\' )','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><store_frames>1</store_frames><solutions_type>6</solutions_type><sensor_pressure_id/><sensor_pressure_offset/><ENDPOINT_sensor_send/></descriptors>',312312313),(16,5,'2024-12-04 13:23:13','UPDATE_device_descriptors','CALL UPDATE_device_descriptors ( \'5\', \'312312313\', \'<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><store_frames>1</store_frames><solutions_type>6</solutions_type><sensor_pressure_id/><sensor_pressure_offset/><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send></descriptors>\' )','<descriptors><IMEI_iddevice>1</IMEI_iddevice><udp_device>1</udp_device><store_frames>1</store_frames><solutions_type>6</solutions_type><sensor_pressure_id/><sensor_pressure_offset/><ENDPOINT_sensor_send>0</ENDPOINT_sensor_send></descriptors>',312312313);

--
-- Table structure for table `users_mobiles`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `users_mobiles` (
  `id` int NOT NULL AUTO_INCREMENT,
  `id_user` int DEFAULT NULL,
  `id_mobile` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_update` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_mobiles`
--


--
-- Table structure for table `users_mqttauth_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `users_mqttauth_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` datetime DEFAULT NULL,
  `iduser` int DEFAULT NULL,
  `idgroup` int DEFAULT NULL,
  `iddevice` int DEFAULT NULL,
  `token` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mqtt_username` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `result` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_mqttauth_log`
--


--
-- Table structure for table `users_role`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `users_role` (
  `id` int NOT NULL,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name_UNIQUE` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_role`
--

INSERT INTO `users_role` VALUES (1,'DK Admin'),(4,'User'),(3,'Analyst'),(2,'Admin');

--
-- Table structure for table `users_tokens`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `users_tokens` (
  `id` int NOT NULL AUTO_INCREMENT,
  `iduser` int DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `expired` int DEFAULT '0',
  `token` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iduser` (`iduser`),
  KEY `date` (`date`),
  KEY `token` (`token`)
) ENGINE=InnoDB AUTO_INCREMENT=97 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_tokens`
--

INSERT INTO `users_tokens` VALUES (1,290,'2024-11-12 11:27:38',0,'809f153664a9748e929772daa154f512'),(2,290,'2024-11-12 11:27:51',0,'8a99d1a3ae9dbdd429d46dfd82f485af'),(3,290,'2024-11-12 11:28:50',0,'f8eb203f516bd15498d16b8ef6bcf18f'),(4,290,'2024-11-12 11:59:07',0,'6bb625941f05789d916ab212c5605b98'),(5,290,'2024-11-12 12:02:15',0,'c4982aa6a955aa3c96f17a8c3ede802b'),(6,290,'2024-11-12 12:02:29',0,'476b4b82be3728f26a5619ff8515771f'),(7,290,'2024-11-12 12:23:57',0,'0296fec9a4e49044a67eed5cc7f69e40'),(8,290,'2024-11-12 12:37:40',0,'f379d46b7ac6e5eed2a7bbd42ca54810'),(9,290,'2024-11-12 12:40:56',0,'1714c16770e10c8d8c36a05a8ab1b156'),(10,290,'2024-11-12 12:52:02',0,'24abcf5aee53c374293064197c58faeb'),(11,290,'2024-11-12 12:52:31',0,'4729f3cc2bba039b5b2cfbed6bff78de'),(12,290,'2024-11-12 12:54:28',0,'3cb1b5965a9ca76a74b049cbae819e5e'),(13,290,'2024-11-12 12:56:03',0,'e09c0975d2da0ef5da46e88b08e6a672'),(14,290,'2024-11-12 12:57:55',0,'fe1e4be0766a467fea9f704169208a40'),(15,290,'2024-11-12 13:58:03',0,'2645fdd00319bc0bad5ed8c41d9895a1'),(16,290,'2024-11-12 14:24:06',0,'4ec29bb92bfbb1bd95e8c37f2bff68f4'),(17,290,'2024-11-12 14:25:27',0,'ff2e5b87e96636b7a26b001e626eae18'),(18,290,'2024-11-12 14:27:47',0,'f725b8e6d6d140b73a6df92023db22e2'),(19,290,'2024-11-12 14:31:14',0,'4e017c4cc222fad5bd9e468056515516'),(20,290,'2024-11-12 14:31:53',0,'8090316426173a3ab42021578126cf5b'),(21,290,'2024-11-12 14:32:44',0,'641c2acf89f591feb953538cd879fa46'),(22,290,'2024-11-12 14:33:39',0,'0df635e60486e584b8485a9664d8259c'),(23,290,'2024-11-12 14:39:58',0,'fe434951e0071f1c9aa24f2958c9fa36'),(24,290,'2024-11-12 14:40:32',0,'77da1dcb502e0540b6edb217614db38f'),(25,290,'2024-11-12 14:42:30',0,'78a5e1a36319bc5d9cb339ec4f172aad'),(26,290,'2024-11-12 14:42:36',0,'11f9091a7b0ee99da8beebf451ce6dfb'),(27,290,'2024-11-12 14:50:44',0,'39d0f20e071a245ff6a9ecf30ddde293'),(28,290,'2024-11-12 14:53:55',0,'487a6678b6f301ac1c4325c15ea9b792'),(29,290,'2024-11-12 15:20:13',0,'73e3ab6875eb231d000e708adab03133'),(30,290,'2024-11-13 07:44:51',0,'60e5ab1e2d30df96ea3d74f16bad4674'),(31,290,'2024-11-13 07:55:15',0,'69357fc56bd8f9294699c51583c45219'),(32,290,'2024-11-13 07:58:16',0,'81d56229ae57e7f41bddde7eb56c78f3'),(33,290,'2024-11-13 07:59:13',0,'1acf8760ef36a8a31bff305f847178f7'),(34,290,'2024-11-13 08:00:24',0,'d408f847d7af572a906348fa4ad93faa'),(35,290,'2024-11-13 08:00:45',0,'4cb3bdcf6b1fa87b698774069da175f4'),(36,290,'2024-11-13 08:02:08',0,'1f41faea73cdda947695a869e8f9cdf9'),(37,290,'2024-11-13 08:02:45',0,'f62317a53d8b681f3a2d63f520fed0eb'),(38,290,'2024-11-13 08:15:10',0,'a5aaa5c2604f2a8affe4b3ed76e50dbd'),(39,290,'2024-11-13 08:47:17',0,'aad683fc168c083ced4bb704ef6375fe'),(40,290,'2024-11-13 08:50:09',0,'a55518eea723fecffb0e6e4cd12d51cf'),(41,290,'2024-11-13 09:02:04',0,'3e83526b9ce93c30ee173522a1d4959d'),(42,290,'2024-11-13 10:38:03',0,'2f66bd877ee9f0f734a7aa180aff1c2a'),(43,290,'2024-11-13 10:44:17',0,'d952d6a92872043ef566c952ea1541f0'),(44,290,'2024-11-13 10:57:15',0,'904a6cdf500e58b537c6ca0444d73f83'),(45,290,'2024-11-13 11:13:29',0,'f51866a07de0e6b811e491bd6caa19a8'),(46,290,'2024-11-13 11:38:49',0,'000ac65b4a4fabb703cd3c13435ed7d2'),(47,290,'2024-11-13 12:18:54',0,'8a486b3eb886d36f8968cb43da893859'),(48,290,'2024-11-13 12:19:03',0,'42ed11332e041fd998af7bc9dc438cc0'),(49,290,'2024-11-13 12:19:31',0,'9f797b65c2ef9b2543e8b594294fce7d'),(50,290,'2024-11-13 13:00:35',0,'f450f4cf5e46d4d1814e8dd24be0fe1c'),(51,290,'2024-11-13 13:00:41',0,'8554f84385775db2c02b6e0feeb9cbe4'),(52,290,'2024-11-13 13:00:41',0,'8554f84385775db2c02b6e0feeb9cbe4'),(53,290,'2024-11-13 13:00:46',0,'0b00f2a58ce4e6ad1066c989243f3d8a'),(54,290,'2024-11-13 13:01:59',0,'1448de752480c0cd7e5d3d75b18a9937'),(55,290,'2024-11-13 13:02:02',0,'45e4a4fa9f27cf1c703b537eeca0f4fb'),(56,290,'2024-11-13 13:02:03',0,'76afa80d65f48824d0345ac7eb4b8d5c'),(57,290,'2024-11-13 13:02:22',0,'93dbba3f8404b49dba6627d4415c2d37'),(58,290,'2024-11-13 13:04:46',0,'eec529a50e739e6f5d01986c7d1ddb7e'),(59,290,'2024-11-13 13:10:47',0,'f9d6a54f22ebd12cec212d110d368688'),(60,290,'2024-11-13 15:23:31',0,'d54928df065ac8254101e8c005e93141'),(61,290,'2024-11-13 15:25:28',0,'36ee5ec0ff5b60f8277407b0991ce221'),(62,290,'2024-11-13 15:32:47',0,'28621467818fa8eba08f71b03220239f'),(63,290,'2024-11-13 15:33:02',0,'ef4354957ffc8788fe23c048b4bb2113'),(64,290,'2024-11-13 15:35:38',0,'d4fc945dfab8234836ecb79c04b033ff'),(65,66,'2024-11-14 07:59:41',0,'4dc8079ebcc28a158ec5b3a2f92d5e4b'),(66,66,'2024-11-14 07:59:59',0,'54c548b9c83f8ce543bceca43406481d'),(67,290,'2024-11-14 08:04:05',0,'38ac5b43054165936cb5c5ddcfb104ce'),(68,290,'2024-11-14 08:04:52',0,'eb1bafebbe194f5ef47c08e4bf766b8d'),(69,290,'2024-11-14 08:09:12',0,'4830da891e2ae78c6512f7c26a205162'),(70,290,'2024-11-14 08:09:27',0,'98b4655762e8fe508ff0f5f9c21a5293'),(71,290,'2024-11-14 08:09:52',0,'99265217be51c97c057e089e66ebace0'),(72,290,'2024-11-14 08:10:05',0,'e632ddff716365766b4314e736faaa4c'),(73,290,'2024-11-14 08:26:14',0,'41792d4a66c67d3d38a737358119467a'),(74,266,'2024-12-04 08:11:45',0,'3e188c9743710a6248dd9ac03648ea5c'),(75,266,'2024-12-04 08:11:47',0,'db61700863101b6017a6c13237ebd019'),(76,290,'2024-12-04 08:12:56',0,'95ac59adc6a2ddb7085371c4d2ff467d'),(77,290,'2024-12-04 08:12:58',0,'13773242101265b9f25b60d7129aa475'),(78,274,'2024-12-04 08:26:40',0,'1f3613c1bfb66569f84b596466e1da80'),(79,274,'2024-12-04 08:26:40',0,'1f3613c1bfb66569f84b596466e1da80'),(80,274,'2024-12-04 08:27:36',0,'9c4d70d036b3262b860a8bbdaaf9a6ab'),(81,274,'2024-12-04 08:27:56',0,'136bf3431faf203e915bc54764b8f212'),(82,274,'2024-12-04 08:28:24',0,'98ca508e833c453fece054daa3cde1c6'),(83,290,'2024-12-04 08:39:28',0,'1a5dd17cf25669e3d67f7ba5719cafa4'),(84,290,'2024-12-04 08:39:32',0,'2a8b8eedb916fccf6d8de89eb76c75e0'),(85,66,'2024-12-04 09:09:37',0,'8cab867872db7766e3298b344898c66d'),(86,290,'2024-12-04 09:26:37',0,'b0d638c8cd4596111f0c854e1bde23b7'),(87,274,'2024-12-04 10:17:59',0,'1a29014d16664d0094f5a9419ec8ca77'),(88,66,'2024-12-04 10:41:16',0,'3f00189f84087d2d9d467f5c45853f9d'),(89,66,'2024-12-04 10:55:42',0,'50102f7e3fca9bc191d5c54b56156279'),(90,274,'2024-12-04 12:52:59',0,'eaa40de22f6dc606c5cb3087aa50e571'),(91,216,'2024-12-09 08:13:06',0,'8e92af18dd82e04cfd989c35d5ae7707'),(92,65,'2024-12-10 08:06:44',0,'171fd9e43d72fd2d45721f6a577751ce'),(93,246,'2024-12-10 14:06:45',0,'64e6932d8634a42c848ac90b4450f5ea'),(94,216,'2024-12-11 08:19:03',0,'eb2a723d5645f2687053f742e6381fdf'),(95,364,'2024-12-11 08:27:44',0,'7aca39fb234924e275543af824258836'),(96,364,'2024-12-11 10:38:01',0,'35aea4facef4ac1995ca9990f184e3f3');

--
-- Temporary view structure for view `view_devices_measurements_full`
--

/*!50001 DROP VIEW IF EXISTS `view_devices_measurements_full`*/;
/*!50001 CREATE VIEW `view_devices_measurements_full` AS SELECT 
 1 AS `id`,
 1 AS `iddevice`,
 1 AS `measurements`,
 1 AS `id_measurements_log_last`,
 1 AS `measurements_date_first`,
 1 AS `measurements_date_last`,
 1 AS `start_date_last`,
 1 AS `power_active`,
 1 AS `power_active_min`,
 1 AS `power_active_max`,
 1 AS `power_active_average`,
 1 AS `power_reactive`,
 1 AS `power_reactive_min`,
 1 AS `power_reactive_max`,
 1 AS `power_reactive_average`,
 1 AS `power_apparent`,
 1 AS `power_apparent_min`,
 1 AS `power_apparent_max`,
 1 AS `power_apparent_average`,
 1 AS `power_factor`,
 1 AS `power_factor_min`,
 1 AS `power_factor_max`,
 1 AS `power_factor_average`,
 1 AS `voltage`,
 1 AS `voltage_min`,
 1 AS `voltage_max`,
 1 AS `voltage_average`,
 1 AS `current`,
 1 AS `current_min`,
 1 AS `current_max`,
 1 AS `current_average`,
 1 AS `line_impedance`,
 1 AS `line_impedance_min`,
 1 AS `line_impedance_max`,
 1 AS `line_impedance_average`,
 1 AS `battery_status`,
 1 AS `battery_status_min`,
 1 AS `battery_status_max`,
 1 AS `battery_status_average`,
 1 AS `energy`,
 1 AS `switching_on`,
 1 AS `switch_on_time`,
 1 AS `measurements_date_last_log`,
 1 AS `input1`,
 1 AS `input2`,
 1 AS `input3`,
 1 AS `input4`,
 1 AS `input5`,
 1 AS `input6`,
 1 AS `input7`,
 1 AS `input8`,
 1 AS `input9`,
 1 AS `input10`,
 1 AS `idstatus_connection`,
 1 AS `idmode`,
 1 AS `idstatus`,
 1 AS `idfunction`,
 1 AS `power_perc`,
 1 AS `frequency`,
 1 AS `power_active2`,
 1 AS `power_reactive2`,
 1 AS `voltage2`,
 1 AS `current2`,
 1 AS `power_active3`,
 1 AS `power_reactive3`,
 1 AS `voltage3`,
 1 AS `current3`,
 1 AS `energy_reactive`,
 1 AS `relays`,
 1 AS `delay`,
 1 AS `timer`,
 1 AS `energy_3phase`,
 1 AS `energy_reactive_3phase`,
 1 AS `power_factor2`,
 1 AS `power_factor3`,
 1 AS `power_active1`,
 1 AS `power_reactive1`,
 1 AS `power_factor1`,
 1 AS `voltage1`,
 1 AS `current1`,
 1 AS `wifi_ssid`,
 1 AS `power_factor_total`,
 1 AS `input11`,
 1 AS `input12`,
 1 AS `input13`,
 1 AS `input14`,
 1 AS `input15`,
 1 AS `input16`,
 1 AS `input17`,
 1 AS `input18`,
 1 AS `input19`,
 1 AS `input20`,
 1 AS `input21`,
 1 AS `input22`,
 1 AS `input23`,
 1 AS `input24`,
 1 AS `input25`,
 1 AS `input26`,
 1 AS `input27`,
 1 AS `input28`,
 1 AS `input29`,
 1 AS `input30`*/;

--
-- Temporary view structure for view `view_measurements_log_full`
--

/*!50001 DROP VIEW IF EXISTS `view_measurements_log_full`*/;
/*!50001 CREATE VIEW `view_measurements_log_full` AS SELECT 
 1 AS `id`,
 1 AS `iddevice`,
 1 AS `date`,
 1 AS `start_date`,
 1 AS `power_active`,
 1 AS `power_reactive`,
 1 AS `power_apparent`,
 1 AS `power_factor`,
 1 AS `energy`,
 1 AS `switching_on`,
 1 AS `switch_on_time`,
 1 AS `voltage`,
 1 AS `current`,
 1 AS `line_impedance`,
 1 AS `battery_status`,
 1 AS `ts`,
 1 AS `input1`,
 1 AS `input2`,
 1 AS `input3`,
 1 AS `input4`,
 1 AS `input5`,
 1 AS `input6`,
 1 AS `input7`,
 1 AS `input8`,
 1 AS `input9`,
 1 AS `input10`,
 1 AS `frequency`,
 1 AS `power_active2`,
 1 AS `power_reactive2`,
 1 AS `voltage2`,
 1 AS `current2`,
 1 AS `power_active3`,
 1 AS `power_reactive3`,
 1 AS `voltage3`,
 1 AS `current3`,
 1 AS `energy_reactive`,
 1 AS `power_factor2`,
 1 AS `power_factor3`,
 1 AS `power_active1`,
 1 AS `power_reactive1`,
 1 AS `power_factor1`,
 1 AS `voltage1`,
 1 AS `current1`,
 1 AS `energy_3phase`,
 1 AS `energy_reactive_3phase`,
 1 AS `power_factor_total`,
 1 AS `idtrigger_type`,
 1 AS `idmode`,
 1 AS `idstatus`,
 1 AS `dimmer`,
 1 AS `modbus_idslave`,
 1 AS `input11`,
 1 AS `input12`,
 1 AS `input13`,
 1 AS `input14`,
 1 AS `input15`,
 1 AS `input16`,
 1 AS `input17`,
 1 AS `input18`,
 1 AS `input19`,
 1 AS `input20`,
 1 AS `input21`,
 1 AS `input22`,
 1 AS `input23`,
 1 AS `input24`,
 1 AS `input25`,
 1 AS `input26`,
 1 AS `input27`,
 1 AS `input28`,
 1 AS `input29`,
 1 AS `input30`*/;

--
-- Temporary view structure for view `view_measurements_log_light`
--

/*!50001 DROP VIEW IF EXISTS `view_measurements_log_light`*/;
/*!50001 CREATE VIEW `view_measurements_log_light` AS SELECT 
 1 AS `id`,
 1 AS `iddevice`,
 1 AS `date`,
 1 AS `start_date`,
 1 AS `power_active`,
 1 AS `power_reactive`,
 1 AS `power_apparent`,
 1 AS `power_factor`,
 1 AS `energy`,
 1 AS `switching_on`,
 1 AS `switch_on_time`,
 1 AS `voltage`,
 1 AS `current`,
 1 AS `line_impedance`,
 1 AS `battery_status`,
 1 AS `ts`,
 1 AS `input1`,
 1 AS `input2`,
 1 AS `input3`,
 1 AS `input4`,
 1 AS `input5`,
 1 AS `input6`,
 1 AS `input7`,
 1 AS `input8`,
 1 AS `input9`,
 1 AS `input10`,
 1 AS `frequency`,
 1 AS `power_active2`,
 1 AS `power_reactive2`,
 1 AS `voltage2`,
 1 AS `current2`,
 1 AS `power_active3`,
 1 AS `power_reactive3`,
 1 AS `voltage3`,
 1 AS `current3`,
 1 AS `energy_reactive`,
 1 AS `power_factor2`,
 1 AS `power_factor3`,
 1 AS `power_active1`,
 1 AS `power_reactive1`,
 1 AS `power_factor1`,
 1 AS `voltage1`,
 1 AS `current1`,
 1 AS `energy_3phase`,
 1 AS `energy_reactive_3phase`,
 1 AS `power_factor_total`,
 1 AS `idtrigger_type`,
 1 AS `idmode`,
 1 AS `idstatus`,
 1 AS `dimmer`,
 1 AS `modbus_idslave`*/;

--
-- Table structure for table `wifis`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `wifis` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi1_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi1_pass` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi2_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi2_pass` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi3_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi3_pass` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `idgroup` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wifis`
--


--
-- Table structure for table `wifis_log`
--

 SET character_set_client = utf8mb4 ;
CREATE TABLE `wifis_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idwifi` int DEFAULT NULL,
  `idgroup` int DEFAULT NULL,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi1_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi1_pass` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi2_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi2_pass` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi3_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wifi3_pass` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `iduser` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `wifis_log`
--


--
-- Final view structure for view `view_devices_measurements_full`
--

/*!50001 DROP VIEW IF EXISTS `view_devices_measurements_full`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`2.139.163.61` SQL SECURITY DEFINER */
/*!50001 VIEW `view_devices_measurements_full` AS select `devices_measurements`.`id` AS `id`,`devices_measurements`.`iddevice` AS `iddevice`,`devices_measurements`.`measurements` AS `measurements`,`devices_measurements`.`id_measurements_log_last` AS `id_measurements_log_last`,`devices_measurements`.`measurements_date_first` AS `measurements_date_first`,`devices_measurements`.`measurements_date_last` AS `measurements_date_last`,`devices_measurements`.`start_date_last` AS `start_date_last`,`devices_measurements`.`power_active` AS `power_active`,`devices_measurements`.`power_active_min` AS `power_active_min`,`devices_measurements`.`power_active_max` AS `power_active_max`,`devices_measurements`.`power_active_average` AS `power_active_average`,`devices_measurements`.`power_reactive` AS `power_reactive`,`devices_measurements`.`power_reactive_min` AS `power_reactive_min`,`devices_measurements`.`power_reactive_max` AS `power_reactive_max`,`devices_measurements`.`power_reactive_average` AS `power_reactive_average`,`devices_measurements`.`power_apparent` AS `power_apparent`,`devices_measurements`.`power_apparent_min` AS `power_apparent_min`,`devices_measurements`.`power_apparent_max` AS `power_apparent_max`,`devices_measurements`.`power_apparent_average` AS `power_apparent_average`,`devices_measurements`.`power_factor` AS `power_factor`,`devices_measurements`.`power_factor_min` AS `power_factor_min`,`devices_measurements`.`power_factor_max` AS `power_factor_max`,`devices_measurements`.`power_factor_average` AS `power_factor_average`,`devices_measurements`.`voltage` AS `voltage`,`devices_measurements`.`voltage_min` AS `voltage_min`,`devices_measurements`.`voltage_max` AS `voltage_max`,`devices_measurements`.`voltage_average` AS `voltage_average`,`devices_measurements`.`current` AS `current`,`devices_measurements`.`current_min` AS `current_min`,`devices_measurements`.`current_max` AS `current_max`,`devices_measurements`.`current_average` AS `current_average`,`devices_measurements`.`line_impedance` AS `line_impedance`,`devices_measurements`.`line_impedance_min` AS `line_impedance_min`,`devices_measurements`.`line_impedance_max` AS `line_impedance_max`,`devices_measurements`.`line_impedance_average` AS `line_impedance_average`,`devices_measurements`.`battery_status` AS `battery_status`,`devices_measurements`.`battery_status_min` AS `battery_status_min`,`devices_measurements`.`battery_status_max` AS `battery_status_max`,`devices_measurements`.`battery_status_average` AS `battery_status_average`,`devices_measurements`.`energy` AS `energy`,`devices_measurements`.`switching_on` AS `switching_on`,`devices_measurements`.`switch_on_time` AS `switch_on_time`,`devices_measurements`.`measurements_date_last_log` AS `measurements_date_last_log`,`devices_measurements`.`input1` AS `input1`,`devices_measurements`.`input2` AS `input2`,`devices_measurements`.`input3` AS `input3`,`devices_measurements`.`input4` AS `input4`,`devices_measurements`.`input5` AS `input5`,`devices_measurements`.`input6` AS `input6`,`devices_measurements`.`input7` AS `input7`,`devices_measurements`.`input8` AS `input8`,`devices_measurements`.`input9` AS `input9`,`devices_measurements`.`input10` AS `input10`,`devices_measurements`.`idstatus_connection` AS `idstatus_connection`,`devices_measurements`.`idmode` AS `idmode`,`devices_measurements`.`idstatus` AS `idstatus`,`devices_measurements`.`idfunction` AS `idfunction`,`devices_measurements`.`power_perc` AS `power_perc`,`devices_measurements`.`frequency` AS `frequency`,`devices_measurements`.`power_active2` AS `power_active2`,`devices_measurements`.`power_reactive2` AS `power_reactive2`,`devices_measurements`.`voltage2` AS `voltage2`,`devices_measurements`.`current2` AS `current2`,`devices_measurements`.`power_active3` AS `power_active3`,`devices_measurements`.`power_reactive3` AS `power_reactive3`,`devices_measurements`.`voltage3` AS `voltage3`,`devices_measurements`.`current3` AS `current3`,`devices_measurements`.`energy_reactive` AS `energy_reactive`,`devices_measurements`.`relays` AS `relays`,`devices_measurements`.`delay` AS `delay`,`devices_measurements`.`timer` AS `timer`,`devices_measurements`.`energy_3phase` AS `energy_3phase`,`devices_measurements`.`energy_reactive_3phase` AS `energy_reactive_3phase`,`devices_measurements`.`power_factor2` AS `power_factor2`,`devices_measurements`.`power_factor3` AS `power_factor3`,`devices_measurements`.`power_active1` AS `power_active1`,`devices_measurements`.`power_reactive1` AS `power_reactive1`,`devices_measurements`.`power_factor1` AS `power_factor1`,`devices_measurements`.`voltage1` AS `voltage1`,`devices_measurements`.`current1` AS `current1`,`devices_measurements`.`wifi_ssid` AS `wifi_ssid`,`devices_measurements`.`power_factor_total` AS `power_factor_total`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input11') AS `input11`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input12') AS `input12`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input13') AS `input13`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input14') AS `input14`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input15') AS `input15`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input16') AS `input16`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input17') AS `input17`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input18') AS `input18`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input19') AS `input19`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input20') AS `input20`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input21') AS `input21`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input22') AS `input22`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input23') AS `input23`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input24') AS `input24`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input25') AS `input25`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input26') AS `input26`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input27') AS `input27`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input28') AS `input28`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input29') AS `input29`,extractvalue(`devices_measurements`.`gross_measure`,'/measurements/input30') AS `input30` from `devices_measurements` */;

--
-- Final view structure for view `view_measurements_log_full`
--

/*!50001 DROP VIEW IF EXISTS `view_measurements_log_full`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`2.136.81.119` SQL SECURITY DEFINER */
/*!50001 VIEW `view_measurements_log_full` AS select `measurements_log`.`id` AS `id`,`measurements_log`.`iddevice` AS `iddevice`,`measurements_log`.`date` AS `date`,`measurements_log`.`start_date` AS `start_date`,`measurements_log`.`power_active` AS `power_active`,`measurements_log`.`power_reactive` AS `power_reactive`,`measurements_log`.`power_apparent` AS `power_apparent`,`measurements_log`.`power_factor` AS `power_factor`,`measurements_log`.`energy` AS `energy`,`measurements_log`.`switching_on` AS `switching_on`,`measurements_log`.`switch_on_time` AS `switch_on_time`,`measurements_log`.`voltage` AS `voltage`,`measurements_log`.`current` AS `current`,`measurements_log`.`line_impedance` AS `line_impedance`,`measurements_log`.`battery_status` AS `battery_status`,`measurements_log`.`ts` AS `ts`,`measurements_log`.`input1` AS `input1`,`measurements_log`.`input2` AS `input2`,`measurements_log`.`input3` AS `input3`,`measurements_log`.`input4` AS `input4`,`measurements_log`.`input5` AS `input5`,`measurements_log`.`input6` AS `input6`,`measurements_log`.`input7` AS `input7`,`measurements_log`.`input8` AS `input8`,`measurements_log`.`input9` AS `input9`,`measurements_log`.`input10` AS `input10`,`measurements_log`.`frequency` AS `frequency`,`measurements_log`.`power_active2` AS `power_active2`,`measurements_log`.`power_reactive2` AS `power_reactive2`,`measurements_log`.`voltage2` AS `voltage2`,`measurements_log`.`current2` AS `current2`,`measurements_log`.`power_active3` AS `power_active3`,`measurements_log`.`power_reactive3` AS `power_reactive3`,`measurements_log`.`voltage3` AS `voltage3`,`measurements_log`.`current3` AS `current3`,`measurements_log`.`energy_reactive` AS `energy_reactive`,`measurements_log`.`power_factor2` AS `power_factor2`,`measurements_log`.`power_factor3` AS `power_factor3`,`measurements_log`.`power_active1` AS `power_active1`,`measurements_log`.`power_reactive1` AS `power_reactive1`,`measurements_log`.`power_factor1` AS `power_factor1`,`measurements_log`.`voltage1` AS `voltage1`,`measurements_log`.`current1` AS `current1`,`measurements_log`.`energy_3phase` AS `energy_3phase`,`measurements_log`.`energy_reactive_3phase` AS `energy_reactive_3phase`,`measurements_log`.`power_factor_total` AS `power_factor_total`,`measurements_log`.`idtrigger_type` AS `idtrigger_type`,`measurements_log`.`idmode` AS `idmode`,`measurements_log`.`idstatus` AS `idstatus`,`measurements_log`.`dimmer` AS `dimmer`,`measurements_log`.`modbus_idslave` AS `modbus_idslave`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input11') AS `input11`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input12') AS `input12`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input13') AS `input13`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input14') AS `input14`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input15') AS `input15`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input16') AS `input16`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input17') AS `input17`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input18') AS `input18`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input19') AS `input19`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input20') AS `input20`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input21') AS `input21`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input22') AS `input22`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input23') AS `input23`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input24') AS `input24`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input25') AS `input25`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input26') AS `input26`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input27') AS `input27`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input28') AS `input28`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input29') AS `input29`,extractvalue(`measurements_log`.`gross_measure`,'/measurements/input30') AS `input30` from `measurements_log` */;

--
-- Final view structure for view `view_measurements_log_light`
--

/*!50001 DROP VIEW IF EXISTS `view_measurements_log_light`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`2.136.81.119` SQL SECURITY DEFINER */
/*!50001 VIEW `view_measurements_log_light` AS select `measurements_log`.`id` AS `id`,`measurements_log`.`iddevice` AS `iddevice`,`measurements_log`.`date` AS `date`,`measurements_log`.`start_date` AS `start_date`,`measurements_log`.`power_active` AS `power_active`,`measurements_log`.`power_reactive` AS `power_reactive`,`measurements_log`.`power_apparent` AS `power_apparent`,`measurements_log`.`power_factor` AS `power_factor`,`measurements_log`.`energy` AS `energy`,`measurements_log`.`switching_on` AS `switching_on`,`measurements_log`.`switch_on_time` AS `switch_on_time`,`measurements_log`.`voltage` AS `voltage`,`measurements_log`.`current` AS `current`,`measurements_log`.`line_impedance` AS `line_impedance`,`measurements_log`.`battery_status` AS `battery_status`,`measurements_log`.`ts` AS `ts`,`measurements_log`.`input1` AS `input1`,`measurements_log`.`input2` AS `input2`,`measurements_log`.`input3` AS `input3`,`measurements_log`.`input4` AS `input4`,`measurements_log`.`input5` AS `input5`,`measurements_log`.`input6` AS `input6`,`measurements_log`.`input7` AS `input7`,`measurements_log`.`input8` AS `input8`,`measurements_log`.`input9` AS `input9`,`measurements_log`.`input10` AS `input10`,`measurements_log`.`frequency` AS `frequency`,`measurements_log`.`power_active2` AS `power_active2`,`measurements_log`.`power_reactive2` AS `power_reactive2`,`measurements_log`.`voltage2` AS `voltage2`,`measurements_log`.`current2` AS `current2`,`measurements_log`.`power_active3` AS `power_active3`,`measurements_log`.`power_reactive3` AS `power_reactive3`,`measurements_log`.`voltage3` AS `voltage3`,`measurements_log`.`current3` AS `current3`,`measurements_log`.`energy_reactive` AS `energy_reactive`,`measurements_log`.`power_factor2` AS `power_factor2`,`measurements_log`.`power_factor3` AS `power_factor3`,`measurements_log`.`power_active1` AS `power_active1`,`measurements_log`.`power_reactive1` AS `power_reactive1`,`measurements_log`.`power_factor1` AS `power_factor1`,`measurements_log`.`voltage1` AS `voltage1`,`measurements_log`.`current1` AS `current1`,`measurements_log`.`energy_3phase` AS `energy_3phase`,`measurements_log`.`energy_reactive_3phase` AS `energy_reactive_3phase`,`measurements_log`.`power_factor_total` AS `power_factor_total`,`measurements_log`.`idtrigger_type` AS `idtrigger_type`,`measurements_log`.`idmode` AS `idmode`,`measurements_log`.`idstatus` AS `idstatus`,`measurements_log`.`dimmer` AS `dimmer`,`measurements_log`.`modbus_idslave` AS `modbus_idslave` from `measurements_log` */;


