Hello!
For some time now I'm looking for code to read 6-8 DS18B20 sensors and one or two DHT22 sensors to read temperature on web server but i can not find the code.
I want to make the control of central heating.
I have :
you can get the DS18B20 from any of the suppliers, either local, in your country, or from any supplier that ships overseas.
ditto the DHT22.
If I am not mistaken, you do not read the webserver, you use a computer or smart phone and link to the webserver.
also you say both read temperatures and then you also say control. those are like watching TV where you cannot do anything about what is on the screen and driving a car. you are sitting behind a large glass screen in either case. but when driving a car, you get to choose what you seen in from of you.
reading your data is simple. I use an ESP8266 and send to the web.
get graphs on the screen.
if you want to control your data, your smart-phone has to have software and a link back to your device.
for home heating, all you need is two setpoints. or a remove off switch
get the sensors,
make all of that run on your Arduino at home, display on your LCD, what you want to see.
once you have that bit running, you can add the link to the net to read the data without much trouble.
I don't have drawing ability on this linux box. but you have
sensor - Arduion = get value
arduion - other device = this can be a web-servier or many other steps inbetween that are confusing to figure out
other devie = addressalbe link on the internt to connect to from anywhere else on the internt
browser = way to read from some remote URL
in teh above 'other device' can be 10 steps or more.
or you can use a free link like dweet.io and send a digital tweet to their 'other device'
then you can use your web browswer and log on to that 'other device' and read what your points are.
there is a way to get that on a graph from the dweet site with a click of a mouse to add even more 'other device'
but, for you to put that onto a web server, you need to learn how to connect things on the web.
if you just want to see your data, dweet.io is simple
tried to use the link function, but it would not work.
wish that sites that sell would use something like tinyurl and post short URL's that one can copy and paste.