Compare commits

..

No commits in common. "3f7c501340f5c8d6ab52f507ded992c1fad262a3" and "6627372ec0495b56873162f77768b605789266fd" have entirely different histories.

6 changed files with 14 additions and 35 deletions

Binary file not shown.

View File

@ -1,16 +1,11 @@
kind: ConfigMap kind: ConfigMap
metadata: metadata:
creationTimestamp: null creationTimestamp: null
name: rclone-gdrive-config name: rclone-dropbox-config
namespace: backup namespace: backup
apiVersion: v1 apiVersion: v1
data: data:
rclone.conf: | rclone.conf: |
[gdrive] [dropbox]
type = drive type = dropbox
client_id = 510142397622-ife8ab809cirgb2f3t1gk6gmj0p3ehrb.apps.googleusercontent.com token = {"access_token":"17hvEArIh3cAAAAAAAGTXUfwkGdz8EC_rDcEseLmSRltQoUz_AVceuUewx0sGMQ1","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}
client_secret = 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
scope = drive
token = {"access_token":"ya29.a0AZYkNZjtwgj_7XaZtlsrUuXbJcYJSE2Zl4WEFlhaqSIDT3csW05ZrKcZqvsF_6Ql45C-391judgNE8DUKAAqkf2-6zyrXXPlz99lQWSuuEovtfF2A9shiQb6_oYGIT8FrW3xnFNkpz1HVY_xbeJ_PRxLpeA0V1XeKFNHJ4KTaCgYKAfESARISFQHGX2MiNcnE9tRt0XzNPF6o-HumWQ0175","token_type":"Bearer","refresh_token":"1//0918ME0bkQh3uCgYIARAAGAkSNwF-L9Irikk_ba5HNHLu5UTWvO4n_EslCc5SDbDX4_KzbUpDRBhd_v3W-wFC0LU0Uf4VbD2u42I","expiry":"2025-04-21T17:40:48.191375+02:00"}
team_drive =

View File

@ -136,35 +136,19 @@ function checkBlu(event) {
} }
if (addr === aussen) { if (addr === aussen) {
if (typeof event.temperature !== "undefined") {
temperatur_aussen = event.temperature; temperatur_aussen = event.temperature;
}
if (typeof event.humidity !== "undefined") {
humidity_aussen = event.humidity; humidity_aussen = event.humidity;
} taupunkt_aussen = taupunkt(event.temperature, event.humidity);
if (typeof temperatur_aussen !== "undefined" && typeof humidity_aussen !== "undefined") {
taupunkt_aussen = taupunkt(temperatur_aussen, humidity_aussen);
}
if (typeof event.battery !== "undefined") {
battery_aussen = event.battery; battery_aussen = event.battery;
}
lost_connection_aussen = 0; lost_connection_aussen = 0;
print("Neue Werte für Außen: T=", temperatur_aussen, "°C, RH=", humidity_aussen, "%, Tp=", taupunkt_aussen, "°C, Batt=", battery_aussen, "%"); print("Neue Werte für Außen:", temperatur_aussen, "°C,", humidity_aussen, "%, Tp:", taupunkt_aussen, "°C, Batt: ", battery_aussen, " % ");
} else if (addr === innen) { } else if (addr === innen) {
if (typeof event.temperature !== "undefined") {
temperatur_innen = event.temperature; temperatur_innen = event.temperature;
}
if (typeof event.humidity !== "undefined") {
humidity_innen = event.humidity; humidity_innen = event.humidity;
} taupunkt_innen = taupunkt(event.temperature, event.humidity);
if (typeof temperatur_innen !== "undefined" && typeof humidity_innen !== "undefined") {
taupunkt_innen = taupunkt(temperatur_innen, humidity_innen);
}
if (typeof event.battery !== "undefined") {
battery_innen = event.battery; battery_innen = event.battery;
}
lost_connection_innen = 0; lost_connection_innen = 0;
print("Neue Werte für Innen: T=", temperatur_innen, "°C, RH=", humidity_innen, "%, Tp=", taupunkt_innen, "°C, Batt=", battery_innen, "%"); print("Neue Werte für Innen:", temperatur_innen, "°C,", humidity_innen, "%, Tp:", taupunkt_innen, "°C, Batt: " , battery_innen, " % ");
} }
} }