Hi all,
I seem to have the same problem. my electron never connects.
I’ve tried using tag, name, as well as the variable ID to no success. :/.
My electron gets stuck on breathing cyan.
edit:
ubidots library 2.1.6
this are the dashboard settings
any pointers?
thanks
faweiz
June 30, 2016, 3:25pm
25
@ouchboy try to add ubidots.setDatasourceName("box");
under Serial.begin(115200);
No success.
Result:
-Serial unresponsive
-Led breathing cyan
faweiz
June 30, 2016, 4:03pm
27
@ouchboy can you post a screenshot after you add above code to your project?
@ouchboy what version of the library are you using?
Best regards,
Metavix
@faweiz
here you go
@Metavix
interesting thing is that after i upload this particular code I can no longer flash OTA.
this only happens with getting values, sending values is working fine.
edit: thanks for the help guys. I wouldn’t bother you but im flying blind on this one.
@ouchboy
The led is breathing cyan or green?
@ouchboy
It is very strange. Green led is infinite loop, the code is stuck. But led cyan is connected to the GSM network. When you upload the code the led has another color before the cyan? or only green and then cyan?
well i have to put the device on listening mode. so starting from there
blinking blue
-magenta
-flashing led
-solid cyan for 2-3 seconds
-breating cyan
@ouchboy why listening mode?
upload over serial. I can’t upload OTA after i put the code in.
@ouchboy could you try to upgrade the electron firmware? or the electron firmware is in its latest version?
faweiz
June 30, 2016, 7:26pm
37
faweiz:
Thank you so much @Metavix for your help. My problem has solved now. I’ve tried the 2.05,2.06,2.1.0 and 2.1.1 library not of these working with function ubidots.getValueWithDatasource()
Only The 2.1.2 is working properly without any issues. Hope you can make a note to anyone else know.
Thanks for help.
@ouchboy Last time, I have this problem was by using the 2.1.2 library, you probably need to try to use this library and see if this work for you.
@Metavix
0.4.8 version. good catch. let me upgrade.
@Metavix
is there any way to do this without using the dfu util.?
@ouchboy
Here is the answer:
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)