CAN trace on its own debug tab (/trace.html), off the CAN analyzer: records between Start and Stop only (polled every 0.5 s, the server keeps the last 5000 frames, lost ones counted, stops at 20000), the newest on top; sorted by any column, filtered by text (a, b = either), frame type, interface, node and only changes; Δ per ID; 1000 rows drawn, the filter and sort over all; export as candump .log (can-utils, SavvyCAN, python-can) or the shown rows decoded as CSV; SDO objects named by esphome-canopen's EDS (public/can/esphome.eds, from can2mqtt) and its entity objects

This commit is contained in:
randy committed 2026-12-02 19:05:07 +01:00
1 parent b1a5d47859
commit 712c6bf7ad
9 files changed
+498 -125

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
<%# The debug pages' switcher, on top of each (status, CAN, GNSS simulation). %>
<%# The debug pages' switcher, on top of each (status, CAN, CAN trace, GNSS simulation). %>
<style>
.debug-nav { display: flex; flex-wrap: wrap; gap: 4px; margin: -16px -16px 12px; padding: 6px 12px; border-bottom: 1px solid color-mix(in srgb, CanvasText 15%, transparent); font-size: 0.9rem; }
.debug-nav a { padding: 6px 12px; border-radius: 6px; color: inherit; text-decoration: none; }
@@ -7,7 +7,7 @@
.debug-nav .map { margin-left: auto; }
</style>
<nav class="debug-nav">
<% [["/status.html", "Server status"], ["/can.html", "CAN analyzer"], ["/sim.html", "GNSS simulation"]].each do |href, label| %>
<% [["/status.html", "Server status"], ["/can.html", "CAN analyzer"], ["/trace.html", "CAN trace"], ["/sim.html", "GNSS simulation"]].each do |href, label| %>
<a href="<%= href %>"<%= ' aria-current="page"' if request.path == href %>><%= label %></a>
<% end %>
<a class="map" href="/" target="maptool">The map ↗</a>