chore(eslint): ignore irregular whitespace in comments (keep rule strict for code)

This commit is contained in:
ISA
2025-08-12 11:11:39 +02:00
parent 71f120aa27
commit 31a54deb2d
7 changed files with 78 additions and 6 deletions

View File

@@ -211,3 +211,37 @@ main().catch((e) => {
console.error("Unerwarteter Fehler:", e);
process.exit(1);
});
/*
kann ich auch mit node die isolationswiderstand DIA0 bis DIA2 für den Slot 0 aufrufen
fetchCableData.mjs
:175
Ill show the exact Node commands to fetch Isolationswiderstand (type 3) for slot 0 across DIA0DIA2 with the new script.
Checklist
Slot 0 only
Type iso (Isolationswiderstand)
All modes DIA0, DIA1, DIA2
Optional explicit date range
Basic Auth + self-signed TLS
Run (last 30 days, all DIA modes)
node .\mocks\scripts\fetchCableData.mjs --slots 0 --types iso --insecure
node .\mocks\scripts\fetchCableData.mjs --slots 0 --types iso --insecure
Run with explicit date range (e.g., 2025-07-13 → 2025-08-12)
node .\mocks\scripts\fetchCableData.mjs --slots 0 --types iso --from 2025-07-13 --to 2025-08-12 --insecure
node .\mocks\scripts\fetchCableData.mjs --slots 0 --types iso --from 2025-07-13 --to 2025-08-12 --insecure
Add credentials explicitly (if needed)
node .\mocks\scripts\fetchCableData.mjs --slots 0 --types iso --from 2025-07-13 --to 2025-08-12 --user Littwin --pass Littwin --insecure
node .\mocks\scripts\fetchCableData.mjs --slots 0 --types iso --from 2025-07-13 --to 2025-08-12 --user Littwin --pass Littwin --insecure
Notes
By default, the script fetches all modes DIA0,DIA1,DIA2; you can restrict with: --modes DIA0,DIA1,DIA2.
Output goes to:
mocks/device-cgi-simulator/cable-monitoring-data/slot0/isolationswiderstand/DIA{0|1|2}.json
The --insecure flag accepts the devices selfsigned certificate.
*/