View Single Post
  #6   Report Post  
Posted to uk.d-i-y
Harry Bloomfield, Esq. Harry Bloomfield, Esq. is offline
external usenet poster
 
Posts: 704
Default Wifi device intermitant connecting

Harry Bloomfield, Esq. wrote :
I only built it yesterday, so I was reluctant to start carving it up until I
knew it was working.


I bit the bullet and carved the back feed components off the WeBos PCB.

This is the relevant output of PUTTY, each time it wakes up each minute
to send a fresh batch of data...

It is supposed to be connecting to the Ubidots website, the site seems
to be suggesting that you just tell it I am using an iSpindel and it
will do the rest. I have changed the 'token', for obvious reasons...

calling Ubidots
{"tilt":83.74638,"temperature":24.375,"battery":4. 087591,"gravity":30.41856,"interval":60,"RSSI":-70}
Sender: Ubidots posting
POST
/api/v1.6/devices/Ispindel?token=BBFF-BOVvWDe84RjfbUG8Ds???9???fFlIl
HTTP/1.1
Host: things.ubidots.com
User-Agent: ESP8266
Connection: close
Content-Type: application/json
Content-Length: 101

HTTP/1.1 200 OK
Server: nginx
Date: Wed, 20 May 2020 12:08:16 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
Allow: GET, POST, HEAD, OPTIONS
Vary: Origin, Cookie

d1
{"battery": [{"status_code": 201}], "gravity": [{"status_code": 201}],
"interval": [{"status_code": 201}], "rssi": [{"status_code": 201}],
"temperature": [{"status_code": 201}], "tilt": [{"status_code": 201}]}
0