• 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.

  • That bit about Espruino running on Linux/Raspberry Pi having internet access refers to running the Espruino firmware on that platform, not on an Espruino board connected to that platform.

    To get internet access on an Espruino board (or other platform other than linux/RPi), you need a CC3000 or WizNET Wiz550io network adapter.

  • Thanks for your ultra fast answer!
    Sorry I completely misunderstood this information about access via linux/raspberry.

    Now everything is clear.

    Thanks very much! All the best.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Espruino has no Internet Connection on Linux/Raspberry

Posted by Avatar for user7249 @user7249

Actions