[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Garmin 18X-5Hz
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-users] Garmin 18X-5Hz |
Date: |
Wed, 17 Aug 2016 16:59:36 -0700 |
Yo Bryan!
Do you know where the sensor is physically located?
On Thu, 18 Aug 2016 11:36:28 +1200
Bryan Christianson <address@hidden> wrote:
> > On 18/08/2016, at 11:27 AM, Gary E. Miller <address@hidden> wrote:
> >
> >>
> >
> > It is room temp, no way to get CPU temp on a RasPi. I could on an
> > Intel, but I do not see this on an Intel.
> >
>
> I measure temperature on a pi with this script that produces mrtg data
>
> #!/bin/bash
> cpuTemp0=$(cat /sys/class/thermal/thermal_zone0/temp)
> cpuTemp1=$(($cpuTemp0/1000))
> cpuTemp2=$(($cpuTemp0/100))
> cpuTempM=$(($cpuTemp2 % $cpuTemp1))
>
> CPU="$cpuTemp1"."$cpuTempM"
> GPU=$(/opt/vc/bin/vcgencmd measure_temp|awk -F '=' '{print $2}' | awk
> -F "\'" '{print $1}')
>
> echo $CPU
> echo $GPU
> echo $(/home/mrtg/bin/up -t)
> echo $(hostname)
>
> —
> Bryan Christianson
> address@hidden
>
>
>
>
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
pgptS9tIcWrh7.pgp
Description: OpenPGP digital signature
- Re: [gpsd-users] Garmin 18X-5Hz, (continued)
- Re: [gpsd-users] Garmin 18X-5Hz, Gary E. Miller, 2016/08/15
- Re: [gpsd-users] Garmin 18X-5Hz, Miroslav Lichvar, 2016/08/16
- Re: [gpsd-users] Garmin 18X-5Hz, Gary E. Miller, 2016/08/16
- Re: [gpsd-users] Garmin 18X-5Hz, Robin Schwab, 2016/08/16
- Re: [gpsd-users] Garmin 18X-5Hz, Gary E. Miller, 2016/08/16
- Re: [gpsd-users] Garmin 18X-5Hz, Miroslav Lichvar, 2016/08/17
- Re: [gpsd-users] Garmin 18X-5Hz, Gary E. Miller, 2016/08/17
- Re: [gpsd-users] Garmin 18X-5Hz, Bryan Christianson, 2016/08/17
- Re: [gpsd-users] Garmin 18X-5Hz,
Gary E. Miller <=
- Re: [gpsd-users] Garmin 18X-5Hz, Frank Nicholas, 2016/08/17
- Re: [gpsd-users] Garmin 18X-5Hz, Gary E. Miller, 2016/08/17
- [gpsd-users] RPi Temperature measurement - was Re: Garmin 18X-5Hz, Bryan Christianson, 2016/08/17
- Re: [gpsd-users] RPi Temperature measurement - was Re: Garmin 18X-5Hz, David J Taylor, 2016/08/18
- Re: [gpsd-users] RPi Temperature measurement - was Re: Garmin 18X-5Hz, Gary E. Miller, 2016/08/18
- Re: [gpsd-users] RPi Temperature measurement - was Re: Garmin 18X-5Hz, Frank Nicholas, 2016/08/18
- Re: [gpsd-users] RPi Temperature measurement - was Re: Garmin 18X-5Hz, George Sexton, 2016/08/18
- Re: [gpsd-users] RPi Temperature measurement - was Re: Garmin 18X-5Hz, Gary E. Miller, 2016/08/18
- Re: [gpsd-users] Garmin 18X-5Hz, Robin Schwab, 2016/08/11
- Re: [gpsd-users] Garmin 18X-5Hz, Gary E. Miller, 2016/08/11