adilosa / weathermon Goto Github PK
View Code? Open in Web Editor NEWRaspberry Pi weather monitor for Ambient Weather F007-TH sensors
Raspberry Pi weather monitor for Ambient Weather F007-TH sensors
This is what I've found from reading through the source:
CREATE TABLE reading (
id INTEGER PRIMARY KEY AUTOINCREMENT,
channel INTEGER,
temperature INTEGER,
humidity INTEGER,
battery INTEGER,
timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE sensor (
id INTEGER PRIMARY KEY,
channel INTEGER,
name TEXT
);
INSERT INTO sensor VALUES (1, 2, "MySensor");
Related: #3
Examples:
sqlite3_open
fails when the folder /var/www/weathermon/
does not existsqlite3_exec
fails when the db is not open or when the table reading
does not exist in the databaseNevermind, just divide by ten to get the correct Fahrenheit value or read the comments of the original "Arduino-F007th-Sketches/Working sketch v3" to understand how to calculate the Celsius value correctly. Thanks :-)
Hi there, I have a Raspberry Pi and a RWS-371 component plugged into UART. So, I think the communication will work. I also installed all the libraries so the python script will run. I'm missing some knowledge about how to compile the C code and how to get the Python to read the actual data. Can you give me some more build steps?
Thanks,
Paul
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.