Parse additional info from Raspberry Pi devices

I have read the check function, I see that the intention is to get a single service, it would be necessary to modify the function again since the way I have commented it would generate 3 services, one for each information.

The simplest way to do this is to generate a local check and distribute it in the folder of each raspberry. The script would be as simple as

#!/bin/bash

MODEL=$(cat /proc/device-tree/model)
OS_VERSION=$(lsb_release -d | awk -F'\t' '{print $2}')
KERNEL_VERSION=$(uname -r)

echo “0 \"Raspberry Info\" - Model: $MODEL, OS: $OS_VERSION, Kernel: $KERNEL_VERSION”

As soon as I have some time, I’ll keep checking. at first I see that the discovery and register functions are missing.
However, depending on how the path goes, the check function you have would not be useful either.

I will check it later as soon as I have some time and I will pass it to you without any problem.

1 Like