You are reading a single comment by @Ollie and its replies. Click here to read the full conversation.
  • Looks like a great project.

    A couple of gotchas to watch for, some might be problematic.

    ESP8266 build of Espruino doesn't support TLS so you won't be able to call HTTPS endpoints. If you are having success it "might" be that ESP8266 is using the HTTP schema and the endpoint you are using is available on both. One to check.

    Both ESP32 and Espruino Wifi have the resources needed to support TLS.

    Another potential problem is available space. ESP8266 is quite constrained you can run out of both flash and sometimes RAM when handling your http response data if the pages are large.

    Websocket & MQTT are other communication options supported in Espruino (above caveats re TLS still apply) and which would seem to fit your use case. The former works with Firewalls because it's using the same ports as HTTP/S and the latter usually works unless outbound connections are blocked, which isn't usually the default.

About

Avatar for Ollie @Ollie started