Von English mit KI übersetzt ·
Ich betreue die Anlagenüberwachung für sechs Kunden so, und hier ist das Setup, das sich bewährt hat.Eine Organisation pro Kundenfirma. Sie behalten ein Konto und sind Mitglied in jeder Organisation, mit Admin, und wechseln über die Organisationsauswahl zwischen ihnen. Die Mitarbeiter des Kunden werden als User eingeladen. Ein User kann Geräte, Profile, Dashboards und Alarme sehen, Alarme quittieren, einfache Befehle senden und persönliche Boards erstellen. Das Ansehen von Flows erfordert Admin (die Berechtigung ist automation.read), daher bleibt Ihr Script-Block außerhalb ihres Blickfelds. Geben Sie einem Kunden niemals Admin-Rechte „nur für einen Moment“.Dashboards: Bauen Sie sie einmal in einer Vorlagen-Organisation, laden Sie das Board als Datei herunter und importieren Sie es in jede Kundenorganisation. Flows werden nicht mit der Board-Datei übertragen, daher bringen Sie den Flow separat hinüber: Über das Zeilenmenü der Flow-Liste exportieren (Export) und in jeder Kundenorganisation importieren (Import). Geheimnisse müssen erneut eingegeben werden, und importierte Flows sind zunächst deaktiviert. Bei 4 Organisationen halte ich den Script-Block-Code zusätzlich in git; jede Änderung ist eine Aufgabe von 10 Minuten. Wenn das lästig wird, sollten Sie überlegen, die Dosierberechnung in die Firmware zu verlagern und dose_g als Telemetrie zu senden; dann liegt die Logik in einem signierten Image.Firmware: Was Laura gesagt hat, Signierung mit Ed25519 in Ihrer Pipeline, den öffentlichen Schlüssel auf der Firmware-Seite registrieren und die Option Allow unsigned images deaktiviert lassen. Unsignierte oder neu signierte Images werden dann von der Upload-Prüfung abgelehnt.Die Rollentabelle finden Sie unter Users and roles. Branding mit Ihrem Logo wird ebenfalls pro Organisation festgelegt, falls Sie es so aussehen lassen möchten, als wäre es Ihr eigenes Produkt.
I run plant monitoring for six customers this way, so here’s the setup that’s held up.
One organisation per customer company. You keep one account and are a member of each, with Admin, and switch between them from the organisation picker. The customer’s people are invited as User. A User can see devices, profiles, dashboards and alarms, acknowledge alarms, send basic commands and build personal boards. Viewing flows needs Admin (the permission is automation.read), so your Script block stays out of their sight. Never give a customer Admin „just for a minute“.
Dashboards: build them once in a template org, download the board as a file and import it into each customer org. Flows don’t travel in the board file, so you bring the flow over separately: Export it from the row menu on the flow list and Import it in each customer org (secrets have to be typed in again, and imported flows arrive switched off). With 4 orgs I keep the Script block code in git as well, it’s a 10-minute job per change. If that gets painful, think about moving the dosing calculation into the firmware and sending dose_g as telemetry; then the logic lives in one signed image.
Firmware: what Laura said, sign with Ed25519 in your pipeline, register the public key on the Firmware page, and leave Allow unsigned images off. Unsigned or re-signed images are then refused by the upload check.
The role table is on Users and roles. Branding with your logo is per organisation too, if you want it to look like your product.

