Most recent activity
-
@tve - welcome back!
-
Hi,
Looking at your code above - the headers is not doing what you think it is... - the parameters need to be part of the path.
path: '/eb/belt/washington/tolls.json?orderBy=%22$key%22&limitToLast=1',
Without this you get 600k of data back and this is too much!
However - this is not the issue.
It looks like since the esp-idf version of the mBed TLS was added that https is no longer working... This simple case fails:
var http = require("http"); http.get("https://www.google.com", function(res) { res.on('data', function(data) { console.log(data); }); });
Added a new issue:
-
-
-
-
Isn't this because when the espruino starts its at time 0 - 1970 and then you are setting the time - so the intervals immediately expire?
What if you set the time first and then set the intervals?
@Gordon - any ideas?
You want to look at wifi.ping to an address on the Internet - depending on the response you can work out if you have an Internet connection