UPiS Monitoring

Post here your applications done based on UPiS
Share your ideas about new possible applications

UPiS Monitoring

Postby MiSc » Mon Aug 18, 2014 1:36 am

Hi Folks!

I want to present my solution for monitoring the parameters of the RasPi and the UPiS Module.

I installed the Tool "RPi-Monitor" and added some configuration for the special parameters of the UPiS.

Warning: The RPi-Monitor causes a significant CPU load on my Pi, but i am sure there are some parameters to optimize this.
At the moment i am just very happy about the nice monitoring solution ;)

RPi-Monitor Information: http://rpi-experiences.blogspot.de/p/rpi-monitor.html
RPI-Monitor Installation: http://rpi-experiences.blogspot.fr/2014/03/rpi-monitor-version-26-is-available.html

Below i will show you some screenshots and my additional config file for the UPiS parameters.
You have to create a file "custo.conf" in "/etc/rpimonitord.conf.d/" to use it.

I tested this with UPiS Firmware 1.096 Beta. It will not run with the shipped Firmware Version 1.00!

Have fun!

Michael
Greetings from Germany

Code: Select all

########################################################################
# UPiS
########################################################################

dynamic.20.name=upis_pwr_mode
dynamic.20.source=i2cget -y 1 0x6A 0x00
dynamic.20.regexp=0x(\d+)
dynamic.20.postprocess=$1/1
dynamic.20.rrd=GAUGE

dynamic.21.name=upis_bat_level
dynamic.21.source=i2cget -y 1 0x6A 0x01 w
dynamic.21.regexp=0x(\d+)
dynamic.21.postprocess=$1/100
dynamic.21.rrd=GAUGE

dynamic.22.name=upis_rpi_level
dynamic.22.source=i2cget -y 1 0x6A 0x03 w
dynamic.22.regexp=0x(\d+)
dynamic.22.postprocess=$1/100
dynamic.22.rrd=GAUGE

dynamic.23.name=upis_usb_level
dynamic.23.source=i2cget -y 1 0x6A 0x05 w
dynamic.23.regexp=0x(\d+)
dynamic.23.postprocess=$1/100
dynamic.23.rrd=GAUGE

dynamic.24.name=upis_epr_level
dynamic.24.source=i2cget -y 1 0x6A 0x07 w
dynamic.24.regexp=0x(\d+)
dynamic.24.postprocess=$1/100
dynamic.24.rrd=GAUGE

dynamic.25.name=upis_crn_level
dynamic.25.source=i2cget -y 1 0x6A 0x09 w
dynamic.25.regexp=0x(\d+)
dynamic.25.postprocess=$1/1
dynamic.25.rrd=GAUGE

static.26.name=upis_firmware
static.26.source=i2cget -y 1 0x6B 0x00
static.26.regexp=0x(.*)
static.26.postprocess=hex($1)

web.status.1.content.9.name=UPiS
web.status.1.content.9.icon=cpu.png
web.status.1.content.9.line.1="Firmware Version: <b>"+data.upis_firmware+"</b>"
web.status.1.content.9.line.2="Power Mode: <b>"+data.upis_pwr_mode+"</b>"
web.status.1.content.9.line.3="Bat Level: <b>"+data.upis_bat_level+"</b> Volt"
web.status.1.content.9.line.4="RPi Level: <b>"+data.upis_rpi_level+"</b> Volt"
web.status.1.content.9.line.5="USB Level: <b>"+data.upis_usb_level+"</b> Volt"
web.status.1.content.9.line.6="EPR Level: <b>"+data.upis_epr_level+"</b> Volt"
web.status.1.content.9.line.7="Current: <b>"+data.upis_crn_level+"</b> mA"

web.statistics.1.content.9.name=UPiS Voltages
web.statistics.1.content.9.graph.1=upis_bat_level
web.statistics.1.content.9.ds_graph_options.upis_bat_level.label=Bat Level (Volt)
web.statistics.1.content.9.graph.2=upis_usb_level
web.statistics.1.content.9.ds_graph_options.upis_usb_level.label=USB Level (Volt)
web.statistics.1.content.9.graph.3=upis_rpi_level
web.statistics.1.content.9.ds_graph_options.upis_rpi_level.label=RPi Level (Volt)
web.statistics.1.content.9.graph.4=upis_epr_level
web.statistics.1.content.9.ds_graph_options.upis_epr_level.label=EPR Level (Volt)
web.statistics.1.content.10.name=UPiS Currents
web.statistics.1.content.10.graph.1=upis_crn_level
web.statistics.1.content.10.ds_graph_options.upis_crn_level.label=Current (mA)
web.statistics.1.content.11.name=UPiS Modes
web.statistics.1.content.11.graph.1=upis_pwr_mode
web.statistics.1.content.11.ds_graph_options.upis_pwr_mode.label=Power Mode

Attachments
upis overview.JPG
upis overview.JPG (67.23 KiB) Viewed 2177 times
upis temperature.JPG
upis temperature.JPG (55.09 KiB) Viewed 2177 times
upis current.JPG
upis current.JPG (54.14 KiB) Viewed 2177 times
upis volt.JPG
upis volt.JPG (65.51 KiB) Viewed 2177 times
upis cpu load.JPG
upis cpu load.JPG (63.74 KiB) Viewed 2177 times
MiSc
 
Posts: 1
Joined: Mon Aug 18, 2014 12:56 am

Re: UPiS Monitoring

Postby razzcam » Tue Aug 19, 2014 8:33 am

Cool, thank you. The CPU load concerns me but I will also check this out.
razzcam
 
Posts: 9
Joined: Sat Jun 14, 2014 3:38 pm


Return to UPiS Users Application

Who is online

Users browsing this forum: No registered users and 1 guest

cron