From 512839e1f58436414fb29b6928207eee8eafbb32 Mon Sep 17 00:00:00 2001 From: Mario Pesch Date: Thu, 12 Jan 2023 15:17:09 +0100 Subject: [PATCH] hPa -> Pa --- src/components/Blockly/blocks/sensebox-sensors.js | 2 +- src/components/Blockly/msg/de/sensebox-sensors.js | 1 + src/components/Blockly/msg/en/sensebox-sensors.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Blockly/blocks/sensebox-sensors.js b/src/components/Blockly/blocks/sensebox-sensors.js index 707bb64..a301d53 100644 --- a/src/components/Blockly/blocks/sensebox-sensors.js +++ b/src/components/Blockly/blocks/sensebox-sensors.js @@ -186,7 +186,7 @@ Blockly.Blocks["sensebox_sensor_bme680_bsec"] = { var dropdownOptions = [ [Blockly.Msg.senseBox_temp, "temperature"], [Blockly.Msg.senseBox_hum, "humidity"], - [Blockly.Msg.senseBox_pressure, "pressure"], + [Blockly.Msg.senseBox_bme_pressure, "pressure"], [Blockly.Msg.senseBox_bme_iaq, "IAQ"], [Blockly.Msg.senseBox_bme_iaq_accuracy, "IAQAccuracy"], [Blockly.Msg.senseBox_bme_co2, "CO2"], diff --git a/src/components/Blockly/msg/de/sensebox-sensors.js b/src/components/Blockly/msg/de/sensebox-sensors.js index 257301e..e687397 100644 --- a/src/components/Blockly/msg/de/sensebox-sensors.js +++ b/src/components/Blockly/msg/de/sensebox-sensors.js @@ -140,6 +140,7 @@ Wenn die maximale Distanz überschritten wird, wird ein Wert von **O** ausgegebe senseBox_bme_iaq: "Innenraumluftqualität (IAQ)", senseBox_bme_iaq_accuracy: "Kalibrierungswert", senseBox_bme_co2: "CO2 Äquivalent", + senseBox_bme_pressure: "Luftdruck in Pa", senseBox_bme_breatheVocEquivalent: "Atemluft VOC Äquivalent", senseBox_bme_tooltip: `Schließe den Umweltsensor an einen der 5 **I2C-Anschlüsse** an. **Beachte:** Der Sensor benöigt eine gewisse Zeit zum kalibrieren. Den Status der Kalibrierung kann über den Kalibrierungswert abgelesen werden. Er ist entweder 0, 1, 2 oder 3 und sagt folgendes aus: diff --git a/src/components/Blockly/msg/en/sensebox-sensors.js b/src/components/Blockly/msg/en/sensebox-sensors.js index 83ac1b1..1322623 100644 --- a/src/components/Blockly/msg/en/sensebox-sensors.js +++ b/src/components/Blockly/msg/en/sensebox-sensors.js @@ -141,6 +141,7 @@ If the max distance is reached the a value of **O** will be returned`, senseBox_bme680: "Environmental sensor (BME680)", senseBox_bme_iaq: "Indoor Air Quality (IAQ)", senseBox_bme_iaq_accuracy: "Calibration Value", + senseBox_bme_pressure: "Airpressure in Pa", senseBox_bme_co2: "CO2 Equivalent", senseBox_bme_breatheVocEquivalent: "Breathe VOC Equivalent", senseBox_bme_tooltip: `Connect the environmental sensor to one of the 5 **I2C ports**. **Note:** The sensor needs some time to calibrate.