Archive

2020

Stream IoT data to S3 - the simple way

This article introduces infinimesh as a Kubernetes-native IoT platform built to integrate massive device fleets without cloud lock-in, and highlights its expanding plugin ecosystem for Elastic, Redis TimeSeries, SAP HANA, Snowflake and cloud-native object storage. Using lightweight Go-based Docker containers, plugins can run securely in user environments, even on AWS free-tier instances, while streaming device data directly into existing infrastructures like S3 or MinIO. The step-by-step example shows how quickly CloudConnect can move IoT data into object storage using docker-compose, with the plugin internally batching device payloads through Redis before exporting them as CSV. In benchmarking, the architecture handled millions of devices sending frequent JSON updates, demonstrating how infinimesh plugins simplify large-scale IoT data integration with minimal resource overhead. First, a short introduction to infinimesh , an Internet of Things (IoT) platform which runs completely in K...

Embedded Linux won't reboot, how to force it and repair the file system

When a Raspberry Pi or Yocto based device will not reboot and prints "Failed to open /dev/initctl", systemctl cannot reach systemd anymore. You can still force the reboot with systemctl reboot --force, or --force twice as a last resort, but the second one skips unmounting and often leaves a damaged file system. This post shows how to force the reboot, how to make sure the file system gets checked on the next boot with fsck.mode=force, and how to cut SD card writes so it does not happen again. I have a lot of embedded systems running in my product testing lab or at home, all of them either as Raspberries or self-made PCB with Yocto. Sometimes I can't reboot some systems, I think its the journald which causes some issues with SD cards, the error message usually is: Failed to open /dev/initctl Anyhow, if you have this issue - a reboot can be force-forced: systemctl --force --force reboot Since a forced reboot does not sync the journal, the system typically comes up with ...