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
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?
Where I start depends on where you are starting from - and where you want to get to.
Do you know how to use nano to edit files, how to check the execute permissions on files, how to configure /data/rc.local to replace files when new versions of software are installed, do you understand python, how to create and check a soft directory link. etc. etc ? It is quite possible you do, and in which case my description can be simple, but if not then there is more learning/teaching to be done.
I suggest you have a look at my post about getting an i2c dbus service running, I just about have that working now. The script you need dummy_vedbus.py is linked to from that post you then need to:
As to where it might get to... even if the values are on the d-bus. They won’t be visible on the screen of the Venus console or on the VRM so what will you do with the values when they are available from d-bus?
17 People are following this question.
Automatic Data Logging SmartSolar MPPT 75/15
Is it possible to load Data to VRM - for example power consumed by car?
Missing data in API and VRM portal export
no solar history in VRM - actual mqtt-pv-inverter data is shown
Any thoughts on creating a new HTML "Remote console" using Canvas & Javascript (via Modbus)?