Hello
i am running the Victron on a RaspberryPI
two questions:
-Is there a command to see the temperature of the RaspberryPi board
-Is there a command to see the voltage and Amp that feed the RaspberryPi board
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Knowing about Raspberry pi's, getting the Power supply voltage seems to be a little difficult.
However getting the CPU temperature is fairly straightforward:
#cat /sys/class/thermal/thermal_zone0/temp
returns the temperature in deg C x 100 so a script to sort out the maths would be:
#!/bin/bash temp=$(</sys/class/thermal/thermal_zone0/temp) echo "CPU => $((temp/1000))'C"
So relatively easy to add this to a d-bus service to make it available on the bus.
hello
i am new to this.. Could you tell me how to add it to the d-bus?
17 People are following this question.