Wpisy

Home Assistant OS version 6 includes a new daemon created by Go called the OS Agent. This gives supervisors access to more aspects of the operating system. One such aspect is moving the data to an external data drive or wiping the data and starting over without reinstalling. However, at this point, it’s important to remember that the logic required by the supervisor and front end is still under development.

Under the hood, the OS was updated to the latest upstream Linux 5.10 kernel as well as Buildroot 2021.02.1. The latest Buildroot release brings tons of new software versions along with bug and security fixes. Some key components which received an update were systemd 247 and the Docker Container Engine 20.10.6.

Source: https://www.home-assistant.io/blog/2021/06/11/home-assistant-os-release-6/

Open virtualization appliance & Google Coral support

The virtual disk images are now built from a sparse file as source, which leads to smaller effective disk image sizes. Disk images are now also distributed in the more common zip file format (except the qcow2 images which are mostly used on Linux, they continue to be in the xz compression format).

By default, the image now has a serial console enabled which is useful to access Home Assistant OS on headless host systems.

@ryddler enabled the driver for Google Coral PCIe TPU devices. This allows to use Google Coral Mini PCIe Accelerator or M.2 Accelerator on all boards supporting PCIe.

Raspberry Pi Compute Module 4 Cluster for Smart Home

ClusBerry device for Smart Home and developers

A new addition to TECHBASE’s Industrial IoT Ecosystem is a variation of recent cluster device, ClusBerry based on multiple Raspberry Pi Compute Module 4 and custom cluster board allowing free configuration from two up to eight modules. Each module can perform various tasks, from standard I/O gateway, wireless modem, Gigabit LAN router to NAS file server and AI Gateway with up to 4 Google Coral Edge TPU modules.

You can manage your cluster modules at ease, boot modules from one to another, upgrade firmware crosswise and provide safe operation of each module. The modules are connected to internal Ethernet Switch and USB OTG to provide such feature and allow quick heal of the cluster.

For home applications and with the nod to software developers, we released ClusBerry device in less industrial casing, to be used in the comfort of own house – on your desk next to PC or wall-mounted in any convenient place. ClusBerry for Home is fully modular as it’s industrial version and offers the same performance and options.

More information here: https://clusberry.techbase.eu/

New features of multiple Compute Modules 4 brought to new ClusBerry series

Accompanying the release of ModBerry 500-CM4 and AI GATEWAY 9500-CM4, we present to you a cluster version of the device, called ClusBerry 9500-CM4. Main difference between standard Gateway and ClusBerry is the possibility to include multiple Compute Module 4 in one device, as well as the intended suitable amount of wired and wireless interfaces, suited for the project.

Fully configurable devices are something desirable in the IoT market, where high performance and low cost is a key factor to success of implementation. TECHBASE’s Industrial IoT Ecosystem gives the opportunity to adjust ordered devices with certain resources and cut unnecessary I/Os, lowering the total cost of the device. 

Reason for use of Raspberry Pi CM4 cluster in ClusBerry 9500-CM4

Various implementations must have guaranteed high hardware performance to react fast enough in real time. For this purpose, the arrays of processor blocks are constructed to be assigned to individual tasks. For several years now, attempts have been made to use various types of SBC for this purpose, including, of course, Raspberry Pi. However, the practical effectiveness of such solutions so far has not been of interest for several reasons. First of all, these solutions were most often associated with many mechanical limitations and the structure of the matrix itself required excessive wiring, preventing failure-free operation and the cost of the entire maintenance of the structure.

Raspberry Pi Compute Module 4 Cluster

This is where Raspberry Pi Compute Module can shine, but due to the hardware speed limitations of the buses in this module, it was not completely effective and was rather a development platform. Altho the introduction of new Compute Module 4 has opened the possibility to construct and maintain effective hardware matrix solutions with the use of both PCI-Express buses and 1GBps Ethernet. Therefore, the ClusBerry 9500-CM4 opens up completely new capabilities of utilizing cluster solutions for Industrial Automation and server applications.

Wide range of ClusBerry modules

