Jump to content
Gen2 Devices: FW Update Required / Gen2 Geräte: FW-Update erforderlich ×

Scripts not working correctly: missing output in logs


xnd

Recommended Posts

With latest firmware:

"fw_id": "20240425-141453/1.3.0-ga3fdd3d",
"ver": "1.3.0",

Diagnostic data included below.

See:

GbN3ftg.png

 

Also with such version of the code:

  • print('start');
    
    function main() {
      var i = 0;
      while (i < 12) {
        i = i + 1;
        console.log(i);
      }
    
      print('end');
    }
    
    Timer.set(2000, false, main);

output:

 

dpdheP5.png

 

Also reproducible on other devices (Shelly Plus 1PM, Shelly Pro 4PM)

 

 

 

 

 

diagnostics-shelly-plusplugs-data.txt diagnostics-shelly-plusplugs-debug-log.txt

Edited by xnd
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Erstelle neue...