Avatar for Raik

Raik

Member since Dec 2019 • Last active Oct 2020
  • 11 conversations
  • 112 comments

Most recent activity

  • in Bangle.js
    Avatar for Raik

    @Raik is there any trick to it? eg movement?

    Not sure. I'm wearing it and I have wake on twist enabled. I uploaded the code and when I later checked the Web IDE it was disconnected. That's when I saw that my default watch face (Numerals) was loaded, but with a incorrect time, like 02:05.
    So it seems to reboot and "forget" the current time. Strange indeed. The Web IDE console did not show any error messages though.
    I also seems to happen very irregularly, now its running for over and hour working fine.

    BTW: I did not press any buttons in the meantime.

  • in Bangle.js
    Avatar for Raik

    ChangeLog from 2v07 says:

    Shrink new vector font sizes to allow multi-line use (fix #1873)

    related to this issue: https://github.com/espruino/Espruino/iss­ues/1873

    So yeah, I guess this is more or less intended behaviour.

  • in Bangle.js
    Avatar for Raik

    I can reproduce it. Uploaded your clock to my watch (only RAM) and it crashed 3 times now after different amounts of time.
    I'm on 2v07 btw.

  • in Bangle.js
    Avatar for Raik

    Which clock face are you running / can you share the code if it is a custom one?

  • in Bangle.js
    Avatar for Raik

    I think if .hide got called twice it could cause problems by the look of it.

    That seems to have fixed it. I did not have the issue since. :-)

  • in Bangle.js
    Avatar for Raik

    The download link to the apk file for the latest version 0.47.1 is this one: https://f-droid.org/repo/nodomain.freeyo­urgadget.gadgetbridge_180.apk

  • in Bangle.js
    Avatar for Raik

    Nice find thx. But wow, that somehow broke my watch, see screenshot.

    First the app loader showed this:
    ui.js:86 <TOAST>[error] Fullscreen Notifications update failed, Unexpected response

    Then after long press BTN3 and a long pause and retry to upload it showed this:
    ui.js:86 <TOAST>[error] Upload failed, Unexpected response Uncaught Error: File already written with different data

    I uploaded the log output from Chrome also. Let see if I can clean up the mess manually and start again.

    EDIT: ok, got it cleaned up and seems to work now. Not sure what happened there though.

  • in Bangle.js
    Avatar for Raik
    >g
    =undefined
    

    Hmm, it's undefined. I am running those widgets:

    >WIDGETS
    ={
      heart: {
        area: "tl",
        width: 0,
        draw: function () { ... },
        reload: function () { ... },
        x: 28, y: 0 },
      bluetooth: {
        area: "tr",
        width: 24,
        draw: function () { ... },
        x: 188, y: 0 },
      ram: {
        area: "tl",
        width: 24,
        draw: function () { ... },
        x: 28, y: 0 },
      batpc: {
        area: "tr",
        width: 40,
        draw: function () { ... },
        reload: function () { ... },
        x: 148, y: 0 },
      gbridgex: {
        area: "tl",
        width: 24,
        draw: function () { ... },
        x: 52, y: 0 },
      gpsrec: {
        area: "tl",
        width: 0,
        draw: function () { ... },
        reload: function () { ... },
        x: 76, y: 0 }
     }
    

    gbridgex is a custom gbridge widget, but worked fine in the past.

    I am also using notifyfs which seems to set oldg=g and then later oldg=undefined but also worked fine in the past.

    I am pretty sure it is one of the two, because it just happened to not refresh after displaying a text message on the watch.

    I will have to dig further on this one.

  • in Bangle.js
    Avatar for Raik

    Hi all,

    I got a problem with the Numerals app I can't explain. Occasionally it just stops updating the time at all. I finally had the oppportunity to right then connect it to the Web IDE.

    I get the following errors when the lcdPower-on event fires:

    Uncaught Error: Cannot read property 'setColor' of undefined
     at line 1 col 349
    ...undefined)drawFunc=drawFuncs.fill;g.c­learRect(0,24,240,240);drawNum(...
                                          ^
    in function "draw" called from line 1 col 76
    ...andom()*_hCol.length);draw();setUpdat­eInt(1);}else setUpdateInt(...
                                      ^
    in function called from system
     at line 1 col 2
    g.reset();
     ^
    in function "draw" called from line 2 col 26
         WIDGETS["ram"].draw();
                             ^
    in function called from system
     at line 14 col 4
      g.setColor(-1);
       ^
    in function "draw" called from line 2 col 30
      else WIDGETS["batpc"].draw();
                                 ^
    in function "update" called from line 2 col 11
       update();
              ^
    in function called from system
    

    Is the draw function from the numerals app somehow conflicting with the draw methods from the widgets? It worked fine before, not sure when it stopped working reliably.

Actions