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 

Known issues:

1. Unable to use Tempe Visualizer or TyreWiz Data Field alongside Smart Bike Lights:
https://forums.garmin.com/developer/connect-iq/i/bug-reports/lightnetworklistener-onbikelightupdate-not-called-when-certain-data-fields-are-installed

  • ahoj mám tohle nastaveno :#1074,358879792::1:267911168,0#3,3!Den:1:4:1:0Es-1200,r900!Noc:1:3:1:0Es-1200,r900!:1:6:0:0D=1#0,73535488::1:#3,3!NOC:1:6:1:0Es-1200,r900!RADAR:1:7:1:0I]-1]0!:1:0:0:0D=1#11:AT 1600!Off:0!Low:51!Medium:52!High:53!Day Flash:54!Night Flash:55!Breathing:56!Custom 1:57!Custom 2:58!Custom 3:59!Custom 4:60#4:Varia 515!Off:0!Solid:4!Day Flash:7!Night Flash:6#0::#0:0#0#0##B4061#14#3#0#0

    chtěl bych jen změnit režim předního světla na nízké a pomalé blikaní a to mi nejde. 

    Můžeš pomoci? 

    Moc děkuji David

  • Is the SBL and MyBikeTraffic data fields supposed to co-exist simultaneously? I am having problem running both at the same time on the 1040 solar. Right now, it's an either SBL or MyBikeTraffic.

  • Does it work if you remove Varia from the configuraton?
    By using this:
    #4587520,196641::5614335:#4,4!Off:1:0:0:0H{2!Night:1:2:0:0Es0,r600!Day:1:0:0:0Er0,s0!:1:0:0:0D=1###6:Ion 200 RT!Off:0!High:1!Medium:2!Low:5!Day Flash:63!Night Flash:62##0::#1:0#0#0##B3121#2##0#0

    If you still get Error 3, you will need to perform a factory reset on the ION 200 RT. In rare cases, Bontrager lights can display Error 3 when the configured light modes have been changed.

  • I realized my issue the subsequent day. User error. It was not in "S" mode.

  • Filtr „Den“ je špatný, zde je správná konfigurace:

    #1074,358879792::1:267911168,0#3,3!Den:1:4:1:0Er900,s-1200!Noc:1:3:1:0Es-1200,r900!:1:6:0:0D=1#0,73535488::1:#3,3!NOC:1:6:1:0Es-1200,r900!RADAR:1:7:1:0I]-1]0!:1:0:0:0D=1#11:AT 1600!Off:0!Low:51!Medium:52!High:53!Day Flash:54!Night Flash:55!Breathing:56!Custom 1:57!Custom 2:58!Custom 3:59!Custom 4:60#4:Varia 515!Off:0!Solid:4!Day Flash:7!Night Flash:6#0::#0:0#0#0##B4061#14#3#0#0

  • Is the SBL and MyBikeTraffic data fields supposed to co-exist simultaneously?

    With latest version of MyBikeTraffic it is not possible to use it in combination with SBL when using Varia RearViue 820 in Secure Bluetooth mode, because both data fields do want to establish an ANT+ connection to the radar and only one will be able to do it.

  • Díky . Testnu a dám vědět 

  • I have one question. The Varia 820 shows the threat as green, orange and red on the Edge screen. I thought that in the SBL configurator it corresponds to the Vehicle thteat none, medium and high option. I set the configurator to flash if the threat is greater than or equal to medium. But the radar flashed even when the threat was green. Do the threat levels in the configurator correspond to the levels displayed on the screen?

  • Hi, I just checked the modes for my iGPSport SR mini:

    2: High Intensity

    3: Medium Intensity

    6: Night Flash

    7: Day Flash

    63: Custom (as set in the iGPSport companion app, chosen intensity as steady or flash)

    62: Comet Flash 

    61: Waterfall Flash

  • Any idea why the Smart Bike Light data field eventually failed - this happened on the two consecutive days I tested SBL - during a ride and that it also caused other ConnectIQ data fields to fail as well? Insufficient memory? This is an Edge 1040 Solar and SBL was configured to manage a Garmin RearVue 820.