ClusBerry 9500-CM4 supports up to 8 cluster modules and comes with a variety of interchangeable modules to choose from, including:

  • Standard 9500-CM4 cluster module with Compute Module 4 and chosen configuration:
    • I/O Controller with range of DI, DO, AI, 1-Wire, RS-232/485 and CAN interfaces
    • Communication Gateway with wired (1/2x Ethernet, Serial Ports) and wireless interfaces (LTE-cat.M1, 4G, 5G, LoRa, ZigBee, Z-Wave, Wireless M-Bus)
    • AI Gateway with 1x Coral Edge TPU via PCIe M.2, introduced in December 2020: https://iiot-shop.com/product/ai-gateway/ or up to 4x Coral Edge TPU via USB3.0
  • NAS File Server with 2x SSD SATA III and RAID support, managed with Nextcloud or ownCloud software
  • USB3.0 Hub for 5G communication, Modems, AI Cluster and peripherals
  • Gigabit LAN/WAN Router with additional 2.5GbE network card as an independent switch/router shielded from the mainboard cluster network
  • SuperCap / Power management module for backup power supply (supercapacitors / Li-Ion battery) and sleep mode management aided with ESP32-module
  • Additional expansion cards, with resources suited for the installation (DIO, AIO, Serial Ports and dedicated sensor cards, detailed below)
Raspberry Pi Compute Module 4 Cluster

ClusBerry 9500-CM4 with available expansion cards 

ClusBerry 9500-CM4 can be equipped with multiple expansion cards, e.g. serial RS-232/485 ports, range of digital and analog I/Os, USB, HDMI and Ethernet. Interfaces can be expanded with additional I/Os and opto-isolation, relays, Ethernet, 1-Wire, CAN, M-Bus Master and Slave, accelerometer and many more features like TPM Security Chip & eSIM. The device can also be equipped with additional SuperCap backup power source for continuous work and safe boot/shutdown in case of emergency.

ClusBerry 9500-CM4 series also offers a standard PCI module support for various wireless communication protocols, such as:

  • GSM modem (4G/LTE and fast 5G modem)
  • economic NarrowBand-IoT technology
  • LoRa, ZigBee, Z-Wave, Sigfox, Wireless M-Bus
  • secondary Wi-Fi/Bluetooth interface or Wi-Fi Hi-Power
  • custom wireless interfaces
Raspberry Pi Compute Module 4 Cluster for Smart Home

Software cluster management with Docker and K3s Lightweight Kubernetes

With use of Docker-based and Kubernetes solutions, installation and management of ClusBerry 9500-CM4 is easy and backed with a large community for further support and development. Kubernetes is a portable, extensible open-source software platform for managing containerized tasks and sites that enables declarative configuration and automation. The Kubernetes ecosystem is large and dynamically developing. Kubernetes services, support and tools are widely available.

Kubernetes provides:

  • Detection of new services and traffic. Kubernetes can balance the load and redirect the network traffic to ensure the stability of the entire installation.
  • Kubernetes data storage management enables you to automatically mount any type of storage system – on-premises, from cloud providers and others.
  • Automatic deployment and rollback. You can describe the expected state of your installation with Kubernetes, which will take care of bringing the actual state to the expected state in a controlled manner. For example, with Kubernetes, you can manage your cluster modules at ease, boot modules from one to another, upgrade firmware crosswise and provide safe operation of each module
  • Automatic management of available resources. ClusBerry 9500-CM4 provides a cluster of modules that Kubernetes can use to run tasks in containers. You determine the CPU power and RAM requirements for each container. Kubernetes arranges containers on machines in such a way as to make the best use of provided resources.
  • Self-healing Kubernetes reboots containers that have stopped working, replaces them with new ones, forces disabling containers that are not responding to certain status queries, and does not announce their availability until they are ready to run.
  • Managing confidential information and Kubernetes configuration with TPM Security Chip allows you to store and manage confidential information such as passwords, OAuth tokens and SSH keys. Secured data and configuration information can be provided and changed without having to rebuild the container image and without exposing sensitive data in the overall software configuration.
Raspberry Pi Compute Module 4 Cluster for Smart Home

ClusBerry 9500-CM4 availability

First prototypes are being developed, since Compute Module 4 is already available for the purchase. Delivery time for various configurations of ClusBerry will be approximately 2 months, depending on the CM4 supply on the market and chosen expansion cards. For more information contact TECHBASE’s Sales Department via email or Live Chat here or visit product website: https://clusberry.techbase.eu.

