ADS-B Receiver Project Setup Scripts

Missing temperature graph seems to be a result of issue 425 code being added to the master code.

In bash/portal/graphs.sh at line 203:

if [[ “${HARDWARE_PLATFORM}” = “RPI” ]] ; then

In bash/portal/graphs.sh at line 225:
elif [[ “${HARDWARE_PLATFORM}” = “CHIP” ]] ; then

That logic works fine if you have a RPi or a CHIP, but for everything else it just gets omitted.

Better logic would be to have the CHIP option first and then let the “elif” fall through to the default value without any testing of which system is being used.

Added the following to /etc/collectd/collectd.conf

First search for “# Configure the dump1090 python module” and insert the code above the text box.

<Plugin table>
	<Table "/sys/class/thermal/thermal_zone0/temp">
		Instance localhost
		Separator " "
		<Result>
			Type gauge
			InstancePrefix "cpu_temp"
			ValuesFrom 0
		</Result>
	</Table>
</Plugin>

On the OrangePi, temperature read out is wrong even after applying the known correction but I do have a graph so that is progress.
Edit: Found correction was not required when using Armbian 5.65 Debian so temperature now reading correctly.

1 Like