MyController agent for Raspberry PI
-
@naguraob Do not comment
mcac.node.name.gpio=rpi-gpio
onmcagent.properties
. Just delete or disable[enabled: false
]gpio_devices
devices ondevices.yaml
.In devices.yaml file is it possible for me to change the ids i.e. can id: cpu_temperature be changed to id: CPU_TEMP?
Yes you can change to any name.
Do restart mcagent when you change anything on
mcagent.properties
or ondevices.yaml
-
-
Appologies for the delay......Took some time, but mcagent is installed on my OPI-0,
setup with the manual you provided, works.I can see 4 sensors, however it seems that:
- cpu voltage is not updated.
- the CPU temp is shown as 0.049c instead of 49c
rest is perfect!.
When you mention "hot" on the orangepi, what kind of values do you see?
I have got 2 OPI-zero boards, one that shows me approx 36 degrees, and one that shows 49 degrees, with the same SD card.... but... both are the same temp, it seems that there are allwinner chips or opi-zero boards(rev 1.4) that have a temp measuring error. At this moment installing mcagent does not increase the cputemp as far as i can see...This is how i keep my system "cool"
- OPI-0 has a heatsink installed (no fan required)
- The cpu frequency to 912mhz max, this setting also limits the voltage used.
h3consumption -m 912mhz
- cpufequency govenor = interactive
check with:
cpufreq-info
Which image do you use (in my opinion armbian jesse is still the best..)
and what is "hot" can you keep your finger on the cpu for a minute? -
@tag Thank you for the feedback.
the CPU temp is shown as 0.049c instead of 49c
I have filed an issue with pi4j. Seems it's fixed. Let me check with recent version and update.
https://github.com/Pi4J/pi4j/issues/356Which image do you use (in my opinion armbian jesse is still the best..)
Yes, I too use armbian. Which is super cool image for Orange PI
and what is "hot" can you keep your finger on the cpu for a minute?
Sure, Will update you