Skip to content

IoT Telemetry & Converters

Physical Planovi Converters read RS-485 Modbus RTU smart meters on-site, buffer encrypted readings on an SD card so zero data is lost during internet outages, and transmit Schema v3 telemetry over mutual TLS (HTTPS mTLS or MQTT 8883) to the VPS.

IoT Flow: Smart Meter to Cloud & Live Dashboard ๐ŸŽจ Curated Flow (Pull-Protected)
IoT Flow: Smart Meter to Cloud & Live Dashboard IoT Flow: Smart Meter to Cloud & Live Dashboard
IoT Flow: Smart Meter to Cloud & Live Dashboard
IoT Flow: Smart Meter to Cloud & Live Dashboard IoT Flow: Smart Meter to Cloud & Live Dashboard

Where Is It in Code?

Symptom / TaskRepositoryExact File / Path
Firmware Modbus polling, Wi-Fi captive panel, SD LittleFS journal, RTCplanovi-converterRP2350 C/C++ firmware (CMakeLists.txt, FreeRTOSConfig.h, VERSION, Pico SDK >=2.2.0)
Cloud HTTP telemetry ingestion, deduplication & policyplanovi-convertercloud/api/telemetry_ingress.py, cloud/services/telemetry_ingestion.py
MQTT TLS broker consumer & topic ACLsplanovi-convertercloud/mqtt_ingress.py, cloud/config/planovi.acl
mTLS certificate verification & device provisioningplanovi-convertercloud/mtls_gateway.py, cloud/services/device_provisioning.py
OTA firmware distribution & device reboot commandsplanovi-convertercloud/api/firmware.py, cloud/api/converters.py
Fleet Admin Web UI (cloud.planovi.app)planovi-converteradmin/ (Flutter Web)
Edge telemetry ingestion, Tauron DSO CSV imports, alerts & rollupsplanovi-backendsupabase/functions/{ingest-telemetry,refresh-live-state,process-alerts,process-tauron-csv,aggregate-hourly,aggregate-daily}
Cooperative live OZE charts in main app (panel.planovi.app)planovi-flutter-applib/features/energy_coop/, lib/features/dashboard/
Nginx mTLS SNI routing (:8444 PROD / :8443 DEV) & Mosquittoplanovi-vpsdocker-compose.yml (converters-api-*, mosquitto-dev), proxy/conf.d/converters.conf

Quick Debugging Commands (on VPS)

Terminal window
# 1. Watch live FastAPI cloud ingestion logs (PROD or DEV)
docker logs -f --tail 100 converters-api-prod
docker logs -f --tail 100 converters-api-dev
# 2. Check Mosquitto MQTT TLS connections & ACL rejections (DEV)
docker logs -f --tail 100 mosquitto-dev
# 3. Check Edge Function telemetry ingestion & rollups
docker logs -f --tail 100 supabase-edge-runtime-prod | grep -i telemetry

Looking for the hardware qualification tests (T00โ€“T07) and historical bench test logs? See Hardware QA Archive under Reference & Archives.