-
-
My build was about 2 years old, from when I originally committed the Docker image. I've got them configured in the old format, which looks like it ought to still work.
{ "12:34:56:78:90": "device-name" }
It is picking up the device names, because I still get the
ble/advertise/device-name
andble/presence/device-name
topics appearing. It's just than none of the individual services (battery, temperature, humidity) have the device name anymore.Here's one for my watch battery. There's a
180f
topic with the device name, and abattery
topic with the MAC address.ble/advertise/watch2/180f [48] ble/advertise/f9:7f:c4:fd:c4:7f/battery 48
Sounds like this might have been a regression at some point. I think it probably shouldn't publish to the MAC address topics, if you've given the device a name. Or do you think it should do both?
I'll see if I can have a look into this.
-
-
-
-
I get MEMORY_BUSY regularly. Pretty much any time I pick up the watch to put it on it will be showing that message.
This is what I've got installed. I just did an update on everything, so these aren't actually the versions I've been running.- Battery Level Widget (v0.09)
- Bluetooth ID Widget (v0.03)
- BLE GATT Battery Service (v0.01) - I wrote this, so might be the problem.
- Bluetooth Widget (v0.08)
- Lock Widget (v0.06)
- About (v0.12)
- GPS Time (v0.05)
- Health Tracking (v0.15)
- Bootloader (v0.48)
- Bluetooth Music Swipe Controls (v0.01) - Only installed this fairly recently, so presumably not the problem.
- Scheduler (v0.13)
- Alarms & Timers (v0.33)
- Anton Clock (v0.09)
- Settings (v0.49)
- Launcher (v0.14)
- Battery Level Widget (v0.09)
-
-
-
Hi. I got one of the @Feasycom FSC-BP119 Bluetooth dongles six months or so back. It's been working well, but a couple of days ago it seems to have completely stopped working. The blue light doesn't come on anymore, and it doesn't seem to be recogised by any computer I insert it into.
Has anyone else experienced this? Did I just get a bad one? I was thinking about ordering another, but is there something different I should try?Thanks,
Jonathan
-
-
-
Hi @Gordon. I saw your new GPS Time Server app. What's your usecase for that?
I was thinking about doing something the other way around: EspruinoHub implements the Time Service, and BangleJS has an app or boot code that receives the current time, if the time hasn't been set. But, like you said, the documentation is too difficult, so I gave up.
Do you think that's a good idea? It would save me from having to go outside to get the current time from GPS (not that the battery ever runs out since 2v07).
-
-
I think these are all the places where
clearInterval()
is called. Presumably they break all boot code or widgets that use an interval?https://github.com/espruino/BangleApps/blob/f17ddbc652385870a4975fc05a9f74ac3cbd921c/apps/largeclock/largeclock.js#L201
https://github.com/espruino/BangleApps/blob/2bbecfc7f3b22dfecd3dd304d1ba028cf445e519/apps/alarm/alarm.js#L3
https://github.com/espruino/BangleApps/blob/a8953f40ea88f5b71dddb885c2495c96c57282cd/apps/trex/trex.js#L160
https://github.com/espruino/BangleApps/blob/81b5d5e8e2717c9649ee71e1604bd01c6433a30a/apps/pong/app.js#L401 -
-
-
-
Hi. I have BLE GATT Battery Service installed, but I'm finding that it doesn't always work. If I'm clicking around Settings it's fine, or of I leave the watch on Morphing Clock it's fine, but if I leave the watch on Large Clock it doesn't work.
Does an app have to do something to make sure boot code continues to run in the background?Thanks.
-
Thanks. Yes, I'm using WiFi currently. Maybe I can try using a separate WiFi dongle, and see if that improves the Bluetooth? I wouldn't have thought to do that. I've got a spare one I can try.
I found it was pretty hard to buy long range Bluetooth LE dongles anywhere.
I spent a while looking into it and found a couple of things on eBay, but there's no way of knowing how much, if any improvement I'll see.
I guess I'll try the separate Wifi dongle, and if that doesn't work I'll probably just get the one you're selling. Thanks.
-
Hi. I'm hoping to be able to increase the range on the Raspberry Pi Zero that I'm running EspruinoHub on. And that should mean I can place devices further away, right?
Is the dongle being sold in the Espruino store the best option? Does anyone have any experience of it making an improvement to their range? Or are there other options?
Thanks.
-
@parasquid thanks for explaining that. I totally missed it, somehow.
I guess I need to find those parts for the potential divider. I'll report back if I get something working...
-
-
-
I've got an MDBT42Q connected to a LiPo battery. Is there any way to calculate the percentage of the battery that's remaining? The build-in function only works for Puck, Pixl and Bangle.
Can I do something similar to what they have?
JsVarInt jswrap_puck_getBattery() { JsVarFloat v = jshReadVRef(); int pc = (v-2.2)*100/0.6; if (pc>100) pc=100; if (pc<0) pc=0; return pc; }
Thanks.
I expect you're right. The temperature thing is annoying, but probably not worth changing.
I found the topics that use the MAC address in the name, and changed them to use device name.
https://github.com/espruino/EspruinoHub/pull/109