Thank you so much for the advice. Some days ago I tried to make my own code and it became a little complicated but after some tests, it works, although sometimes the requests didn’t work and I received incomplete pack, or lost the communication with server Ubidots.
However, I’ll wait for your ad and compare both codes. If my sketch works completely, I will not hesitate to share it.
Again, thanks for all.
My best wishes,