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,

    You're right, there was something wrong with the numbers for ION 200 (I omit "0" as I believe it's for "off" and I don't see it on the screen):

    ION 200: 1, 2, 5, 8, 63

    Flare RT: 1, 5, 7, 8, 63

    After a factory reset of ION 200 I see the numbers you provided.

    I didn't mention it but I tried reconnecting them (so I did a factory reset for both) before my comment - unfortunately it failed to get the app to work properly. now it works! thank you!

  • Hello maca88

    I have just installed your widget Bike Lights Control on an Edge 1030. Thanks for all the work you put into it.

    My lights are a Bontrager Ion Pro RT and a Flare RT. Things seem to work fine so far except for the default light mode the lights start in when starting a new activity.

    The Ion Pro RT starts in high beam steady while the Flare RT starts in Night Flash mode. Is there a way to set the default / start mode for both lights to Day Flash?

  • Hi) try my config, only change sensor ids for lights. Day flash from sunrise to sunset, rear flash and front solid according speed.

    1,1!OnOff:1H}2#4587520,196641::1#9,5!LOW:2:5:0:0C{4.16667Es0,r0!MEDIUM:3:2:0:0C]4.16667C{6.94444Es0,r0!HIGH:2:1:0:0C]6.94444Es0,r0!DAY:1:63:0:0Er0,s0!:1:63:0:0D=1#6291461,1409482753::1#4,4!BRAKE:1:1:0:0A[-10!DAY:1:7:0:0Er0,s0!NIGHT:1:63:0:0Es0,r0!:1:7:0:0D=1#7,6:Ion Pro RT:0:16777215!2,:-1,Off:0!1,High:1!1,Medium:2!1,Low:5!1,Day Flash:63!1,Night Flash:62#7,6:Flare RT:0:16777215!2,:-1,Off:0!1,Day Steady:1!1,Night Steady:5!1,Day Flash:7!1,All-Day Flash:8!1,Night Flash:63#1:47715:47983#0:0#13!:13!#0#0#B3843#1#1#0#0

  • Thanks, but I intentionally decided to use Bike Lighs Control and not Smart Bike Lights. Can I still use the same configuration string?

    I also have a hard time identifying the lights' serial numbers in your string. Even in the configuration string that I got from the Light Configurator I only see one serial number I entered. The other serial no. is not identifiable to me.

  • You must load this configuration in Smart bike light configurator (not bike light control configurattor) and you’ll see all ids. And you can’t use this config in Bike light control because it hasn’t smart features (see first message in this topics with difference between data field and widget)

    Smart Bike Lights features:
    - Automatic light control (Smart mode) based on the configured filters (sunset, sunlight, speed, ...)
    - Manual light control…..

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

  • 47715:47983 (Ion pro:ion flash rt)

  • Thanks. But those are ANT+ IDs not the serial numbers of the units, right?

    When I entered the ANT+ IDs in the Light Configurator the lights were not identified / connected by the widget.

  • The Ion Pro RT starts in high beam steady while the Flare RT starts in Night Flash mode. Is there a way to set the default / start mode for both lights to Day Flash?

    As already mentioned by , this is possible only with the Smart Bike Lights data field. With Smart Bike Lights you can use the following configuration that will start both lights in day flash when the activity is started:

    1,1!:1H]0#4587520,196641::1#1,1!:1:63:0:0D=1#6291461,1409482753::1#1,1!:1:7:0:0D=1#7,6:Ion Pro RT:0:16777215!2,:-1,Off:0!1,High:1!1,Medium:2!1,Low:5!1,Day Flash:63!1,Night Flash:62#7,6:Flare RT:0:16777215!2,:-1,Off:0!1,Day Steady:1!1,Night Steady:5!1,Day Flash:7!1,All-Day Flash:8!1,Night Flash:63#0::#0:0#123!:123!#0#0#B2713#1#1#0#0

    Make sure that both lights are in "Smart" mode, otherwise it will not work.

    ut those are ANT+ IDs not the serial numbers of the units, right?

    Yes, that's right. If you don't have any connectivity issues with your lights then you don't need to use "Individual Light Network". Also, you can leave the serial number empty, there is no need to set it if you don't have multiple headlights or taillights.

  • Unfortunately, it is with these lights that you need to use the individual network, because these lights are constantly disconnected from the Garmin network and are no longer detected. Everything works perfectly with your individual network option! However with Varia ut800 Garmin network work well…sounds like diversion from Garmin))

  • I use Bontrager lights for a year and watching this conversation for the same time, and my lights are not reliably connecting in Smart Bike Lights / Garfmin / Bontrager app mode for the whole time. It's frustrating. Also after each charge, they get deeply disconnected and battery status wrong, so a very big ceremony is needed every time. Like an hour of play, deep resets (long press button for 20 seconds WHILE charged), til it gets connected.