[2.8] Persist via_mqtt / transport_mechanism and exclude MQTT from RF analytics

Aperta
#452 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
django, python
Ambito
analytics, backend

Direzione di ricerca

The issue names no files or tests, so start by finding where per-packet observations are stored and where RF propagation, DX and hop statistics are computed in the Python backend. Add via_mqtt and transport_mechanism fields to the observation model with a migration, then filter MQTT rows out of those analytics queries. Done means both fields are persisted and the analytics tests pass with MQTT packets excluded. It depends on pskillen/meshflow-bot#146, which should be checked first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement meshtastic-2.8

Part of pskillen/meshflow-api#437 (Meshtastic 2.8.x support). Code: HP-4 · Priority: Should · Size: S

Summary

MQTT-downlinked packets passing through a feeder currently count as RF. Store via_mqtt and transport_mechanism per observation and exclude non-RF from RF propagation, DX and hop stats. Pre-existing gap, made more visible by 2.8.

Acceptance criteria

  • Fields stored
  • RF/DX analytics exclude MQTT
  • Tests

Depends on: pskillen/meshflow-bot#146 (SG-1)

Lingua principale
Python
Stelle
1
Fork
0
Merge medio
23h 9m
PR unite (30g)
15

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pskillen/meshflow-api

Tutte le issue di pskillen/meshflow-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.