Feature Request: SD Card Store-and-Forward for HTTPS POST / MQTT Destinations #661
homelabforge
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
When using WiCAN PRO with HTTPS POST (or MQTT) to push autopid telemetry to a self-hosted server, there's a complete data gap whenever the device loses WiFi connectivity — which happens every time the car leaves the home network.
For users running fleet telemetry, trip logging, or driving session analytics, this means the only data captured is the brief window at start and end of each trip when you're within WiFi range. The entire drive is missing.
Current State
The hardware for solving this already exists on WiCAN PRO:
SD card logging via SQLite is partially implemented, and I saw discussion about evaluating FlashDB as an alternative due to SQLite's 50-record query cap on ESP32.
Issue #486 requested store-and-forward for Home Assistant and was closed as completed, but the actual replay-on-reconnect behavior doesn't appear to have shipped.
Proposed Feature: Store-and-Forward
When WiFi is unavailable, WiCAN PRO should:
timestampfield already exists in the HTTPS POST JSON schema)Why This Matters
The HTTPS POST feature made WiCAN PRO a legitimate telemetry device for self-hosted applications — not just a Home Assistant accessory. But without store-and-forward, it's only useful for stationary/garage monitoring, not actual driving telemetry. The hardware already has everything needed (SD + RTC), it just needs the firmware to tie them together.
Suggested Payload for Replayed Data
The current HTTPS POST payload structure already works — just populate the
timestampfield that's already in the schema:{ "autopid_data": { "0C-EngineRPM": 2150, "0D-VehicleSpeed": 65, "05-EngineCoolantTemp": 88 }, "timestamp": "2026-02-07T14:23:45Z" }Receiving servers can use the timestamp to place data correctly in the timeline rather than using arrival time.
Additional Considerations
"buffered": true) so servers can handle replayed data differently if neededcan/statuson reconnect so the receiving server knows the session was continuous, not two separate startsMy Setup
timestampfield for exactly this use caseThanks for the excellent work on the HTTPS POST feature — it's exactly what the self-hosted community needs. Store-and-forward would make WiCAN PRO the definitive OBD2 telemetry device.
Beta Was this translation helpful? Give feedback.
All reactions