ok.
so upgraded the firmware ( to 0.5.1). now im at @faweiz situation. only 0.0 on putty
should i go down to 2.1.2?
did go down stuck at 0.0 ( I don’t get package received like @faweiz did
ok.
so upgraded the firmware ( to 0.5.1). now im at @faweiz situation. only 0.0 on putty
should i go down to 2.1.2?
did go down stuck at 0.0 ( I don’t get package received like @faweiz did
No. Never downgrade the lib version. Now do you could upload the code via OTA?
yes. now i can flash OTA. (with bth new and old library)
@ouchboy I think i found the problem, i will try to fix it and test it in my electron. it’s a new error that before never happend. Give some minutes and i will fix it.
Best regards,
Metavix
@ouchboy,
By the way, meanwhile you can use:
getValue("your_variable_id")
Thank you for your report i will fix that as soon as possible.
Best regards,
Metavix
I am having the identical problem using v 2.1.9 of the Particle Ubidots library - values returned are always 0. I have no problem sending data. Perhaps I have the incorrect data source name - I have tried both the name I provided in the Dashboard (say myAlarm) or the Particle Photon device ID. Which is correct?
thanks David
I also get a 0 return using getValue(). In the dashboard variable4 is set to 65
thanks David
#include “Ubidots.h”
#define TOKEN “myToken here”
Ubidots ubidots(TOKEN);
void setup() {
Serial.begin(115200);
}
void loop() {
float value;
//value = ubidots.getValueWithDatasource(DATA_SOURCE_TAG, “variable4”);
value = ubidots.getValue(“variable4”);
Serial.print("data= ");
Serial.println(value);
delay(5000);
}