jervine / rpi-temp-humid-monitor Goto Github PK
View Code? Open in Web Editor NEWRaspberry Pi temperature humidity monitor
License: GNU General Public License v2.0
Raspberry Pi temperature humidity monitor
License: GNU General Public License v2.0
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?
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?
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!
Hi,
is it possible to get a template for the th.conf?
Somehow i guessed the syntax wrong. ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.