jason_fw
@jasonwhite18 · Mitglied seit April 2025
Embedded developer · logistics
- Themen
- 10
- Antworten
- 48
- Punkte
- 0
Erstellte Forenantworten
Von English mit KI übersetzt ·
Genau dieses Szenario hatte ich befürchtet, danke David. Ich habe beim Netzbetreiber angerufen: Da unser Modul bereits zugelassen ist, verlangen sie ein Formular, das Modulzertifikat und einen zweiwöchigen Pilotbetrieb in ihrem Netz. Die TAC-Registrierung ist Teil davon. Der Pilot startet nächsten Monat. Die Offline-Regel ist auf 3.600 s nach dem Zeitfenster für die letzte Nachricht eingestellt, im Profil steht 1.800 x 2.
That’s the scenario I was scared of, thanks David. Called the operator: since our module is already approved, they want a form, the module certificate, and a two week pilot on their network. TAC registration is part of it. Pilot starts next month. Offline rule set to 3,600 s after the Recent message window, with 1,800 x 2 on the profile.
Von English mit KI übersetzt ·
Erledigt. 9 der 12 Geräte des Auftragnehmers kamen mit einer einzigen 3 MB großen app0 zurück, bei diesen ist OTA also ohne Vor-Ort-Termin nicht möglich. Bei den anderen 3 und bei all unseren Geräten sind app0/app1 jeweils 1,25 MB groß, was für unseren 1,4 MB großen Build knapp ist. Deshalb stelle ich unsere Tabelle auf die minimale SPIFFS-Variante mit 1,9 MB großen Slots um, bevor wir weitermachen. Gut, dass wir zuerst nachgesehen haben.
Done. 9 of the contractor’s 12 came back with a single 3 MB app0, so no OTA on those without a visit. The other 3 and all of ours have app0/app1 at 1.25 MB each, which is tight against our 1.4 MB build, so I’m switching our table to the minimal SPIFFS one with 1.9 MB slots before we go further. Good thing we checked first.
Von English mit KI übersetzt ·
Dafür wird aber USB benötigt. Die Trailer sind die meiste Woche unterwegs.
That needs USB though. The trailers are out most of the week.
Von English mit KI übersetzt ·
Bitte setzen Sie einen Pi nicht mit einem „hohen Port“ dem Internet aus. Ihr Pi unterhält bereits eine ausgehende Verbindung zum Broker, darüber können Sie Daten senden.
Please don’t expose a Pi to the internet with a „high port“. Your Pi already keeps an outbound connection to the broker, you can send stuff down that.
Von English mit KI übersetzt ·
Unter Linux schreibt man einfach eine udev-Regel und bekommt /dev/loadcell. Unter Windows ist es unübersichtlicher.
On Linux you’d just write a udev rule and get /dev/loadcell. On Windows it’s messier.
Von English mit KI übersetzt ·
Genau dieses Argument konnte ich nicht vorbringen. Allein die Hinweise auf neue Netzwerke machen die Tor-Idee zunichte. Ich habe heute Nachmittag Erlaubte Netzwerke auf unsere statische IP gesetzt, mit einem Knoten am Hotspot meines Handys getestet, und er wurde abgelehnt; der Reiter Protokoll zeigte den Grund. Der Chef ist zufrieden, und niemand installiert Tor.
That’s the argument I couldn’t make. The new-network notices alone kill the Tor idea. Set Allowed networks to our static IP this afternoon, tested with a node on my phone hotspot and it got refused, Log tab showed the reason. Boss is happy, nobody installs Tor.
Von English mit KI übersetzt ·
Kannst du ein Foto der Verkabelung posten? Ohne das ist es schwer zu sagen.
Can you post a photo of the wiring? Hard to say otherwise.
Von English mit KI übersetzt ·
Seien Sie vorsichtig mit erlaubten Netzwerken bei einem Heimanschluss. Die meisten britischen Internetanbieter ändern Ihre öffentliche IP-Adresse ab und zu, und an dem Tag, an dem sie sich ändert, wird jeder Sensor abgewiesen (CONNACK 5, der Grund erscheint nur im Log-Reiter des Geräts). Nutzen Sie es nur, wenn Sie eine statische IP-Adresse bezahlen.
Careful with Allowed networks on a home connection. Most UK ISPs change your public IP now and then, and the day it changes every sensor gets refused (CONNACK 5, the reason only shows on the device Log tab). Only use it if you pay for a static IP.
Von English mit KI übersetzt ·
Für die Steckdosen ein 2-Dollar-Sendemodul FS1000A 433 MHz plus das Python-Paket rpi-rf. Zuerst die Codes der Fernbedienung mit dem passenden Empfänger mitschneiden (rpi-rf_receive), dann abspielen.
For the sockets, a 2 dollar FS1000A 433 MHz transmitter module plus the rpi-rf Python package. Sniff the remote’s codes with the matching receiver first (rpi-rf_receive), then replay them.
Von English mit KI übersetzt ·
Ich hätte das auch gern, aber laut den Kameradokumentationen ist das eine große Änderung: Hermetry leitet das Live-Video nur weiter, während jemand zusieht, dekodiert oder kodiert es nicht neu und speichert nichts. Es gibt also kein Einzelbild in der Plattform, auf dem ein Modell laufen könnte. Deshalb läuft es vorerst am Edge, wo ich es ohnehin für 9 Kameras platzieren würde: keine Upstream-Bandbreite für 9 Streams den ganzen Tag.Was wir auf einem Logistikhof betreiben: ein Jetson Orin Nano, der die RTSP-Streams der Kameras lokal abruft, ein Personen-/Fahrzeugmodell darauf und ein kleines Skript, das die Ergebnisse alle 10 s als normale Telemetrie an Hermetry sendet:
{"yard.people": 2, "yard.forklifts": 1, "nogo.people": 0}
Danach funktionieren Alarmregeln und Diagramme wie bei jedem anderen Gerät, z. B. nogo.people > 0 mit einer Zeitfensterbedingung für die Zeit nach Feierabend auf einer Regel der Rules-Karte. Die Kameras bleiben für die Live-Ansicht in Hermetry, sodass die Person, die den Alarm erhält, die Kamera öffnen kann.Ein günstigerer erster Schritt: Viele Kameras können selbst Bewegung oder Linienüberquerung erkennen. Wenn Ihre Kameras Kameraereignisse unterstützen, aktivieren Sie Ereignisse für den Endpunkt, und Sie erhalten event.motion als 0/1-Werte auf dem Kameragerät, mit fertigen Alarmregeln im Profil (Bewegung ist standardmäßig aus). Keine Objekterkennung, aber es kostet nichts.
I’d want it too, but from what the camera docs say it’s a big change: Hermetry passes the live video through only while someone watches, doesn’t decode or re-encode it, and stores nothing. There’s no frame in the platform to run a model on. So in the meantime it goes at the edge, which is where I’d put it anyway for 9 cameras: no upstream bandwidth for 9 streams all day.
What we run on a logistics yard: a Jetson Orin Nano pulling the cameras‘ RTSP streams locally, a person/vehicle model on it, and a small script that sends results to Hermetry as normal telemetry every 10 s:
{"yard.people": 2, "yard.forklifts": 1, "nogo.people": 0}
Then alarm rules and charts work as for any device, e.g. nogo.people > 0 with a time-window condition for after hours on a Rules card rule. The cameras stay in Hermetry for live view, so the person who gets the alarm can open the camera.
Cheaper first step: many cameras do their own motion or line-crossing detection. If yours are supported for camera events, switch events on for the endpoint and you get event.motion as 0/1 readings on the camera device, with ready alarm rules on the profile (motion is off by default). Not object detection, but it costs nothing.
Von English mit KI übersetzt ·
Neha hat recht, und Emily, im Schaltplan ist es nicht bestückt. Ich habe einige dieser TI- und Silicon-Labs-Funkplatinen gelayoutet, und die NM-Bauteile haben jeweils einen Grund:Antennenanpassung (deine zwei Kondensatoren und die Spule): Die Anpassung hängt von deiner Leiterplatte, dem Gehäuse und der Antenne ab, deshalb legt TI ein Pi-Netzwerk-Footprint an. Du baust die Platine, misst mit einem VNA und bestückst dann die Werte, die die Antenne auf 50 Ω bringen. Manche Designs bestücken einen 0-Ω-Widerstand in Serie und lassen die Parallelbauteile bis zum Abgleich leer.32-kHz-Quarz: optional. Der Chip hat einen internen RC-Oszillator, der für viele Anwendungen ausreicht. Wenn dein Endknoten viel schläft und eine genaue Aufwachzeit braucht, bestücke den Quarz, andernfalls lass ihn weg.0-Ω- und Jumper-Footprints: Alternativen, etwa zur Wahl zwischen zwei Stromwegen oder zum Anschluss einer Debug-Schnittstelle. Das Referenzdesign hält beide Optionen offen.Für deine Bodensonden würde ich alle NM-Footprints im Layout belassen, den Quarz bestücken (schlafende Endknoten profitieren davon) und vor der Bestellung einer Charge eine Abgleichsitzung mit einem VNA im endgültigen Gehäuse einplanen. Markiere sie in der BOM als DNP, damit der Bestücker dort nichts einsetzt.
Neha’s right, and Emily, on a schematic it’s not mounted. I’ve laid out a few of these TI and Silicon Labs radio boards, and the NM parts each have a reason:
Antenna matching (your two caps and the inductor): the match depends on your PCB, enclosure and antenna, so TI leaves a pi network footprint. You build the board, measure with a VNA, and then fit the values that bring the antenna to 50 Ω. Some designs fit a 0 Ω in series and leave the shunt parts empty until tuning.
32 kHz crystal: optional. The chip has an internal RC oscillator that’s good enough for many applications. If your end node sleeps a lot and needs accurate wake timing, fit the crystal; otherwise leave it.
0 Ω and jumper footprints: alternatives, like choosing between two power paths or connecting a debug interface. The reference design keeps both options.
For your soil probes I’d keep every NM footprint on the layout, fit the crystal (sleepy end nodes benefit), and plan one tuning session with a VNA on the final enclosure before you order a batch. In your BOM, mark them DNP so the assembler doesn’t fit anything there.
Von English mit KI übersetzt ·
Das war es, tier und das Kästchen high impact. Jetzt wird er angezeigt. Und das Duplikat-Problem ist echt: Beim Testen hatten wir einen doppelten Impuls, als das WLAN im Depot direkt nach einem Tastendruck ausfiel, das Tor fuhr hoch und gleich wieder runter. Ich habe die Prüfung der Request-ID hinzugefügt und seitdem nicht mehr gesehen.
That was it, tier and the high impact box. It shows up now. And the duplicate thing is real: during testing we had one double pulse when the depot Wi-Fi dropped right after a press, the door went up and straight back down. Added the request id check and haven’t seen it since.
Von English mit KI übersetzt ·
Ja, die Tür hat ihre eigene Sicherheitskontaktleiste und Lichtschranke, der ESP32 übernimmt nur den Impuls. Kevin, das möchte ich lieber nicht, der Befehlsverlauf mit der Angabe, wer gedrückt hat, ist ein halber Grund, warum wir das machen.
Yep, door has its own safety edge and photocell, the ESP32 only does the pulse. Kevin, I’d rather not, the command history with who pressed it is half the reason we’re doing this.
Von English mit KI übersetzt ·
BLE-Tags können ohnehin nicht direkt mit Hermetry kommunizieren, man braucht etwas mit Internetanbindung in jedem Gebäude.
BLE tags can’t talk to Hermetry directly anyway, you need something with internet in every building.
Von English mit KI übersetzt ·
Alles mit abgeschnittenen Grove-Kabeln verdrahtet, alles mit 3,3 V außer dem Relais an VIN. Licht und Lautstärke an GPIO34 und 35. Das Lärm-Maximum ist schon das unterhaltsamste Diagramm auf dem Board: Man sieht jeden Gabelstapler, der vorbeifährt. Ciaran, ja, mein erster Versuch lief auf GPIO4, ADC2, und blieb bei 4095 hängen.
All wired with cut Grove cables, everything at 3.3 V except the relay on VIN. Light and loudness on GPIO34 and 35. Noise max is already the most fun chart on the board: you can see every pallet jack pass. Ciaran, yes, my first try was on GPIO4, ADC2, stuck at 4095.

