Change sensor sample interval

34 views
Skip to first unread message

Wheels

unread,
May 25, 2020, 9:49:35 AM5/25/20
to PrivateEyePi
I recently had to rebuild from scratch due to failed mem card on my Pi3. When I run dallas.py my command that I have used in the past,  TemperaturePollInterval = 1600 no longer seems to work. Has this been replaced? As I have 10 sensors I will quickly hit my daily allotment of server use. Any assistance is appreciated.
Message has been deleted

Wheels

unread,
May 27, 2020, 10:28:03 AM5/27/20
to PrivateEyePi
SOLVED (probably)

I think I have it but it will take a day to verify.

In dallas.py I changed the line

    if (elapsed_temperature_time > 300):

to

    if (elapsed_temperature_time > 1800):

My needs only call for measurements no more frequently than 30 minutes (1800/60=30)



Reply all
Reply to author
Forward
0 new messages