• My dear Espruino users,

    I have 2 Espruinos to monitor some temperatures and to set some relays for home automation. One wire communication for temperature sensors works like a charm. Thanks for all the great work!

    Unlikely I have one issue I can't sort out (and maybe I'm not the only one out here). I have connected the Espruino to my Raspberry Pi (as well as my ubuntu notebook before) and wanted to build a small webserver which outputs the sensor data as json object.
    As stated out in http://www.espruino.com/Internet the Espruino should have Internet on Linux (and Raspberry) out of the box.

    I used standard http server module:

    var http = require("http");
    http.get("http://www.espruino.com", function(res) {
      res.on('data', function(data) {
        console.log(data);
      });
    });
    

    but Espruino is telling me it has no internet connection. USB connection from Raspberry to Espruino is working > I'm able to set LED's and send Scripts via minicom to Espruino.

    I'm thankful for any advice.

    Dear Jack

    P.S. Raspberry itself has of course a working internet connection ;-) Just to be sure.

About

Avatar for user7249 @user7249 started