-
-
I think @halemmerich was involved in this development so I am mentioning him here.
-
Now that we have our own Bangle GadgetBridge I think it would be very useful to have
a console window like the one in the IDE so that you could type commands, runs bits of code and seen the output.The reason I suggest this is you cant be connected to GadgetBridge and the IDE at the same time. So if you want to see what is going on inside the Bangle when you need to be connected to GadgetBridge you can't.
This would be very useful when looking at GPS issues etc or indeed debugging messages apps etc.
What does everyone think, should I log a feature request ?
-
Its works on BW clock and BW clock Lite, SlopeClock+ but Not LCD clock or Simplest++.
I wrote Simplest++ as a testbed for Clock_info's to see how they worked.LCDclock has 2 clockinfo area's on the screen, basically the same code as SlopeClock++ yet I cant get the stop watch clock_info to show up in LCDclock.
-
So I have the Bangle Version of Gadget bridge installed and the Android integration app.
I am trying to figure out which app on the Bangle will receive a lat and lon from my phone without powering on the gps chip on the Bangle.
A bit more information on this.
In the
Android
App the README says.Overwrite GPS
- when GPS is requested by an app, this doesn't use Bangle.js's GPS but instead asks Gadgetbridge on the phone to use the phone's GPS.However its not entirely clear what
requested
means here as app does not request the GPS position it has to useBangle.on('GPS', func)
as a callback.I have noted that having this flag set means that no gps callbacks occur.
So how are apps mean't to work using the GPS position from gadgetbridge ? -
Hi I am vaguely aware that some work had been done to get GPS coordinates from GadgetBridge instead of the onboard GPS on the Bangle 2.
I'm just not sure how to use this and get it to work.
I thought there was some automatic detection that the GPS values were coming via GadhetBridge and therefore the
Bangle.on('GPS', func)
would return the phones GPS cooerdinates. I unsed the gpswidget to monitor if the gps was turned on at all.Can someone summarise where this work is at.
As no one appears to have managed to get the Bange 2 gps into low power mode or pedestrian mode I am intrested if this solution works.Thanks
Hugh -
-
type of "common" incompatibilities among devices can be registered/documented,
I think we need to start enforcing decent README files or asking for new Apps to be reviewed and tested. Maybe we should ask new apps to be announced on the forum using the developers own app launcher so they can be reviewed. The no 1 issue for me would be lack of a screenshot, with a good README file following close 2nd. Could that be made into a rule for a new app ?
-
-
ooh. I got something now. Maybe it would not connect as the Bluetooth connection from the chromebook was still connected after I flashed the firmware.
Interesting thing is that the temperature at first was almost 2 degrees out. But it does appear to have settled now. These devices tend to warm up when in your hands. IE the temp will go up as they detect the heat in your hands.
-
Mo Abrahams is the author - but I'm not sure if I've seen them on the forum?
I checked. No email address in Github so non-contactable.
I'm almost wondering if that should be a check-in test - ie if you cant be contacted about your checkin then maybe you should just not bother offering the code. Its a tricky one as you dont want to discourage contributions.
I was hoping I could have used this app to develop a clock_info for an external MI temperature sensor.
-
Definitel got the
pvxx
as I followed the link and specifically flashed it. The process was seemless and worked really well. Full marks to the people that did that work. I can connect through my Chromebook, I will give it a retry as it is always possble the chromebook held the connection. To get the menu you have to press the button to get it to pop up. I tried putting in some console.log to trace what was going on. Its defeinitely got some odd stuff going on like calling displayWidgets in the draw function etc. -
Sounds wonderful. We could do a residential weekend if there was a lot of interest. Is there a way to do polls in threads? My suggestion would be be somewhere near Birmingham. I know a good place that can host groups of 13,17,25,28. I am running something else at the location and doing it costed at £75 for the weekend, including a food budget. Two evening cooked meals could be shared out between 6 people, each bringing a meal for meat, vegetarian, vegan etc. I have organised such events before so I know it can be done if there is a willingness to all pull together. Maybe we should do an online meetup first.
-
@Gordon - anything wrong with the PR ? Maybe you have been away ?
-
I have been trying to catch a hang bug I see very rarely with my Lato clock.
I suspect that the problem is not down to Lato as the clock will run for days without issue
I was trying the mitherm app yesterday and that went offpiste and I had to reset the watch - so it might be associated with that. Prior to installling that app everything had been fine for 10 days or so. Theat could just be clutching at straws as I dont have a reproducable test case for this problem yet - its very random and rare.Last night I woke up at 5Am and noticed the clock said it was 2:37am - ie the hang had occurred.
This morning I managed to retrieve the log.txt file and can see the following.
The question is, what caused the MEMORY_BUSY ? and did that corrupt the app code ?
____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 2v16.93 (c) 2021 G.Williams > [JInterpreter error: [ "MEMORY_BUSY" ] New interpreter error: MEMORY_BUSY > [J-> Bluetooth <- Terminal > [JUncaught Error: Font bitmap must be a String at line 3 col 8328 in lato.app.js ...NDg0="),25+(scale<<8)+(1<<16));return this; ^ in function "setFontLatoSmall" called from line 3 col 8784 in lato.app.js g.reset().setFontLatoSmall();g.setBgColor(options.bg).setCol... ^ in function "draw" called from line 9 col 643 in clock_info options.draw(itm,itm.get(),options); ^ in function "drawItem" called from line 9 col 2867 in clock_info drawItem(menu[options.menuA].items[options.menuB]); ^ in function "redraw" called from line 3 col 8602 in lato.app.js ...,h/2);clockInfoMenu.redraw();if(drawTimeout)clearTimeout(draw... ^ in function "draw" called from line 3 col 8690 in lato.app.js drawTimeout=undefined;draw(); ^ in function called from system > [J-> Bluetooth
-
-
-
Anyone know if the author of the mitherm app is on this forum ?
I getting a blank screen. When I connect through the IDE I can see.
Uncaught Error: Module textinput not found at line 130 col 22 in mitherm.app.js require("textinput").input((mac in aliases) ? aliases[mac]... ^ in function "changeAlias" called from line 165 col 30 in mitherm.app.js changeAlias(macs[current]); ^ in function "b" called from line 1 col 79 ...if("function"==typeof b)b(m);else if("object"==typeof b)if("... ^ in function "select" called from line 1 col 78 ...a,{x:c.x,y:c.y+f-b.y-a*d.h})) ^ in function "p" called from line 1 col 17 e.handled||p(a,e) ^ in function called from system Scan complete.
-
-
@Gordon - I have done
https://github.com/espruino/BangleApps/pull/2549But see note in the comments as I am not sure I have covered all the bases correctly
I still see output to the screen when I select the option to log only -
-
do appear in the log. There are some caveats though
Ok, was not aware of that.
I bet when your app stops working it'll be because an exception was thrown
The problem is I have no idea when it fails, it hangs while I am asleep, I cant always remember to connect to the IDE to capture any output. It may not be my app that is the problem, it could be something else. I've not gone after the issue as it only happens infrequently. I suspect it is some sort of memory leak. I still think there might be issues with custom fonts being loaded, but its not yet proven.
I think the ability for exceptions to go to log.txt would be very handy.
Obviously privacy is an issue so it would have to be enabled by choice.We probably dont need full crash reporting (eg microsoft style) and general log (mostly rubbish) collecting, I think thats a bit OTT. I'm more in faviour of the 'keep it simple' design philosophy.
Happy to log this as a feature request.
-
Definitely interested. Even if we ended up with an alternative Vector font it would be worthwhile.
As you are probably aware, I'm a great fan of the Lato font as I find it attractive and clear.Even though I wear prescription glasses anything less than 20 height is fairly difficult for me to read. I used to have 20/20 vision 20 years ago.
-
I use a chromebook which runs ChromeOS (which is debian based I think).
Possibly try a reboot, in case that causes the Blutooth devices to be detected after the bluez package had been installed.
This article also shows that the Bluetooth device might be working but you you can still
get that error message from the scan command.
https://askubuntu.com/questions/1401495/bluetooth-works-but-hcitool-doesnt
I'm no expert on this stuff - I usually expect trouble when trying anything new with Linux.