Pages: [1]   Go Down
Author Topic: EtherCard + dht -- fails to combine sensor floats to URL string?  (Read 714 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm attempting to post DHT sensor data that is returned from the Ada-Fruit library as floats to a remote server using a GET request

(hope that isn't too jibberishy to follow)

anyway, I've posted examples of the functions I'm trying to combine not working, and working independently
not exactly sure why things are failing and hoping it's another of these simple ideas that I'm just not seeing from a lack of experience writing code for Arduino

samples are at::
https://gist.github.com/4354349

the header description lost it's formatting -- easier to read version::

Combined 2 example scripts with a bit of scripting to publish sensor data from 2 DHT11 sensors to a remote web-server using a GET request

webClient_dht -- doesn't work with error code in comments below
webClient -- works to post to web-server using a GET request
DHTtester1 -- works to read sensor data and concatenate floats to a string and return using Serial.println()

EtherCard version:: https://github.com/jcw/ethercard
DHT version:: https://github.com/adafruit/DHT-sensor-library
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Combined 2 example scripts with a bit of scripting to publish sensor data from 2 DHT11 sensors to a remote web-server using a GET request
But you're not going to share it?

Quote
webClient_dht -- doesn't work with error code in comments below
Below what?

Logged

Pages: [1]   Go Up
Jump to: