-
-
This could help too: HomeAssistant exposes an api such that its easy for other apps or widgets to send custom triggers to home assistant:
ha.sendTrigger("MY_CUSTOM_TRIGGER")
. So in your widget you could easily check if its charging and above a certain level and send a trigger to stop charging (I currently use mystrom in HA) -
Regarding the hanging tapping bug -- I guess its due to my lock heuristic where I try to prevent taps whenever the previous info was not shown yet -- otherwise it can happen that e.g. alt. is drawn above the next info...
I will also work on this and refactoring into a module will fix both, AI and BW.
Thanks for your reports it really helps a lot to improve it and I really like to maintain and improve my clocks :D
-
BW clock writes settings when you exit the clock, but when it hangs there and you exit it will try to start there again... I will look into this when I have time, unfortunately I'm a bit busy right now :/
I will also try to refactor this interaction into the module such that it can be used by BW and AI clock :)
-
Thanks a lot!
And sure, if it happens again or if I'm able to reproduce it I will let you know :)qmsched
is not installed on my Bangle -- this is the list of apps that I have on my Bangle in case it helps:health, widlock, linuxclock, lcars, agpsdata, swp2clk, ptlaunch, bwclk, weather, hrm, ha, sched, smpltmr, info, agenda, widminbt, widbata, widChargingStatus, pebble, android, neonx, 93dub, scicalc, spotrem, kbmulti, messages, aiclock, antonclk, widmsggrid, boot, slopeclock, launch, setting, widpa
-
Oh wow it definitely feels much faster now and I love your new slopeclock! Looks really really great and the animation is really smooth :D
Nevertheless, I think I found one little issue -- but I'm not 100% sure if its the settings app or the firmware update: I can no more open the LCD settings -- I already tried to re-write the settings, I tried an older settings version (0.49) and I removed the setting.json file completely, but I always get the following error (read via Web IDE):
Uncaught Error: Cannot read property 'wakeOnBTN1' of undefined at line 29 col 630 in setting.app.js ...N1':{value:settings.options.wakeOnBTN1,format:boolFormat,onc... ^ in function "showLCDMenu" called from line 14 col 127 in setting.app.js showLCDMenu() ^ in function "b" called from line 1 col 79 ...if("function"==typeof b)b(l);else if("object"==typeof b)if("... ^ in function "select" called from line 1 col 52 c.y<a.y-4||(b=k(c.y),(0>f||0<=b)&&b<d.c&&d.select(b)) ^ in function "p" called from line 1 col 17 d.handled||p(a,d) ^ in function called from system
Update1: I also downloaded the setting.json file if it helps as it seems that some props are missing in my settings.json file.
Update2: If I manually upload the "settings.min.js" file from the setting github repo everything works fine again. So not sure if only my Bangle was corrupted but I found it a bit strange that rewrite settings did not help... -
-
-
-
I just bought this one here (https://amzn.eu/d/8yOLW6a) for my blue bangle and I really like it. IMO also the color looks very similar:
-
-
-
Hi all,
I just opened a PR for a new app that integrates your BangleJs into HomeAssistant (https://www.home-assistant.io/). So I can now use my BangleJs to open the door, toggle lights etc. All triggers are configurable for every user using the BangleJs store (set whatever you want). In the readme you can also find a detailed description of how to setup everything. When the "one-time-setup" is done it should be relatively easy to add new triggers etc.
Note that this app uses the really really cool new BangleJs Gadgetbridge App together with the HomeAssistant Android App -- but still it takes less than 1 sec. to toggle lights etc :D
You can already download the "pre-release" here:
https://peerdavid.github.io/BangleApps/?q=homeassistant -
-
-
Thats really weird. Honestly, I don't think it's the weather.json...
@Gordon Could it be that an exception is thrown in the "on exit" event and then the firmware calls "on exit" again which again raises an exception such that it is stuck in a loop (on exit -> exception -> on exit -> exception -> ...)? I could easily refactor this to save settings whenever something is changed rather than "on exit" in case this could be the problem and also try catch on exit which would probably a good idea in general... Otherwise I honestly have no idea how this could happen...
-
Wow thank you so much, just installed and it works great for me. I really love the app store integration :D
Only one minor thing to mention for others (sry could be that I missed this): To connect with the tiny weather app the package name (com.espruino.gadgetbridge.banglejs) must be set in the settings of the weather app (settings->gadgetbridge support -> package name). Now this sync also works fine :D
-
-
-
@Sir_Indy For me its also totally fine if you simply open a PR and mention me, then I can have a look but I'm sure its fine :)
-
-
-
-
I just implemented this for LCARS: If widpedom is installed, steps are used from this widget. If not then the Bangle health status is used.
If you want to read steps from widpedom with js you can call
WIDGETS​.​wpedom​.​getSteps​(​)​
. But ensure that widgets are loaded before this line is called...
For HRM I think its now possible to select "update only on click". But I think the same would be nice for the steps -- I think they are also updated quite often.