Edited by bronco at 2015-12-23 23:09
UPDATE: A newer version that is easier to install can be found in this thread (the following might be worth a read though)
Hi,
I'm still waiting for 2 Orange Pi PC to arrive but prepared already a template for RPi-Monitor to get a clue what's going on. The get an idea what RPi-Monitor can do for you have a look at this A20 adoption (works on Orange Pi and Orange Pi Mini):
http://forum.armbian.com/index.p ... ts-for-rpi-monitor/
With the H3 there's no need to run temperature daemons so it's just template stuff. Here's a
draft template for H3 suitable to record and display the following:
- # Information Status Statistics
- # - cpu frequency - yes - yes
- # - cpu load 1, 5, 15 - yes - yes
- # - cpu scaling governor - yes - no
- # - cpus available - yes - yes
- # - dram frequency - yes - yes
- # - zone0 temperature - yes - yes
- # - zone1 temperature - yes - yes
Installation (for experienced users!) is easy and takes just a couple of minutes:
1) Follow the
simple instructions to install RPi-Monitor
2) Stop rpimonitor: "systemctl stop rpimonitor" ("service stop rpimonitor" prior to Jessie)
3) Save
the draft template as /etc/rpimonitor/template/Allwinner_H3.conf
4) Create /etc/rpimonitor/template/OrangePi_H3.conf with the following contents
- web.page.icon='img/logo.png'
- web.page.menutitle='OPi-Monitor <sub>('+data.hostname+')</sub>'
- web.page.pagetitle='OPi-Monitor ('+data.hostname+')'
- web.status.1.name=Orange Pi
- web.statistics.1.name=Orange Pi
- include=/etc/rpimonitor/template/version.conf
- include=/etc/rpimonitor/template/uptime.conf
- include=/etc/rpimonitor/template/Allwinner_H3.conf
- include=/etc/rpimonitor/template/memory.conf
- #include=/etc/rpimonitor/template/swap.conf
- include=/etc/rpimonitor/template/sdcard.conf
- include=/etc/rpimonitor/template/network.conf
5) Relink data.conf:
- ln -sf /etc/rpimonitor/template/OrangePi_H3.conf /etc/rpimonitor/data.conf
6) Start rpimonitor: "systemctl start rpimonitor" ("service start rpimonitor" prior to Jessie)
You can then connect with any modern browser to port 8888 of your OPi (cookies needed).
Caveats: I have no idea whether the template I hacked together works, which data sources thermal_zone0 and thermal_zone1 use and also no idea whether the check for active CPU cores works. Therefore this is currently something for more experienced users willing to fix stuff on their own.
EDIT: Template works, thermal values do now work, check for active CPU cores also works. Simply try it out using "echo 0 >/sys/devices/system/cpu/cpu3/online" (1 to re-enable).
In case you use Arch Linux a different RegEx to read-out available Memory is needed -- see below. Feedback regarding the template welcome.