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,

    the configuration that you provided should work with ION 200 RT and Varia 510 as the headlight is correctly set to ION 200 RT. If you have a configuration for UT800 + Varia 510 that you want to use with ION 200 RT, just paste it and I can modify it.

  • Thank you. In meantime, I figured out my problem's solution. Because I have two headlights, I thoutht I can use one data field to control them both using primary and secondary config. But I found out I need to use Smart Bike Lights#2 to control second headlight.

  • Hello there, I am using the "Smart Bike Light (Data Field) for several weeks now, and like it very much. Beside the fact sometimes I am forgetting to turn the switch from "M" to "S" for the radar , but that is my fault I shall have my reading glasses always with me.

    Looks like with some recent updates you swap the Left and Right side ligths configuration around? and I just noticed that only recently when there were no light duration log in the GC.

    That would be a nice option if I could at least colour code the front light and the rear radar light different or to make the bottom icons bigger and more recognizing? Because YES there is a name at the very bottom of the screen but so small can't see w/o my reading glasses (and btw why would I take my reading glasses with me for bike riding)...

    I hope this is not too much to ask?

  • Ooh while we are making UI requests, I know we can change colour of the vertical line between front/rear light, but can I also ask for a 'no line's or transparent option? Makes it easier to matchJoy with different coloured activity profiles Joy

  • Hello, that's a good idea to have different colour for the tailight and the headlight on the screen. I was always confused which one is the taillight or headlight during the ride, that's why I always turned on first the taillight(Varia RTL515) then turned on the headlight(Varia UT800), so in this case, on the left screen is the taillight and on the right headlight. So any change that make it easier to know which one is the taillight or headlight from the screen is welcomed, and that would be great.

  • Hi, it's really hard for me to understand how to correctly configure taillight to be off during daytime and flash only when car / fast object approaches.

    I had configuration that made taillight flash when car approaches on medium speed but fast car did not trigger flashing.

    I tried to change operator for threat from "Equal to" to "Greater than" but radar flashing was not triggered. When I tried to add another filter like this

    still no luck.

    What is correct setting for radar flashing to be triggered everytime something approaches?

    Thanks in advance.

  • Looks like with some recent updates you swap the Left and Right side ligths configuration around?

    I didn't released any new version recently. Most likely you accidentally switched the "Invert lights" setting. You can revert back by either using Garmin Express/Garmin Connect applications or use the built-in app settings editor in case you have an Edge touchscreen: https://github.com/maca88/SmartBikeLights#built-in-app-settings-editor 

    just noticed that only recently when there were no light duration log in the GC.

    This is also an app settings that you can enable/disable and most likely you disabled it.

    That would be a nice option if I could at least colour code the front light and the rear radar light different

    I can add a settings to select a color for each light that will then color the active light mode button when in full screen mode and the light icon ("D" symbol) when not in full screen mode. I will add this feature most likely next week as I will have more free time.

    or to make the bottom icons bigger and more recognizing?

    If you mean by increasing the text and the battery icon below the buttons, unfortunately there is not enough space to make them bigger when two lights are paired.

  • I also ask for a 'no line's or transparent option?

    Sure, I will add a setting for this too.

  • I had configuration that made taillight flash when car approaches on medium speed but fast car did not trigger flashing.

    If you want to flash for all approaching vehicles change the Threat operator to "Greater than None".
    If you want to flash only for fast approaching vehicle change the Threat operator to "Equals to High".

  • Thank you. But what about this warning? 

    NOTE: It is recommended that Threat operator is set to avoid None (e.g. "Greater than None") as otherwise it will match targets that are not displayed on the Garmin device.