Smart Bike Lights (Data Field) / Bike Lights Control (Widget)

I've made two open source CIQ applications to control ANT+ lights:

- Smart Bike Lights (data field): https://apps.garmin.com/en-US/apps/0d9fd828-c932-4470-9c37-fd2828881888 

      Configurator: https://maca88.github.io/SmartBikeLights/ 

- Bike Lights Control (widget): https://apps.garmin.com/en-US/apps/fa3c2332-76e3-4ba1-8528-32a0fd617ab1 

     Configurator: https://maca88.github.io/BikeLightsControl/ 

Smart Bike Lights features:
- Automatic light control (Smart mode) based on the configured filters (sunset, sunlight, speed, ...)
- Manual light control (only for Edge devices with a touch screen or devices with CIQ 3.2 and more than 32KB memory)
- Records lights modes that are displayed in Garmin Connect

Bike Lights Control features:
- Manual light control (available to all devices)

Both applications can be installed on the same device, which can be useful for low end devices (e.g. Edge 520) where "Bike Lights Control" can be used to change light modes manually and "Smart Bike Lights" for automatic light control.

Currently registered ANT+ lights:
- Bontrager Ion Pro RT
- Bontrager Ion 200 RT
- Bontrager Flare RT
- Garmin Varia RTL500
- Garmin Varia RTL510
- Garmin Varia RTL515
- Garmin Varia HL500
- Garmin Varia UT800

in case your ANT+ light is not on the list you can help by doing the following:

1. Install Bike Lights Control
2. Pair your bike light with your Garmin device
3. Open the widget:
- Edge with a touch screen: post which numbers are displayed on the buttons and what mode each button represents when pressed
- Other devices: Select the "Light modes" menu and post which numbers are displayed in the menu and what mode each menu item represents when selected

Example for Bontrager Ion Pro RT:


1 -> High steady beam
2 -> Medium steady beam
5 -> Low steady beam
63 -> Day flash
62 -> Night flash

There are some features that could be possible to add in the future, but would require Garmin to add them to the CIQ api. In case you are interested in any of the below features, consider upvoting their feature request thread:

1. Control lights based on the ambient light sensor available on some devices:
https://forums.garmin.com/developer/connect-iq/i/bug-reports/ambient-light-sensor-api-access 

  • Hi,

    I am using following configuration on my 830+510

    ###0,73404416#2,2|RADAR:1:7:1I]-1]0|:1:0:1D=1##5,3:Varia 510|1,:-1|2,Solid:4,Off:0|2,Day Flash:7,Night Flash:6#B3122##2#0#0

    Everything works fine. Only I have noticed that in Smart mode or Manual mode, the car warning is somehow delayed then in Network mode. Warning just comes when car is already much closer, not giving the same time to react.

    Is this just my feeling?

  • Hi,

    I am using following configuration on my 830+510

    ###0,73404416#2,2|RADAR:1:7:1I]-1]0|:1:0:1D=1##5,3:Varia 510|1,:-1|2,Solid:4,Off:0|2,Day Flash:7,Night Flash:6#B3122##2#0#0

    Everything works fine. Only I have noticed that in Smart mode or Manual mode, the car warning is somehow delayed then in Network mode. Warning just comes when car is already much closer, not giving the same time to react.

    Is this just my feeling?

  • Hi,

    the control mode (Smart/Manual/Network) should not affect the native warnings. In Manual mode the bike radar api is not used, so there is no reason why would the delay be bigger than in Network mode. The bike radar api is only used in Smart mode and even that should not affect the native warnings delays. Unfortunately I cannot test this as I don't own a Varia light, so if there is someone else in this thread that is experiencing similar issues, please let us know.

  • Thanks so much for the great application. But I have a problem on my EXPLORER EDGE after switching on, the data field responds to touch and redraws the icon according to the mode, but then for the next change I have to go out of the data screen with this field and return to it again. Then she's fine. Do you have any idea what it could be?

  • for the next change I have to go out of the data screen with this field and return to it agai

    How is the next change made, by using the smart mode or by manually pressing the button on the light? Does this happen for every mode change or only ones in a while? 

  • It is when changing the mode using a data field and it happens every time the mode is changed. The mode switches once, the icon is not updated, then I have to jump out of the data screen and return to it again

  • That is really strange, Edge Explore should behave similar to my Edge 1000. What about full screen mode, does the light panel buttons change color when tapping on them?

  • It doesn't work in the widget either. I found that the data field only starts if its data screen is turned on. When I set the radar filter, the light will remain flashing even after the danger is over and I have to flash the screen again. It will probably be the EXPLORER EDGE property because similarly the data field for the TEMPE sensor (apps.garmin.com/.../2dcf9055-d7d7-4596-a8bb-cee883daa11f) is updated only after switching to the screen with this field . It is also interesting that if I turn on Control mode only, the field responds correctly, however, I still have to switch the mode or screen so that the light goes out after passing the radar danger.

  • It doesn't work in the widget either

    You mean that you have the same issues with Bike Lights Control?

    To me this seems like either a firmware or hardware issue. Do you have the latest firmware installed? In the simulator for Edge Explore the icons and buttons do change when tapping on them, so unfortunately I cannot do much here.

  • I'm using firmware 5.1 because the latest version 5.3 has a problem with REMOTE CONTROL (it has to reconnect after sleep). OK I'll probably try 5.3. I'll let you know, thanks a lot