block variables - var navbarItems = { Home: './index.html', Embedded: './embeded_details.html', OpenCV: './opencv_details.html', Photography: './photography-details.html', Table: './table.html', Institute: './images/institute.png' }; var smallCards = [ { header: 'Заголовок', text: '3D printers are versatile tools used for creating prototypes, custom parts, and artistic designs. They work by layering materials.', image: require('../images/16x10/3d-printer.jpeg'), imageAlt: '3D Printer', link: '#', }, { header: 'BLHeli ESCs', text: 'BLHeli ESCs are electronic speed controllers designed for drones, offering smooth and precise motor control.', image: require('../images/16x10/blheli-esc.jpeg'), imageAlt: 'BLHeli ESC', link: '#', }, { header: 'Raspberry Pi Nano', text: 'Raspberry Pi Nano is a compact computer ideal for learning, prototyping, and IoT projects. It is highly energy-efficient.', image: require('../images/16x10/rpi-nano.jpeg'), imageAlt: 'Raspberry Pi Nano', link: '#', }, { header: 'Smart Thermostats', text: 'Smart thermostats help regulate home temperatures efficiently, saving energy and enhancing comfort with automation.', image: require('../images/16x10/thermostat.jpeg'), imageAlt: 'Smart Thermostat', link: '#', } ]; var galleryImages= [ { src: require('../images/sqarucos.png'), alt: 'ESP32'}, { src: require('../images/sqstm32.png'), alt: 'Arduino'}, { src: require('../images/sqesp32.png'), alt: 'STM32'} ]; var locationFilters = [ { id: 'loc_kitchen', value: 'Kitchen', label: 'Kitchen' }, { id: 'loc_living', value: 'Living Room', label: 'Living Room' }, { id: 'loc_balcony', value: 'Balcony', label: 'Balcony' }, { id: 'loc_bedroom', value: 'Bedroom', label: 'Bedroom' } ]; var sensorTypeFilters = [ { id: 'type_xiaomi', value: 'Xiaomi', label: 'Xiaomi' }, { id: 'type_bmp220', value: 'Bmp220', label: 'Bmp220' }, { id: 'type_scd30', value: 'Scd30(Internal)', label: 'Scd30(Internal)' }, { id: 'type_bmp280', value: 'Bmp280', label: 'Bmp280' } ]; var sortOptions = [ { value: '', label: '-- None --' }, { value: 'SensorID', label: 'SensorID' }, { value: 'Timestamp', label: 'Time' }, { value: 'BatteryLevel', label: 'BatteryLevel' }, { value: 'Temperature', label: 'Temperature' }, { value: 'Humidity', label: 'Humidity' } ]; var axisOptions = [ { id: 'x_time', value: 'Time', label: 'Time', checked: true }, { id: 'x_battery', value: 'BatteryLevel', label: 'BatteryLevel', checked: false }, { id: 'x_temperature', value: 'Temperature', label: 'Temperature', checked: false }, { id: 'x_humidity', value: 'Humidity', label: 'Humidity', checked: false } ]; var valueOptions = [ { id: 'val_temperature', value: 'AverageTemperature', label: 'Average Temperature', checked: true }, { id: 'val_humidity', value: 'Humidity', label: 'Average Humidity', checked: false }, { id: 'val_battery', value: 'BatteryLevel', label: 'Average BatteryLevel', checked: false } ] var sensorData = [ { sensorId: 'TEMP-001', location: 'Balcony', timestamp: '2025-10-03T03:41:50Z', temperature: 19.4, tempDifference: -0.2, sensorType: 'Bmp220', batteryLevel: 95, humidity: 38.1, lastCalibrationDate: '2025-07-26' }, { sensorId: 'TEMP-003', location: 'Bedroom', timestamp: '2025-10-03T03:42:46Z', temperature: 18.2, tempDifference: -0.1, sensorType: 'Xiaomi', batteryLevel: 75, humidity: 45.5, lastCalibrationDate: '2025-07-21' }, { sensorId: 'TEMP-004', location: 'Balcony', timestamp: '2025-10-03T03:43:48Z', temperature: 24.1, tempDifference: 0.1, sensorType: 'Xiaomi', batteryLevel: 72, humidity: 50.5, lastCalibrationDate: '2025-08-30' }, { sensorId: 'TEMP-001', location: 'Balcony', timestamp: '2025-10-03T03:44:34Z', temperature: 19.1, tempDifference: -0.3, sensorType: 'Bmp220', batteryLevel: 95, humidity: 56.5, lastCalibrationDate: '2025-07-26' }, { sensorId: 'TEMP-006', location: 'Kitchen', timestamp: '2025-10-03T03:45:46Z', temperature: 22.8, tempDifference: 0.0, sensorType: 'Scd30(Internal)', batteryLevel: 80, humidity: 41.4, lastCalibrationDate: '2025-09-10' }, { sensorId: 'TEMP-010', location: 'Balcony', timestamp: '2025-10-03T03:46:18Z', temperature: 21.7, tempDifference: 0.5, sensorType: 'Scd30(Internal)', batteryLevel: 79, humidity: 59.8, lastCalibrationDate: '2025-08-07' }, { sensorId: 'TEMP-006', location: 'Balcony', timestamp: '2025-10-03T03:47:05Z', temperature: 22.7, tempDifference: -0.1, sensorType: 'Scd30(Internal)', batteryLevel: 80, humidity: 36.1, lastCalibrationDate: '2025-09-10' }, { sensorId: 'TEMP-006', location: 'Bedroom', timestamp: '2025-10-03T03:48:13Z', temperature: 22.9, tempDifference: 0.2, sensorType: 'Scd30(Internal)', batteryLevel: 80, humidity: 56.1, lastCalibrationDate: '2025-09-10' }, { sensorId: 'TEMP-005', location: 'Living Room', timestamp: '2025-10-03T03:49:03Z', temperature: 24.4, tempDifference: 0.4, sensorType: 'Bmp180', batteryLevel: 91, humidity: 30.1, lastCalibrationDate: '2025-08-07' }, { sensorId: 'TEMP-001', location: 'Kitchen', timestamp: '2025-10-03T03:50:24Z', temperature: 19.1, tempDifference: 0.0, sensorType: 'Bmp220', batteryLevel: 95, humidity: 64.8, lastCalibrationDate: '2025-07-26' }, { sensorId: 'TEMP-008', location: 'Living Room', timestamp: '2025-10-03T03:51:12Z', temperature: 21.9, tempDifference: -0.1, sensorType: 'Scd30(Internal)', batteryLevel: 92, humidity: 36.0, lastCalibrationDate: '2025-08-02' }, { sensorId: 'TEMP-009', location: 'Balcony', timestamp: '2025-10-03T03:51:46Z', temperature: 22.3, tempDifference: 0.0, sensorType: 'Xiaomi', batteryLevel: 76, humidity: 74.0, lastCalibrationDate: '2025-09-17' }, { sensorId: 'TEMP-003', location: 'Kitchen', timestamp: '2025-10-03T03:52:23Z', temperature: 18.4, tempDifference: 0.2, sensorType: 'Xiaomi', batteryLevel: 75, humidity: 45.2, lastCalibrationDate: '2025-07-21' }, { sensorId: 'TEMP-010', location: 'Living Room', timestamp: '2025-10-03T03:53:44Z', temperature: 21.8, tempDifference: 0.1, sensorType: 'Scd30(Internal)', batteryLevel: 79, humidity: 36.3, lastCalibrationDate: '2025-08-07' }, { sensorId: 'TEMP-001', location: 'Kitchen', timestamp: '2025-10-03T03:54:46Z', temperature: 18.7, tempDifference: -0.4, sensorType: 'Bmp220', batteryLevel: 95, humidity: 44.3, lastCalibrationDate: '2025-07-26' }, { sensorId: 'TEMP-006', location: 'Bedroom', timestamp: '2025-10-03T03:55:24Z', temperature: 23.3, tempDifference: 0.4, sensorType: 'Scd30(Internal)', batteryLevel: 80, humidity: 55.9, lastCalibrationDate: '2025-09-10' }, { sensorId: 'TEMP-002', location: 'Kitchen', timestamp: '2025-10-03T03:55:57Z', temperature: 17.7, tempDifference: -0.5, sensorType: 'Scd30(Internal)', batteryLevel: 93, humidity: 70.2, lastCalibrationDate: '2025-08-30' }, { sensorId: 'TEMP-002', location: 'Balcony', timestamp: '2025-10-03T03:57:05Z', temperature: 17.4, tempDifference: -0.3, sensorType: 'Scd30(Internal)', batteryLevel: 93, humidity: 66.7, lastCalibrationDate: '2025-08-30' }, { sensorId: 'TEMP-009', location: 'Living Room', timestamp: '2025-10-03T03:58:28Z', temperature: 22.6, tempDifference: 0.3, sensorType: 'Xiaomi', batteryLevel: 76, humidity: 56.4, lastCalibrationDate: '2025-09-17' }, { sensorId: 'TEMP-004', location: 'Bedroom', timestamp: '2025-10-03T03:59:51Z', temperature: 24.3, tempDifference: 0.2, sensorType: 'Xiaomi', batteryLevel: 72, humidity: 47.3, lastCalibrationDate: '2025-08-30' } ];