Hello good people,
Had my first encounter with Ubidots, not using the library they published, I prefer to do the code manually so I know exactly what happens for debugging purposes. I got my test device - just a mega with SIM900 module - to send variable to ubidots, updates regularly without fail. Now I'm trying to get a value from one varible in the cloud in order to switch on pin13, html get request sends OK but the ubidots server does not respond. The only response I get is 408 (timout) a couple minutes after the request was sent.
Ubidots support says the syntax is received correct at their end (???) and that it must be with my device. After the request is sent it goes over to loop where it continually checks the SIM900 for a response. I know this part of the code is good because the same code works perfectly to receive the response from the server when I send a POST request.
Code below. Any ideas why the server ignores what I send?
PS: I realise there is a lot of use of Strings - please don't stone me about this, I'll address this as soon as I get the device to switch pin13 on and off