Giter VIP home page Giter VIP logo

rpi-temp-humid-monitor's People

Contributors

jervine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rpi-temp-humid-monitor's Issues

Exception detected

I realize this code is fairly old, I've managed to cobble the system together so far between the Instructables article, this code repository and some trial and error. But I'm getting "Warning: Exception detected!" and it fails to retrieve sensor readings with the Python scripts. I have the right configuration in /etc/thMonitor.conf, correct sensor setting and RPI pin number. Any suggestions?

error with SQL

root@minibian:~/new/rpi-temp-humid-monitor/c_code# ./th

File Type: Temperature and Humidity Monitoring Configuration File
th.c rev 1.9 04/06/2015 JDE Sat Aug 20 19:40:08 2016
Cycle time: 60 seconds, 3 retries
Sync to cycletime...
Current Temp: 23.5, Previous Temp: 50.0, Temperature Difference: -26.5C
Column count doesn't match value count at row 1
root@minibian:~/new/rpi-temp-humid-monitor/c_code#

THe sql server is not local but on my NAS. planning to add more sensors, and let them all log into the same SQL (but other table). So later my NAS can render the web page.

But apparently my sql table is not good. can anyone halp?

Bad readings and retry

Is it possible to ignore a specific temp reading if it's wrong?
I use a DHT22 in my office and sometimes there's a bad reading of -0.1.
The script just stops further database writing because of that.

Here' a short snippet of the log file

Damn ... the sensor returned a bad reading!
-Retry--Retry--Retry--Retry--Retry-Current Temp: -0.1, Previous Temp: 25.3, Temperature Difference: -25.4C
Current Temp: 25.2, Previous Temp: -0.1, Temperature Difference: 25.3C
Damn ... the sensor returned a bad reading!
Current Temp: 25.2, Previous Temp: -0.1, Temperature Difference: 25.3C
Damn ... the sensor returned a bad reading!
-Retry-Current Temp: 25.2, Previous Temp: -0.1, Temperature Difference: 25.3C
Damn ... the sensor returned a bad reading!

th.conf

Hi,
is it possible to get a template for the th.conf?
Somehow i guessed the syntax wrong. ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.