You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • use curl -O https://www.espruino.com/modules/MQTT.min.jsto download that module and use this code to upload to storage.

    s = require("Storage");
    
    module=`
    <content of file MQTT.min.js>
    `;
    
    s.write("MQTT-S",module.replace(/[\n\r]/g, ''));
    
    

    Now you can use it like this:

    s = require("Storage");
    mqtt = require("MQTT-S");
    

    As this does not happen to often, I am fine with those manual steps ;-)


    1 Attachment

    • Bildschirmfoto 2024-04-19 um 22.49.57.jpg
About

Avatar for MaBe @MaBe started