July 27, 2015
I have a sensor that measures electric parameters.
When I ask this sensor via web this XML petition:
I get this response (Note I changed < by [ and > by ] in the response in order to show it in the forum):
[values][variable][id]EDS BRIO.PM1 - General.API[/id][value]55.200000[/value][/variable][/values]
That means that the variable of electric power
EDS BRIO.PM1 - General.API
has the value
How can I use the APP ThingHTTP to get this information from the sensor to Thinkspeak?
I have tried hard, but I have not been able.
I don't know what to put in every field of the configuration of the APP Thinkspeak.
Any help will be wellcome
January 29, 2014
Sadly there is currently no way to retrieve information from a URL and store it direct to thingspeak- this is something that many people wish for.
You can use thinghttp to fetch the URL and extract the data from the XML but there is no way to store that except via a 3rd program such as an arduino or other computer.
You may be able to sign up for the free tier at a service like openshift or heroku and make a small program that will retrieve the data from your sensor and store it to thingspeak.
July 27, 2015
Shame... as I readed this http://community.thingspeak.com/forum/thingspeak-apps/parse-json-data-with-thinghttp/ I thought that it was posible...
I've tried heroku and openshit but are to hard fir me... I'm nit a programmer and my perl/php/html knowleng are very poor.
January 19, 2011
It is possible to perform this task using the MATLAB Analysis App and the MATLAB function 'urlfilter'.
There are two example templates that go through the processes of scraping a data value from a website, performing some processing, and storing the value into a Channel using the MATLAB function 'thingSpeakWrite'.
The documentation contains more information about how to use each of these MATLAB functions.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:Richard, naturepur, Nimper, firstname.lastname@example.org, projectid030, mrlee234
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457