From 5e46eeff01214166ad3785516cdea4f9e8a57054 Mon Sep 17 00:00:00 2001 From: Stefan Arnold Date: Sun, 7 Jun 2026 20:09:21 +0200 Subject: [PATCH] =?UTF-8?q?Hinzuf=C3=BCgen=20der=20Funkrufnamen=2005-1/05-?= =?UTF-8?q?21=20und=20Status=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- status.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/status.js b/status.js index b7eebb6..74f16b8 100644 --- a/status.js +++ b/status.js @@ -24,6 +24,8 @@ const WATCHED_VEHICLES = [ "10-64-1", "10-03-1", "10-04-1", + "10-05-1", + "10-05-21", ]; // Intervall in ms @@ -53,7 +55,12 @@ async function hasStatusChanged(newData, oldData) { if (vehicle.fmsstatus_id != oldVehicle.fmsstatus_id || !oldVehicle) { // Divera Nachricht console.log("[INFO] Statusabfrage!"); - if (vehicle.fmsstatus_id == 6 || vehicle.fmsstatus_id == 2 || vehicle.fmsstatus_id == 3) { + if ( + vehicle.fmsstatus_id == 6 || + vehicle.fmsstatus_id == 2 || + vehicle.fmsstatus_id == 3 || + vehicle.fmsstatus_id == 4 + ) { // console.log(`Status Änderung: FL. AUR ${vehicle.name} Status ${vehicle.fmsstatus_id}`); await axios .post("https://app.divera247.com/api/v2/news?accesskey=" + process.env.divera_accesskey_aurich, {