ubidots / ubidots-esp8266

Library for uploading ESP8266 devices to Ubidots
39 stars 28 forks source link

not able to send context data using sendTLATE function #4

Closed BJSingh closed 8 years ago

BJSingh commented 8 years ago

Sir, I have tried this new library for nodemcu and it works great. When i tried to send data using sendHTTP function i was able to send multiple data (5 variables) with context but it takes about more than 80 seconds for uploading data. But when i used sendTLATE function i was able to send multiple data in less than 20 seconds but was not able to send context data. I also tried by removing null from: void add(char variable_id, float value, char ctext = NULL); Also can you please explain how sendTLATE function is uploading data to Ubidots because i haven't found any data in Ubidots API documentation!!

sendtlate snapshot

Metavix commented 8 years ago

@BJSingh Tlate function also can send context, you just need to put the context like this: add("Variable_name", value, "$lat=1.2323$lng=1.3223");

The timing to send variables is very long, i will try to find any solution to that, thank you for the report. Best regard, Metavix

BJSingh commented 8 years ago

@Metavix Thanks, I tried and It's working!!