reddysi
@nreddy · Mitglied seit November 2025
System integrator · water and wastewater · 6 years in the field
- Themen
- 3
- Antworten
- 14
- Punkte
- 0
Erstellte Forenantworten
Put hysteresis on the battery rule, something like below 20 with a margin of 5. Cold mornings make batteries dip and you’ll get an alarm every dawn otherwise.
Von English mit KI übersetzt ·
Genau das habe ich letzte Woche für einen Kunden gemacht. Der Probelauf listete zwei Karten als übersprungen auf, beide Prozessdiagramm-Karten, weil in der Organisation des Kunden das SCADA-Modul noch nicht aktiviert war. Ich habe es eingeschaltet, den ersten Import gelöscht, erneut importiert, und alle 14 Karten wurden übernommen. Lies den Probelauf, er sagt dir genau, welche Karte und warum.
Did exactly this for a client last week. The dry run listed two cards as Skipped, both process diagram cards, because the client org didn’t have the SCADA module on yet. Turned it on, deleted the first import, imported again and all 14 cards came across. Read the dry run, it tells you exactly which card and why.
Von English mit KI übersetzt ·
Eine Frage zum Webhook-Teil. Bedeutet „nach einem Ausfall repariert“, dass die Aufrufe, die während des Ausfalls eingegangen sind, anschließend ausgeführt werden, oder nur, dass der Trigger von selbst wieder anläuft?
Question on the webhook part. Does „repaired after an outage“ mean the calls that came in during the outage get run afterwards, or only that the trigger comes back by itself?
Water site sounds very close to my day job, tanks and pump stations. Is it included or does it need something extra on the plan?
Von English mit KI übersetzt ·
Beides funktioniert, ich habe beides im Feld im Einsatz. Auf Bookworm ist es deutlich weniger umständlich, NetworkManager übernimmt AP und NAT in einem Schritt:
sudo nmcli dev wifi hotspot ifname wlan0 ssid shed-iot password 'long-passphrase-here'
sudo nmcli con mod Hotspot connection.autoconnect yes ipv4.method shared
ipv4.method shared verteilt DHCP an die ESP32s und routet sie per NAT über das, was die Standardroute hat, also Ihren 4G-Stick. Das integrierte Wi-Fi des Pi reicht für 8 Clients auf kurze Distanz.Bei Hitze und SD-Karten würde ich zweimal überlegen, außerdem kommt niemand an den Pi heran, wenn er hängt. Wenn Sie den Pi nehmen: Metallgehäuse als Kühlkörper, eine gute industrietaugliche SD-Karte oder eine USB-SSD, wenn möglich Root-Dateisystem nur lesbar, und den Hardware-Watchdog aktiviert.Was ein lizenzierter Router auf Hermetry für das Geld bietet: Sie beanspruchen ihn mit dem Code auf seiner lokalen Cloud-Seite, er meldet sich mit seinem eigenen Zertifikat an, Sie können seine Einstellungen ändern und seine Firmware über Hermetry aktualisieren, und Sie können sein Web-Panel von seiner Geräteseite aus öffnen, ohne feste IP, die Sie über eine 4G-Verbindung nicht haben. Es ist ein Gerät in Ihrer eigenen Organisation und zählt einmal gegen das Geräte-Limit. Remote-Zugriffssitzungen sind zeitlich begrenzt und werden protokolliert.Meine Regel: Ein Standort, zu dem ich fahren kann, Pi. Standorte, die einen Pick-up und einen Tag Aufwand brauchen, lizenzierter Router. Details: Licensed gateways and Hermetry Edge.
Both work, I have both in the field. On Bookworm it’s much less fiddly, NetworkManager does the AP and the NAT in one go:
sudo nmcli dev wifi hotspot ifname wlan0 ssid shed-iot password 'long-passphrase-here'
sudo nmcli con mod Hotspot connection.autoconnect yes ipv4.method shared
ipv4.method shared hands out DHCP to the ESP32s and NATs them out of whatever has the default route, your 4G dongle. The Pi’s onboard Wi-Fi is fine for 8 clients at short range.
Where I’d think twice is heat and SD cards, plus nobody can reach the Pi when it hangs. If you go Pi: metal case as heatsink, a decent industrial SD or USB SSD, read-only root if you can, and the hardware watchdog enabled.
What a licensed router gives you on Hermetry for the money: you claim it with the code on its local Cloud page, it logs in with its own certificate, you can change its settings and update its firmware from Hermetry, and you can open its web panel from its device page without a fixed IP, which on a 4G link you won’t have. It’s a device in your org itself and counts once against the device limit. Remote access sessions are time-limited and audited.
My rule: one site I can drive to, Pi. Sites that need a ute and a day, licensed router. Details: Licensed gateways and Hermetry Edge.
Von English mit KI übersetzt ·
Ist VREF mit 3,3 V verbunden? Wenn VREF schwebt, zeigt sich genau dieses Verhalten von 0 / 1023.
Is VREF tied to 3.3 V? If VREF floats you get exactly that 0 / 1023 behaviour.
Complementary filter at 0.98 and a timer-driven loop, and it stands. Tuned it with P=18, D=0.6, a tiny I, plus a 6 % deadband. The 1 message per second batches at 20 Hz work, no more rate_limit, and the angle chart on the booth board looks great. My mistake was publishing from inside the control loop, every publish stretched the loop and made the oscillation worse too.
That explains the disconnects. So how do people get fast data for tuning, without getting kicked?
For 80 m and 12 nodes I’d not go I2C, even with extenders the capacitance adds up. CAN would work fine, MCP2515 boards are cheap. But RS-485 with Modbus is easier to debug with a USB dongle and a laptop.
Von English mit KI übersetzt ·
Schlüssel laufen standardmäßig nach 90 Tagen ab (höchstens ein Jahr), also setz dir irgendwo eine Erinnerung, sonst stirbt dein Shortcut nach drei Monaten stillschweigend. Und halte die Schlüsseldatei bei chmod 600, nicht in deinem Dotfiles-Repo.
Keys expire after 90 days by default (a year at most), so put a reminder somewhere or your shortcut dies quietly in three months. And keep the key file chmod 600, not in your dotfiles repo.
Client’s mechanic welded simple guide rails onto the docks, and I changed the robot code to check charge current with 3 retries. Two weeks, one failed dock, and that one showed up red on the site view within a minute, so someone went over. Added Rachel’s battery alarm too.
No. It declares „docked“ when the IR signal is strongest and stops.
NM is „not mounted“, same as DNP (do not populate). The footprint is on the board but no part goes in it.
rc=2 is „client ID rejected“. Colons are allowed in Hermetry client IDs (letters, digits and . _ : -, 1 to 64 chars), so it’s not the MAC format. Something else is getting into the ID.

