DigiTemp and dual counters

31 views
Skip to first unread message

pete c

unread,
Jul 5, 2017, 9:46:17 PM7/5/17
to DigiTemp
Currently running:

DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Compiled for DS9097U

on a RPi2 with Wheezy

uname -a
Linux ICS-ZNet 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux

cat /etc/debian_version
7.11

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Current configuration of Digitemp with temperature and combo sensors:

~# digitemp -a -q -c /etc/digitemp.conf
Jul 04 12:30:39 Sensor 0 C: 23.44 F: 74.19
Jul 04 12:30:40 Sensor 1 C: 22.47 F: 72.44 H: 49%
Jul 04 12:30:40 Sensor 2 C: 22.38 F: 72.28 H: 46%
Jul 04 12:30:41 Sensor 3 C: 22.34 F: 72.22 H: 48%
Jul 04 12:30:42 Sensor 4 C: 22.72 F: 72.89 H: 47%

I would like to add a dual counter to the mix above - specifically the old Hobby boards lightning sensor.

In the Windows world here utilized the old Mitch's (Midon) Temp0X devices xAP for my 1-wire stuff.

Is there a way to reset the 1-wire counters via Digitemp?

Basically looking to do a nightly reset to zero for my lightning sensor counters.

I also have OWFS installed on same RPi2 and will be utilizing both (if possible).

Brian C. Lane

unread,
Jul 6, 2017, 12:45:36 PM7/6/17
to DigiTemp
On Tue, Jul 04, 2017 at 05:35:28AM -0700, pete c wrote:

> Is there a way to reset the 1-wire counters via Digitemp?
>
> Basically looking to do a nightly reset to zero for my lightning sensor
> counters.
>
> I also have OWFS installed on same RPi2 and will be utilizing both (if
> possible).

No, digitemp doesn't have any way to reset the counters. The general
philosophy has always been 'read only'. You can probably use owfs to
reset them.

--
http://www.brianlane.com

pete c

unread,
Jul 22, 2017, 12:09:37 AM7/22/17
to DigiTemp, b...@brianlane.com
Thank you Brian.
Reply all
Reply to author
Forward
0 new messages