From 6d549ed69b6332a2ae51ce9a0914a11199d258f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20X=2E=20F=C3=BCrst?= Date: Wed, 5 Nov 2025 10:10:45 +0000 Subject: [PATCH] =?UTF-8?q?e10tel=20nicht=20zum=20client=20=C3=BCbertrage?= =?UTF-8?q?=20-=20unn=C3=B6tig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- databases/mongo.js | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/databases/mongo.js b/databases/mongo.js index b3aed1a..b41f81e 100644 --- a/databases/mongo.js +++ b/databases/mongo.js @@ -186,7 +186,7 @@ export const fetchActData = async (opts) => { LA_minx: '$values.noise_LA_min', LA_max: '$values.LA_max', LAeq: '$values.LAeq', - E10tel_eq: '$values.E10tel_eq' } + } }, // {$project: { // datetime: {$dateToString: {format: '%Y-%m-%dT%H:%M:%SZ', date: '$datetime'}}, @@ -202,24 +202,6 @@ export const fetchActData = async (opts) => { } return ret } -/* -Try to connect to mongodb://rexfue:s25BMmW2gg@192.168.51.22:27017 -Try to connect to mongodb://rexfue:s25BMmW2gg@192.168.51.22:27017 -*/ - - - - -/* - let docs = await collection.find( - { datetime: - { $gte: start.toDate(), $lt: end.toDate() } - }, - { projection: - {_id:0, E_eq:0, E_mx:0, E_mi:0, E10tel_mx:0, E10tel_mi:0}, sort: {datetime: sort} - }, - ).toArray(); -*/ export const fetchgeigerAVGData = async (opts) => { let docs = []