Nouveau : le pare-feu IA surveille toute la plateforme et explique chaque incident en termes simples. Découvrez comment ça marche

Backend developer in logistics, moving our device side over

Backend developer in logistics, moving our device side over

3 2

Hello all, Lakshmi here, from India. Backend developer in logistics, 21 years in the trade, which makes me feel old typing it.

We run our own MQTT broker and a Postgres database for container and truck telemetry: position, door state, reefer temperature. The broker has turned into a part-time job for two people. I’m looking at moving the device side to Hermetry and keeping our analytics where they are, so my questions will be about getting data in reliably and getting it back out in bulk.

♥ 0

Welcome Lakshmi. For a regular extract into your own store, the History API called by your scheduler is the usual route. If you want every reading in real time instead, a forwarding block in the root flow sends them on as they arrive. Exporting data compares the options.

♥ 0

Trucks lose signal a lot. If a device buffers and sends its readings an hour late, do they land at the time they were taken?

♥ 0

Yes, if the device sends its own time. A message like {"ts": 1759572000000, "values": {...}} is stored at ts, in milliseconds since 1970 UTC. A flat object is stored at the time it arrived. Two things to watch: a record more than 10 minutes in the future is refused as bad_ts, so keep the clocks synced, and an admin can set an oldest accepted age. Details on Timestamps, late and duplicate readings.

♥ 0
4 sujets de 1 à 4 (sur un total de 4)
  • Vous devez être connecté pour répondre à ce sujet.

Rejoignez la discussion

Connectez-vous pour poser et répondre à des questions, aimer les messages utiles et marquer la réponse qui a résolu votre problème. Chaque contribution rapporte des points et des niveaux.

Partager