Go to advanced search

by sebastiancusis1
Thu Dec 21, 2017 1:57 am
Forum: Beginners
Topic: DHT22 Average Readings!!
Replies: 0
Views: 226

DHT22 Average Readings!!

Hello guys !! maybe this is easy for you, but i dont quite get an answer on the web. i have the dht22 sensor and it works fine with the adafruit modul. so iget the temp and humidity. but now i want to get the avarage of the readings.. that means , e.g. i get 5 readings and then i want the average of...
by sebastiancusis1
Sun Dec 17, 2017 11:53 pm
Forum: Beginners
Topic: local web server for everyone!
Replies: 1
Views: 352

local web server for everyone!

Hello guys, i have a mini weather station with some sensors and i would like to upload the data to a web server. Now, ive seen some example like Weather underground, or thingspeak.. but i would like to create my own server. Ive read abot Apache php mysql(for the database) and i get it. If i create a...
by sebastiancusis1
Thu Dec 07, 2017 6:24 pm
Forum: Beginners
Topic: dht22 email python
Replies: 4
Views: 1038

Re: dht22 email python

because in the first sample i just copy paste the code. But i want to import the function of the code (read the temperature)use that into the email code. so: ... import dht22temp temperature = dht22temp.temperature #So i assume with this i get the temperature readings while True: if temperature < 22...
by sebastiancusis1
Thu Dec 07, 2017 5:51 pm
Forum: Beginners
Topic: dht22 email python
Replies: 4
Views: 1038

Re: dht22 email python

yes!! it only shows me the temp annd humidity like with the "dht22temp.py" code... but it doesnt run the rest (email part). how could i fix it? :)
by sebastiancusis1
Wed Dec 06, 2017 7:40 pm
Forum: Beginners
Topic: dht22 email python
Replies: 4
Views: 1038

dht22 email python

hi everyone! this is my first post so be gentle pls :) i have an issue with 2 skripts. im trying to send temperature readings (dht22 sensor) via email using python. 1 code: import smtplib import Adafruit_DHT while True: sensor = Adafruit_DHT.DHT22 pin = 18 humidity, temperature = Adafruit_DHT.read_r...

Go to advanced search