Python Script get last data from thingspeak channel and send to another server
$30-250 USD
Terminado
Publicado hace más de 8 años
$30-250 USD
Pagado a la entrega
This can be done in an hour, and it's quite simple:
I need a Python script running in a linux computer doing this:
1. Get last datapoint from 3 channels in a Thingspeak server, doing this:
[login to view URL]
The output looks like this:
{"channel":{"id":109,"name":"Channel 109","field1":"Temperatura","field2":"Humedad","field3":"Battery_Voltage","created_at":"2015-09-04T12:46:08-04:00","updated_at":"2015-09-25T10:59:25-03:00","last_entry_id":27382},"feeds":[{"created_at":"2015-09-25T10:59:25-03:00","entry_id":27382,"field1":"19.14","field2":"47.94","field3":"0.44"}]}
This with 3 channels.
2. Store in a local variable the "updated_at" of each channel so next time we check for new data we don't re-upload the same datapoint. The check must be done this way, because we can't compare the data itself, since it can be the same temperature or humidity level in the next datapoint, so check will be done with "updated_at" var
3. Process each output from the 3 channels to get the vars field1 field 2. So we get the following vars:
channel109_temperature
channel109_humidity
channel110_temperature
channel110_humidity
channel111_temperature
channel111_humidity
4. Upload the data to an external server, using the following format:
[login to view URL]
Where timestamp is in format YYMMDDHHmmss
and it's the current time when the data is being uploaded to the external server.
Hi! I have good experience in python programming. I think I can easily implement this task. I will deliver you clean and high quality code in due time,
Hi, I'm an expert Python programmer and I would like to do this job for you. I can write a script which downloads, reformats and uploads needed data. Should the script work in a loop or do the job only once? PS If the price is to high for you we can discuss it, thanks.
I am experienced python developer with over 5 years experience in developing applications . I develop web applications in flask and django. I have written scripts for web scraping also. I use python for machine learning, nlp and data mining tasks
This certainly can be achieved in an hours' time like you say. look forward working for this..
would like to know more details about the external servers.. backend...