Neu: Die KI-Firewall überwacht die gesamte Plattform und erklärt jeden Vorfall in einfachen Worten. So funktioniert es

Tyler Smith

smithops

@tsmith · Mitglied seit Januar 2026

Neuling

Plant manager · automotive · 6 years in the field

Themen
4
Antworten
35
Punkte
0
Neuling10 Punkte an Mitglied

Erstellte Forenantworten

Ansicht von 15 Beiträgen – 16 bis 30 (von insgesamt 35)

Von English mit KI übersetzt ·

Bezahlt habe ich nichts, mein Wartungstechniker hat es mit Ihrem Snippet an einem Nachmittag erledigt. Der Kurs springt unterhalb von 2 km/h, deshalb zeigen wir ihn nur an, wenn speed_kmh > 2 ist. Erste Woche: 6 Alarme, alle vom selben Fahrer. Die Logistik ist zufrieden.

Ground loops are my cardio.
♥ 2

Von English mit KI übersetzt ·

Das ist die Antwort, die ich brauchte. Sicherheitsverriegelungen bleiben in den SPSen, wo sie sich bereits befinden, Edge puffert die Zähler, und die Cloud übernimmt Reporting und Alarme. Ich habe den Integrator nach der Puffergröße ihres Modells gefragt; sie nannten etwa zwei Tage bei unserer Abfragerate, was mehr als ausreichend ist. Die Finanzabteilung ist zufrieden, weil das Gerät einen Pi ersetzt, um den wir uns sonst selbst hätten kümmern müssen.

Ground loops are my cardio.
♥ 0

Von English mit KI übersetzt ·

Fair. Der Integrator meinte, wir könnten auch einen Raspberry Pi verwenden. Ist das eine realistische Option oder eher eine Bastellösung?

Ground loops are my cardio.
♥ 0

Von English mit KI übersetzt ·

Läuft seit letzter Woche auf dem Reporting-Rechner, der ohnehin unsere Schichtberichte erstellt. Am ersten Montag war der Wert etwas daneben, weil ich 1d-Intervalle verwendet hatte und wir gerade auf Sommerzeit umgestellt hatten. Ich habe auf 1h-Intervalle umgestellt, jetzt stimmt er mit der manuellen Ablesung auf 0,1 m³ überein. Die Buchhaltung ist zufrieden, und sonntagabends liest niemand mehr den Zähler ab.

Ground loops are my cardio.
♥ 1

Two bugs, and a third waiting to happen. I did nearly this exact thing on a test rig years ago.

1. On the slave, each Wire.write() inside onRequest on AVR replaces the buffer instead of adding to it in some library versions, and the order of evaluation in (Wire.read() << 8) | Wire.read() on the master isn’t defined in C++, so the bytes can come out swapped.

2. The stray single byte shifts everything if the counts ever disagree.

Do it with one struct on both sides and one write:

struct __attribute__((packed)) Packet {
  uint16_t m1, m2;
  int16_t  t_x100;      // 23.47 C -> 2347, no float on the wire
  uint8_t  seq;
};
// slave
void onRequest() { Wire.write((uint8_t*)&pkt, sizeof(pkt)); }
// master
Packet p;
if (Wire.requestFrom(8, sizeof(p)) == sizeof(p))
  Wire.readBytes((uint8_t*)&p, sizeof(p));
float t = p.t_x100 / 100.0;

Scaled integers avoid any float layout question if the slave ever becomes an ESP or an STM32. The seq byte tells you if you’re reading a stale packet. And on the ESP32 side, skip the key entirely if a reading is invalid instead of sending NaN, NaN isn’t valid JSON anyway.

Ground loops are my cardio.
Akzeptierte Lösung♥ 4

Von English mit KI übersetzt ·

Der Wert wird im FRAM gespeichert und übersteht Stromausfälle. Er wird nur auf null zurückgesetzt, wenn wir neue Firmware aufspielen.

Ground loops are my cardio.
♥ 0

Von English mit KI übersetzt ·

Vielleicht brauchen Sie ein Client-Zertifikat für den Broker? Wir mussten auf unseren Linien-PCs eines laden.

Ground loops are my cardio.
♥ 0

Not a dead end at all, the „communicating“ part just moves to a box next to it. We have a press line from the 90s that reports like this.

Hermetry Edge runs on licensed gateways and reads field devices on site, Modbus RTU over RS-485 and Modbus TCP among them, depending on the gateway model. So you put an analog-to-Modbus I/O module next to the skid: 4-20 mA input for the level, a digital input for the float, and a counter input for the pump pulses. Edge reads the module and each field device shows up in Hermetry as its own child device with readings, alarms and boards. The gateway dials out over TLS with its own certificate, you claim it with the code from its local Cloud page.

Pulse counting directly on the gateway’s own digital inputs depends on the model, so check the model’s specification first. If it doesn’t count, the I/O module does.

The alarm lamp comparator can stay as it is. Wire its output into a digital input too, so you see the lamp state remotely.

What you don’t get from analog gear: timestamps, local logic and buffering at the sensor. The gateway adds the time when it reads, and licensed gateways can buffer while the link is down, but how much depends on the model. Read Licensed gateways and Hermetry Edge before you pick one.

Ground loops are my cardio.
Akzeptierte Lösung♥ 3
Ansicht von 15 Beiträgen – 16 bis 30 (von insgesamt 35)