Harry Bloomfield
Regular.
- Joined
- Oct 29, 2019
- Messages
- 238
- Reaction score
- 47
UPDATE....
I am seeing my iSpindel appear every 60 seconds in my main routers log in my loft, though I am actually connecting to my slave router on the ground floor. Obviously because it is such a transient connection, it doesn't appear as a connected device - the part which had me so confused yesterday.
I have now cut the diode on the WeBos, so was able to connect PUTTY to see what was going on, but I'm none the wiser. Here is the relevant part of the PUTTY output, which happens every 60 seconds. Does this suggest it is successfully connecting and sending the data please?
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
I am seeing my iSpindel appear every 60 seconds in my main routers log in my loft, though I am actually connecting to my slave router on the ground floor. Obviously because it is such a transient connection, it doesn't appear as a connected device - the part which had me so confused yesterday.
I have now cut the diode on the WeBos, so was able to connect PUTTY to see what was going on, but I'm none the wiser. Here is the relevant part of the PUTTY output, which happens every 60 seconds. Does this suggest it is successfully connecting and sending the data please?
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