In recent interview with Eben Upton, the CEO of Raspberry Pi Trading, we finally had Raspberry Pi Compute Module 4 release confirmation, probably in 2021. He shared some details about the upcoming CM4 features, such as single-lane NVMe support.

The Raspberry Pi Compute Module, CM4, we will support NVMe to some degree on that,  because of course, it [Raspberry Pi 4] has a PCI Express channel. (…) We have a single lane Gen 2 which is used to supply USB 3.0 on the Raspberry Pi [4]. On the [Compute] Module that would be exposed to the edge connector and we’re likely to support NVMe over that.

Eben Upton, CEO of Raspberry Pi Trading

First Rasbperry Pi 1B model had it’s analogy in industrial Compute Module 1 after almost 2 years from it’s premiere. Compute Module 2 was probably omitted because the change from RPi1 to RPI2 mainly involved a minor change of the processor (Cortex-A7 900MHz), which was almost immediately replaced with Cortex-A53 1.2GHz in Raspberry Pi 3.

The premiere of Compute Module 3 occured a year after RPI 3 announcement, providing a significant boost of industrial market solutions. Since Raspberry Pi 4 was a great success in 2019, we might see it’s equivalent in industrial series of Raspberry Pi – Compute Module 4. A possible release date of Raspberry Pi’s Compute Module 4 is somewhere inbetween 2020/2021.

Raspberry Pi is gaining recognition in Industry

Almost a year ago, in the beginning of 2019, Raspberry Pi Foundation presented Raspberry Pi Compute Module 3+, a successor to previous CM3 version of development board, aimed at businesses and industrial users. The Compute Module uses a standard DDR2 SODIMM (small outline dual in-line memory module) form factor. GPIO and other I/O functions are routed through the 200 pins on the board.

Only a few months later, in June 2019, came big premiere of Raspberry Pi 4 Model B, the long-awaited successor of customer RPi3+. With new processor, larger RAM options and PCIe/NVMe support, CM4 might be a black horse of industrial automation in 2021.

It seems a matter of time before the Raspberry Pi Compute Module 3+ will get its own successor, called Compute Module 4, a new milestone of professional embedded IoT module. What might be the specification of this highly expected development board?

Raspberry Pi Compute Module 3+
Raspberry Pi Compute Module 3+

Raspberry Pi Compute Module 4 probable specification

Compute Module 4 specifications probably will look like these:

  • Broadcom BCM2711, Quad core Cortex-A72 @ 1.5GHz will highly plausible replace previous Broadcom BCM2837B0, Cortex-A53 64-bit SoC @ 1.2GHz,
  • 1GB, 2GB or 4GB LPDDR4-3200 SDRAM will become a standard options, instead of fixed 1GB LPDDR2 SDRAM,
  • PCIe/NVMe support via single lane
  • Current flash memory (eMMC) options: 8GB / 16GB / 32GB from CM3+ will probably stay the same,
  • weight and factor will stay the same, to provide a possibility to upgrade current IoT applications of CM3 and CM3+

With much higher performance, the new Raspberry Pi Compute Module 4 will, for sure, support Gigabit Ethernet, USB 3.0 expansions with PCIe/NVMe single lane. We might even see wider working temperature range, if Raspberry Pi Foundation decides to make some hardware changes, to follow, for example, ESP32 – used in end-point IoT automation.

Industrial use of Compute Module

With Compute Module 3+ options from Raspberry Pi, TECHBASE upgraded their ModBerry 500/9500 industrial computers. From now on the ModBerry 500/9500 can be supported with extended eMMC, up to 32GB. Higher memory volume brings new features available for ModBerry series. Upcoming Raspberry Pi’s Compute Module 4 will be fully compatible with TECHBASE’s ModBerry 500/9500 controllers, oferring extended features.

 ModBerry 500 with Compute Module 3+
ModBerry 500 with Compute Module 3+

Higher performance of ModBerry 500/9500 with extended eMMC flash memory, up to 32GB , powered by quad-core Cortex A53 processor allows the device to smoothly run Windows 10 IoT Core system, opening up many possibilities for data management, remote control and visualisation.