reddysi
@nreddy · Membre depuis novembre 2025
System integrator · water and wastewater · 6 years in the field
- Sujets
- 3
- Réponses
- 14
- Points
- 0
Toutes mes réponses sur les forums
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.
Traduit de English par IA ·
Je l’ai fait exactement ainsi pour un client la semaine dernière. La simulation a répertorié deux cartes comme ignorées, toutes deux des cartes de schéma de procédé, parce que l’organisation du client n’avait pas encore le module SCADA activé. Je l’ai activé, supprimé le premier import, réimporté, et les 14 cartes ont bien été transférées. Lisez la simulation, elle indique exactement quelle carte est concernée et pourquoi.
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.
Traduit de English par IA ·
Une question sur la partie webhook. « Réparé après une panne » signifie-t-il que les appels reçus pendant la panne sont exécutés ensuite, ou seulement que le déclencheur redémarre automatiquement ?
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?
Traduit de English par IA ·
Les deux fonctionnent, j’ai les deux sur le terrain. Sur Bookworm c’est beaucoup moins délicat, NetworkManager gère le point d’accès et le NAT en une seule opération :
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 distribue le DHCP aux ESP32 et les fait passer en NAT par ce qui possède la route par défaut, votre clé 4G. Le Wi-Fi intégré du Pi suffit pour 8 clients à courte portée.Là où je réfléchirais à deux fois, c’est la chaleur et les cartes SD, ainsi que le fait que personne ne peut atteindre le Pi quand il se bloque. Si vous optez pour le Pi : boîtier métallique faisant office de dissipateur, une carte SD industrielle correcte ou un SSD USB, système racine en lecture seule si possible, et le watchdog matériel activé.Ce qu’un routeur sous licence vous apporte sur Hermetry pour le prix : vous le revendiquez avec le code de sa page Cloud locale, il se connecte avec son propre certificat, vous pouvez modifier ses réglages et mettre à jour son firmware depuis Hermetry, et vous pouvez ouvrir son panneau web depuis sa page d’appareil sans IP fixe, ce que vous n’aurez pas sur une liaison 4G. C’est un appareil de votre organisation et il compte une seule fois dans la limite d’appareils. Les sessions d’accès à distance sont limitées dans le temps et auditées.Ma règle : un site où je peux me rendre, Pi. Les sites qui nécessitent un pick-up et une journée, routeur sous licence. Détails : 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.
Traduit de English par IA ·
VREF est-elle reliée à 3,3 V ? Si VREF est flottante, vous obtenez exactement ce comportement 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.
Traduit de English par IA ·
Les clés expirent par défaut après 90 jours (un an au maximum), alors notez quelque part un rappel, sinon votre raccourci cessera discrètement de fonctionner au bout de trois mois. Et gardez le fichier de clé en chmod 600, pas dans votre dépôt de dotfiles.
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.

