node-red / ANLEITUNG.md
2Btainment's picture
fix: replace BMC widget script with static link
07e9e9f
|
Raw History Blame Contribute Delete
1.54 kB

Einswarm Node-RED — Betriebsanleitung

Space: https://huggingface.co/spaces/2Btainment/node-red
App (neuer Tab): https://2btainment-node-red.hf.space
Zeitzone: Europe/Berlin


1. Zugang

  • Space ist privat (HF-Gate).
  • Direct-URL im neuen Tab öffnen, bei Hugging Face eingeloggt.
  • nginx entfernt X-Frame-Options / CORP und setzt frame-ancestors für huggingface.co.

2. Login (Admin)

Secrets (Settings → Variables and secrets):

Secret Bedeutung
NODE_RED_ADMIN_USER Benutzer (Standard: admin)
NODE_RED_ADMIN_PASSWORD Passwort — wird beim Start gehasht
NODE_RED_CREDENTIAL_SECRET Schlüssel für Flow-Credentials — nicht ändern
  1. https://2btainment-node-red.hf.space öffnen
  2. Mit Admin-User/Passwort anmelden
  3. Flows bauen → Deploy

3. Persistenz

  • /data wenn beschreibbar: Flows + Settings
  • Ohne Volume: Daten ephemeral bei Rebuild/Sleep
  • Regelmäßig Export (Menü → Export)

4. Einswarm-UI

Schwarz/Gold-Theme, Logo im Header, Buy-Me-a-Coffee (statischer Link unten rechts, kein Fremd-JS).

5. Webhooks / HTTP-in

HTTP-in Nodes lauschen unter der Direct-URL. CORS ist für HF-Origins geöffnet.

6. Troubleshooting

Symptom Aktion
ERR_BLOCKED_BY_RESPONSE Direct-URL nutzen; nginx sollte XFO strippen
Login schlägt fehl Secret NODE_RED_ADMIN_PASSWORD prüfen, Space neu starten
Flows weg nach Restart Export/Import; Volume oder Backup