From machine to dashboard: turning CAN bus and machine data into something your business can act on
Your machines are already talking — nobody’s listening. The control unit in a vehicle constantly sends data over the CAN bus. The sensor on a piece of equipment reports values to the controller over Modbus. Somewhere a status light blinks that only the machine itself understands. All of that data already exists — it’s just never collected, stored or analyzed. Until something breaks, and the first question is: “Couldn’t we have seen that coming?”
That’s what actually brings businesses to this topic — not a desire for “IoT” as an end in itself, but a specific question: how do we analyze machine data, how do we get a dashboard for our vehicle fleet, how do we get sensor data into the cloud so someone gets an alert before a machine stops, not after.
This is a technical guide to the integration scope we can deliver, not a report about a live customer CAN-bus deployment. The key boundary up front: we don’t bind to the CAN bus ourselves. Bus access comes from a library on the device. We integrate that library, send the data over MQTT or WebSocket, and build everything that comes after.
What’s already inside your machines
Most machines, vehicles and equipment already emit data — it’s just proprietary or unused:
- CAN bus is the standard in vehicles and many industrial control units. Engine speed, temperatures, fault codes, operating hours — all of it runs over this bus, and is usually discarded once it leaves the onboard computer.
- Modbus is widespread in industrial automation, often on PLCs or older equipment never designed to connect to the cloud.
- MQTT is the de facto standard for modern IoT devices, and is well suited to transmitting data reliably over unreliable networks.
Reading the bus is the job of a library on the device. It typically comes from the maker of the control unit or gateway and already translates signals into readable values. The challenge in a project is usually everything after that: structuring the data sensibly, transmitting it reliably, storing it, and turning it into something a person can actually use.
Three layers — and which ones we build
A system like this has three layers with clearly separated responsibilities:
- Bus binding on the device. A library or SDK running on the device that talks to CAN bus or Modbus and exposes readings through a callable interface. We don’t build this layer; it comes from the device or gateway manufacturer or a specialised partner.
- Integration. Our code calls that library and sends the values over MQTT or WebSocket using the appropriate SDKs. This is where data format, send rate and behaviour on connection loss are decided.
- Cloud platform. Storage, linking to master data, dashboards and alerting.
We handle layers 2 and 3. Layer 1 is a prerequisite; we check before the project starts that it’s available for your device.
What belongs on the device — and what belongs in the cloud?
This question determines both reliability and cost.
Close to the device:
- Initial filtering — not every reading needs to reach the cloud, especially high-frequency signals
- Buffering for periods without a network connection
- Critical alerts that must still work in a dead zone
Local alerts that have to work without a connection are triggered by the device or gateway itself. Our integration can filter readings and buffer them until the connection returns.
In the cloud:
- Central storage across all vehicles, machines or sites
- Linking telemetry to master data (which machine, which site, which job)
- Dashboards, trends, and alerting over longer time periods
- Analysis that combines data from multiple devices — an entire vehicle fleet, for example
The rule of thumb: anything that has to work in real time or during a network outage belongs as close to the machine as possible. Anything that needs an overview, history or comparison across devices belongs in the cloud.
Common pitfalls
No device library. Without a library that reads the bus and translates the signals, the foundation is missing. For third-party hardware it isn’t always available. We clarify this before the project starts; building the bus binding or reconstructing signal definitions is outside our scope.
Buffering when the connection drops. A vehicle in a dead zone or equipment with an unstable network connection must not lose data. Without well-designed buffering and resending on reconnect, you end up with gaps in your history — exactly when you need it most, during the incident itself.
Clock drift. Many devices have no precise real-time clock. Over weeks, the internal clock drifts, and timestamps from different devices stop lining up. If you want to correlate events across multiple machines — weighing data with a vehicle’s location, for example — clock synchronization has to be considered from day one.
Data volume. A CAN bus can produce hundreds of messages per second. Send all of it to the cloud unfiltered and you quickly rack up unnecessary storage and transfer costs. The real skill is deciding early what actually matters, instead of “just upload everything.”
How we make the integration reliable
Because we don’t work below the device library, we test exactly at that boundary: in tests we replace the library with a mock that delivers realistic values, dropouts and faulty readings. That lets us verify that the integration transmits data correctly, buffers and resends cleanly on connection loss, and handles unexpected values — whether or not real hardware is attached.
For the cloud side, we use a streaming pipeline we already run for our own platforms: Kafka ingests incoming events reliably, even under load spikes, Cassandra/ScyllaDB stores them at scale for later analysis, and dashboards and alerting build on top of that. This pipeline already handles millions of records a day for us, and the same architecture can be applied to machine and vehicle data.
Our adjacent experience includes a test-automation suite for a leading automotive manufacturer’s infotainment systems, with image processing and analysis across multiple vehicle models. We deliberately don’t present it as a CAN-bus telemetry project — it shows what we work with, not a reference installation.
What we do — and what we don’t
We handle the integration over MQTT or WebSocket using the appropriate SDKs, integrate the device library, secure that boundary with tests against a mock, and build the cloud platform with dashboards and alerts. The bus binding itself, drivers, firmware and reconstructing signal definitions are outside our scope. That layer has to exist as a library on the device, from the manufacturer or a specialised partner.
FAQ
Do you access the CAN bus yourselves? No. Bus access comes from a library on the device. We call that library and send the data on over MQTT or WebSocket.
What if there’s no such library for our device? Then it has to come from the manufacturer or a specialised partner first. We can help define the requirements for that interface, but we don’t build it.
Modbus or MQTT — which is better for our equipment? It depends on the existing hardware. Older PLCs usually speak Modbus, modern devices often speak MQTT natively. As long as a library or gateway on the device provides the values, both can feed into the same cloud pipeline.
What happens if the internet connection at the machine drops? With buffering close to the device, no data is lost — it’s sent once the connection returns. Critical alerts should also be able to trigger locally, independent of the cloud connection.
Is a dashboard worth it for a single vehicle, or only for a whole fleet? Even a single vehicle or piece of equipment already delivers value, especially for alerting. The full benefit — comparisons, trends, patterns — shows up once multiple devices feed the same pipeline.
If you want to work out which of your machine or vehicle data is worth analyzing and whether the required device library exists, a one-hour consultation is the simplest way to start.
Next step: a one-hour consultation for €150
60 minutes with one of our managing directors about your project – our regular hourly rate, credited against a follow-up project. For businesses and founders.