Log verbessert

This commit is contained in:
2026-04-23 17:03:58 +02:00
parent c630ef50a7
commit 6ae153ce10
2 changed files with 4 additions and 3 deletions

View File

@@ -111,7 +111,7 @@ async function runLoop(db) {
async function connect() {
station = await connectStation();
log("Verbunden mit Wetterstation.");
log("Verbunden mit Davis-Console.");
}
async function tick() {
@@ -120,6 +120,7 @@ async function runLoop(db) {
buffer.push(data);
if (POST_URL) {
console.log(`Poste zu ${POST_URL}`)
fetch(POST_URL, {
method: "POST",
headers: { "Content-Type": "application/json" },