Hi Guys, first of all: great work, my sparks arrived last week, and now I’m fiddling around!
What I have to do is posting analog readings to my couchdb server…
I did this with my RPi, and played with arduino ethernet shield successfully …
Due to no ethernet available at the target location, i thought spark was the best solution at now.
my target url is only reachable via DNS, not via IP, so I failed while playing with TCPClient…
In ‘curl-speach’ all what I have to do is:
curl -X POST -H “Content-Type: application/json” http://admin:xxxxx@mycouchserver.com:5984/dbname -d ‘{“type”:“emonLog”,“value”:“1234”}’
any hints or ideas?
thx in advance
Pitt