You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use quoted labels with br tags instead of backslash-n, remove curly braces from node text, and simplify multi-target edges.
Co-authored-by: Cursor <cursoragent@cursor.com>
Telemetry timestamps come from `CLOCK_REALTIME`. On the driverio Pi, a DS3231 RTC keeps time when the vehicle is offline and seeds the system clock on boot.
152
-
153
-
Timekeeping flow:
154
-
155
-
1.**Boot:** kernel reads `/dev/rtc0` and sets system time.
156
-
2.**Online:**`systemd-timesyncd` syncs system time over NTP (LTE).
157
-
3.**Write-back:** system time is copied to the RTC hourly and on shutdown so the module stays accurate between power cycles.
timedatectl status # expect: System clock synchronized: yes
172
-
sudo hwclock --show --utc # should match date -u within ~1 second
173
-
```
174
-
175
-
If the RTC has never been set (or lost its battery), set system time first, then write it to the hardware clock:
176
-
177
-
```bash
178
-
sudo timedatectl set-time "2026-06-12 14:00:00"
179
-
sudo hwclock --systohc --utc
180
-
```
181
-
182
-
### Internet connectivity (WiFi first, LTE fallback)
183
-
184
-
InfluxDB uploads require internet at boot. The Pi prefers any saved WiFi profile and falls back to the Quectel EG25-G LTE modem when no known network is in range.
Saved WiFi profiles (`nmcli connection show`) are tried automatically. LTE uses APN `fast.t-mobile.com` (Tello/T-Mobile) and can be overridden in `/etc/default/network-connect`.
0 commit comments